-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【PaddlePaddle Hackathon 4 No.49】:为 Paddle bce_loss 支持 float16 数据类型 #50930
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c8ae296
untracked files
thunder95 6aa02f0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 d599110
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 264894d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 98d1e1c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 b958122
Merge branch 'develop' of https://github.com/thunder95/Paddle into de…
thunder95 760e099
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 e16076d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 85169ee
bce_loss_fp16
thunder95 c7560fe
remove unused files
thunder95 085c7a6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 b1edf68
Merge branch 'develop' of https://github.com/thunder95/Paddle into de…
thunder95 f2887e5
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 6a62308
Merge branch 'develop' of https://github.com/thunder95/Paddle into de…
thunder95 6620e88
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 e4134d9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 29929ba
Merge branch 'bce_loss_fp16' of https://github.com/thunder95/Paddle i…
thunder95 812c917
back max_rel_erro still big
thunder95 4793749
simplify code
thunder95 b50ec23
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 96b73f9
upd
thunder95 e598009
fix max_relative_error
thunder95 68e544f
fix max_relative_error
thunder95 82adc55
restart ci
thunder95 0f96491
Update test_bce_loss.py
895c3d5
Merge branch 'bce_loss_fp16' of https://github.com/thunder95/Paddle i…
thunder95 2df50b2
Update test_bce_loss.py
c9d5fc2
Update test_bce_loss.py
9afb5e6
Update test_bce_loss.py
b9fc6df
try to pass test
thunder95 f8a3c2b
merge
thunder95 a8616ca
restore file
thunder95 73071c0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 ec9249d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
thunder95 796c276
remove error value
thunder95 72bd515
fix bug
thunder95 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eps的问题,36行,1e-12在fp16表示下会下溢出为0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已做调整,不知道是否可以这样写。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里可以简化一下代码?one和eps作为成员变量,初始化为MT类型。原来的构造函数可以删掉了