Commit 312b81f
Fix optimizer check edge case
Summary:
There's an edge case for detecting an optimizer - where no optimizer is applied during backwards, but the compute kernel is fused, so techncially an EBC.optimizer would be created.
In this case for dynamic sharding, we still don't need to store any optimizers - I've added the condition to properly check for optimizers to pass the unit test.
Differential Revision: D762031881 parent 558f476 commit 312b81f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | | - | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1537 | 1539 | | |
1538 | 1540 | | |
1539 | 1541 | | |
| |||
0 commit comments