Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sanity check ranges in freeze.py (#1686)
* sanity check ranges in freeze.py this will catch problems earlier and more clearly. in my case, it appears that deepspeed zero3 sets layer tensor shapes to [0], which doesn't play well with automatically inferred ranges. through a bit of luck, inverting ranges still appears to work correctly. * simplify chained comparison
- Loading branch information