You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove plural types and aliases for native pytorch types (#677)
* First pass fix ensure_tuple
* Remove endline
* Adjust state docstring
* Adjust docstring
* Address comments
* Ooops typo
* Add tests
* Lint
* Fix types
* Fixed type errors
* Docstring styling
* Errr docstring links?
* Attempt at removing plural types pt. 1
* Remove plural types pt. 2
* Clean up types.py
Remove re-exported types from types.py. This should help with code readability, as now the underlying type is directly imported.
* Rearranged import
* Fix circular import
* Fix doctests
* Replaced StateDict type annotation with `Dict[str, Any]`
`Dict[str, Any]` is almost as short but clearer on what it is (a dictionary with string keys).
* Removed some more plural types
* Cleanup tensor_to_device
* Fixed typo
* Allowing generic sequences
* Fix LoggerDestination issues
Co-authored-by: ravi-mosaicml <[email protected]>
0 commit comments