-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add BFloat16 support for logsigmoid, hardsigmoid, hardshrink, softshrink, hardswish and softplus on CPU #63134
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
Conversation
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 2b830af (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
1a97e8f to
06774a8
Compare
|
Please add benchmarks comparing float and bfloat kernels for various input sizes. |
|
Rebased @VitalyFedyunin. Single socket (28 cores) performance is tested on Xeon(R) Platinum 8180 @2.5 Ghz. |
343e903 to
55c7313
Compare
Codecov Report
@@ Coverage Diff @@
## master #63134 +/- ##
==========================================
+ Coverage 66.37% 66.64% +0.26%
==========================================
Files 739 707 -32
Lines 94299 92346 -1953
==========================================
- Hits 62595 61540 -1055
+ Misses 31704 30806 -898 |
423a004 to
12cf17d
Compare
9c7be87 to
52285d1
Compare
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slowFor more information, please take a look at the CI Flow Wiki. |
|
Hi @VitalyFedyunin |
3bec7d6 to
4468b97
Compare
7985dde to
daba39a
Compare
f1267f0 to
6698e91
Compare
|
Hi @VitalyFedyunin, could you please review it ? Thank you. |
1f7f3ab to
9fc52bc
Compare
|
Build started for merge commit. |
…ink, hardswish, and softplus on CPU
|
@frank-wei has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…ink, hardswish and softplus on CPU (#63134) Summary: Add BFloat16 support for logsigmoid, hardsigmoid, hardshrink, softshrink, hardswish and softplus on CPU, and optimize the performance of softshrink. Pull Request resolved: #63134 Reviewed By: yinghai Differential Revision: D34897992 Pulled By: frank-wei fbshipit-source-id: 4c778f5271d6fa54dd78158258941def8d9252f5


Add BFloat16 support for logsigmoid, hardsigmoid, hardshrink, softshrink, hardswish and softplus on CPU, and optimize the performance of softshrink.