Recent Releases of torchinfo
torchinfo - v1.8.0
What's Changed
- Enable np.ndarrays as in- and outputs. by @snimu in https://github.com/TylerYep/torchinfo/pull/222
- Don't change device if input_data is given by @snimu in https://github.com/TylerYep/torchinfo/pull/236
- Move to using tensor.untyped_storage() for Pytorch 2.0 by @TylerYep in https://github.com/TylerYep/torchinfo/commit/7f2bed3
Full Changelog: https://github.com/TylerYep/torchinfo/compare/v1.7.2...v1.8.0
- Python
Published by TylerYep almost 3 years ago
torchinfo - v1.7.2
What's Changed
- Simplify layerstostr by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/173
- Add hiderecursivelayers option to ColumnSettings by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/174
- Add contribution of recursive calls to totaloutputbytes by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/181
- Add params and MACs units specifiers by @richardtml in https://github.com/TylerYep/torchinfo/pull/188
- Add the column 'Params %' by @luke396 in https://github.com/TylerYep/torchinfo/pull/199
- Automatically get device from first model parameter if
deviceparameter tosummaryisNoneby @snimu in https://github.com/TylerYep/torchinfo/pull/211 - Enable analyzing nested input- and output-dicts by @snimu in https://github.com/TylerYep/torchinfo/pull/212
Cleanup Work
- Add additional versions to GitHub Actions tests by @TylerYep in https://github.com/TylerYep/torchinfo/pull/189
- Fix torchvision deprecation warnings in test cases by @TylerYep in https://github.com/TylerYep/torchinfo/pull/191
- Separate nestedlistsize function, add some documentation, improve mypy for setuptools by @TylerYep in https://github.com/TylerYep/torchinfo/pull/220
New Contributors
- @richardtml made their first contribution in https://github.com/TylerYep/torchinfo/pull/188
- @luke396 made their first contribution in https://github.com/TylerYep/torchinfo/pull/199
- @snimu made their first contribution in https://github.com/TylerYep/torchinfo/pull/211
Full Changelog: https://github.com/TylerYep/torchinfo/compare/v1.7.1...v1.7.2
- Python
Published by TylerYep about 3 years ago
torchinfo - v1.7.1
What's Changed
- Update half precision test cases to support Pytorch v1.12 by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/165
- Use layerid instead of classname in addmissinglayers by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/163
- Replace addmissinglayers with addmissingcontainer_layers by @mert-kurttutan in https://github.com/TylerYep/torchinfo/pull/169
New Contributors
- @mert-kurttutan made their first contribution in https://github.com/TylerYep/torchinfo/pull/165
Full Changelog: https://github.com/TylerYep/torchinfo/compare/v1.7.0...v1.7.1
- Python
Published by TylerYep over 3 years ago
torchinfo - v1.7.0
What's Changed
- Calculate parameter counts for nn.Parameter
- Add parameter counts for nn.UninitializedParameters
- Show output shapes for the overall model
- Internal optimizations (hooks applied iteratively instead of recursively, add profiling code)
Full Changelog: https://github.com/TylerYep/torchinfo/compare/v1.6.6...v1.7.0
- Python
Published by TylerYep over 3 years ago
torchinfo - v1.6.4
What's Changed
- Support half-precision dtypes when calculating model size by @jedi2610 in https://github.com/TylerYep/torchinfo/pull/109
- Uninitialized tensor fix by @jedi2610 in https://github.com/TylerYep/torchinfo/pull/120
- Allow user to set the training/eval mode of the model before calling summary.
New Contributors
- @jedi2610 made their first contribution in https://github.com/TylerYep/torchinfo/pull/109
- @bsridatta made their first contribution in https://github.com/TylerYep/torchinfo/pull/116
Full Changelog: https://github.com/TylerYep/torchinfo/compare/v1.6.3...v1.64
- Python
Published by TylerYep almost 4 years ago
torchinfo - v1.5.2
- Use sys.getsizeof for calculating input size. In the future, we will use this instead of the tensor shape to calculate the size.
- Rework the input_data correction to allow nested dicts and other data structure combinations.
- Add missing basic summary test.
- Refactor the main summary function to use a common traversal helper function.
- Python
Published by TylerYep over 4 years ago
torchinfo - v1.4.4 (old)
Last release under the old PyPI package, deprecates Python 3.5 support.
Please pin v1.4.3 if you wish to continue using Python 3.5. Additionally fixes several misc bugs.
- Python
Published by TylerYep about 5 years ago
torchinfo - Python 3.5 Backport
This is likely a one-time release backporting to Python 3.5 by reverting all of the f-strings to format strings.
- Python
Published by TylerYep almost 6 years ago