-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add unary sharded sweeps #15300
Add unary sharded sweeps #15300
Conversation
8871c6c
to
0a72c2f
Compare
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.
Please run these new sweeps in the pipeline before merge.
@amalbasaTT can you replace |
tests/sweep_framework/sweeps/eltwise/unary/hardshrink/hardshrink_sharded.py
Outdated
Show resolved
Hide resolved
tests/sweep_framework/sweeps/eltwise/unary/hardtanh/hardtanh_sharded.py
Outdated
Show resolved
Hide resolved
tests/sweep_framework/sweeps/eltwise/unary/heaviside/heaviside_sharded.py
Outdated
Show resolved
Hide resolved
tests/sweep_framework/sweeps/eltwise/unary/hardswish/hardswish_sharded.py
Outdated
Show resolved
Hide resolved
0a72c2f
to
c16e3c0
Compare
@umadevimcw done |
f44a51f
to
154f292
Compare
e68aeba
to
c2dfe37
Compare
@mywoodstock Could you take a look at changes done to create_sharded_memory_config_ inside ttnn/ttnn/core.py? |
c9089c4
to
06caf1d
Compare
Ticket
Link to Github Issue
Problem description
gen_sharded_spec_unary
needs support for generating input spec when parametertile_layout
of a functionttnn.create_sharded_memory_config_
is set toTrue
input_layout == "ROW_MAJOR_LAYOUT"
andshard_orientation == "COL_MAJOR"
andinput_shape[-1] % input_shape[-2] != 0
.What's changed
Pass rates for all sharded sweeps:
sweeps/eltwise/unary/frac/frac_sharded.py
: 114 fail, 462 pass (80.208333%).sweeps/eltwise/unary/hardshrink/hardshrink_sharded.py
: 295 fail, 473 pass (61.588542%).sweeps/eltwise/unary/hardsigmoid/hardsigmoid_sharded.py
: 174 fail, 594 pass 768 (77.34375%).sweeps/eltwise/unary/hardswish/hardswish_sharded.py
: 174 fail, 594 pass (77.34375%).sweeps/eltwise/unary/hardtanh/hardtanh_sharded.py
: 174 fail, 594 pass (77.34375%).sweeps/eltwise/unary/heaviside/heaviside_sharded.py
: 144 fail, 624 pass (81.25%)sweeps/eltwise/unary/isfinite/isfinite_sharded.py
: 147 fail, 832 pass (84.984678%).sweeps/eltwise/unary/isinf/isinf_sharded.py
: 979 fail, 0 pass (0%).sweeps/eltwise/unary/isnan/isnan_sharded.py
: 979 fail, 0 pass (0%).sweeps/eltwise/unary//isneginf/isneginf_sharded.py
: 979 fail, 0 pass (0%).sweeps/eltwise/unary/isposinf/isposinf_sharded.py
: 147 fail, 832 pass (84.984678%).sweeps/eltwise/unary/lgamma/lgamma_sharded.py
: 384 fail, 0 pass (0%).sweeps/eltwise/unary/logit/logit_sharded.py
: 68 fail, 316 pass (82.291667%).sweeps/eltwise/unary/mish/mish_sharded.py
: 174 fail, 594 pass (77.34375%).sweeps/eltwise/unary/multigammaln/multigammaln_sharded.py
384 fail, 0 pass (0%).sweeps/eltwise/unary/softshrink/softshrink_sharded.py
: 208 fail, 944 pass (81.944444%).sweeps/eltwise/unary/tril/tril_sharded.py
: 66 fail, 318 pass (82.812%).sweeps/eltwise/unary/triu/triu_sharded.py
:68 fail, 316 pass (82.291667%).sweeps/eltwise/unary/trunc/trunc_sharded.py
: 174 fail, 594 pass (77.34375%).Checklist