Repository navigation
Conversation
``` test_name='mm', mesh_name='mesh_6d', orig_t=0.23 single_t=0.23 slowdown=1.01x len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', orig_t=0.05 single_t=0.05 slowdown=1.03x len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', orig_t=0.01 single_t=0.01 slowdown=1.03x len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=1.04x len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=1.05x len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=0.99x len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', orig_t=0.00 single_t=0.05 slowdown=839.03x len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', orig_t=0.00 single_t=0.01 slowdown=256.06x len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', orig_t=0.00 single_t=0.00 slowdown=83.91x len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=26.35x len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=8.01x len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=2.65x len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/168116
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 87b475d with merge base e3f24fd ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
``` test_name='mm', mesh_name='mesh_6d', orig_t=0.23 single_t=0.23 slowdown=1.01x len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', orig_t=0.05 single_t=0.05 slowdown=1.03x len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', orig_t=0.01 single_t=0.01 slowdown=1.03x len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=1.04x len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=1.05x len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=0.99x len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', orig_t=0.00 single_t=0.05 slowdown=839.03x len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', orig_t=0.00 single_t=0.01 slowdown=256.06x len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', orig_t=0.00 single_t=0.00 slowdown=83.91x len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=26.35x len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=8.01x len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=2.65x len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 02e0b99 Pull Request resolved: #168116
This PR needs a
|
``` test_name='mm', mesh_name='mesh_6d', orig_t=0.23 single_t=0.23 slowdown=1.01x len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', orig_t=0.05 single_t=0.05 slowdown=1.03x len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', orig_t=0.01 single_t=0.01 slowdown=1.03x len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=1.04x len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=1.05x len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=0.99x len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', orig_t=0.00 single_t=0.05 slowdown=839.03x len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', orig_t=0.00 single_t=0.01 slowdown=256.06x len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', orig_t=0.00 single_t=0.00 slowdown=83.91x len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', orig_t=0.00 single_t=0.00 slowdown=26.35x len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', orig_t=0.00 single_t=0.00 slowdown=8.01x len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', orig_t=0.00 single_t=0.00 slowdown=2.65x len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 5d48b07 Pull Request resolved: #168116
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 5d48b07 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 27c27d5 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 6634635 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 81f0a4f Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 60e263e Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 5d6d077 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 22216e7 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 2cee960 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 8eb84d2 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 20c2391 Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: d2c43ce Pull Request resolved: #168116
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack. * slowdown compares the clock time between the old and new code * the number of generated strategies differs due to the original code pruning out useless strategies based on knowledge of the inputs / mesh Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows. On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it. ``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` [ghstack-poisoned]
``` test_name='mm', mesh_name='mesh_6d', time for expanded strategy:240.83ms (slowdown=1.01x) len(orig_s.strategies)=4096, len(single_s.strategies)=4096 test_name='mm', mesh_name='mesh_5d', time for expanded strategy:53.08ms (slowdown=1.03x) len(orig_s.strategies)=1024, len(single_s.strategies)=1024 test_name='mm', mesh_name='mesh_4d', time for expanded strategy:11.53ms (slowdown=1.03x) len(orig_s.strategies)=256, len(single_s.strategies)=256 test_name='mm', mesh_name='mesh_3d', time for expanded strategy:2.45ms (slowdown=1.03x) len(orig_s.strategies)=64, len(single_s.strategies)=64 test_name='mm', mesh_name='mesh_2d', time for expanded strategy:0.51ms (slowdown=1.02x) len(orig_s.strategies)=16, len(single_s.strategies)=16 test_name='mm', mesh_name='mesh_1d', time for expanded strategy:0.11ms (slowdown=0.98x) len(orig_s.strategies)=4, len(single_s.strategies)=4 test_name='add', mesh_name='mesh_6d', time for expanded strategy:48.93ms (slowdown=828.61x) len(orig_s.strategies)=1, len(single_s.strategies)=729 test_name='add', mesh_name='mesh_5d', time for expanded strategy:14.37ms (slowdown=252.09x) len(orig_s.strategies)=1, len(single_s.strategies)=243 test_name='add', mesh_name='mesh_4d', time for expanded strategy:4.18ms (slowdown=86.88x) len(orig_s.strategies)=1, len(single_s.strategies)=81 test_name='add', mesh_name='mesh_3d', time for expanded strategy:1.20ms (slowdown=26.57x) len(orig_s.strategies)=1, len(single_s.strategies)=27 test_name='add', mesh_name='mesh_2d', time for expanded strategy:0.34ms (slowdown=7.91x) len(orig_s.strategies)=1, len(single_s.strategies)=9 test_name='add', mesh_name='mesh_1d', time for expanded strategy:0.10ms (slowdown=2.68x) len(orig_s.strategies)=1, len(single_s.strategies)=3 ``` ghstack-source-id: 578dc1f Pull Request resolved: #168116
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack (oldest at bottom):
The experiment compares the original strategy (e.g. mm_strategy) vs the new 'expanded' one in this diff stack.
Clearly, for pointwise / add, the original code saves a lot of time by generating only the one relevant strategy (in this test case, both inputs are R, so the only strategy it bothers generating is R, R -> R, and this indeed saves time especially as the mesh dim grows.
On the other hand, the absolute time taken for mm strategies is significantly higher, and we've been getting by ok without optimizing it.