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 device parameter to summary is None by @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.6

What's Changed

  • Add "Trainable" column by @bsridatta in https://github.com/TylerYep/torchinfo/pull/128
  • Do not error if there are None values in ModuleLists
  • Obtain kernel_size using the actual attribute name.

- Python
Published by TylerYep almost 4 years ago

torchinfo - v1.6.5

Fix a regression in which torchinfo would crash on PyTorch versions < 1.9

- Python
Published by TylerYep almost 4 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.6.3

- Python
Published by TylerYep about 4 years ago

torchinfo - v1.6.2

Fixed bug with layer reuse in the same variable, with and without existing hooks.

- Python
Published by TylerYep about 4 years ago

torchinfo - v1.6.1

  • Support for pruned models
  • Support for "ascii_only" as a row setting to disable the fancy branch logging.

- Python
Published by TylerYep about 4 years ago

torchinfo - v1.6.0

Deprecate Python 3.6 support. Install v1.5.4 if you want to use Python 3.6.

- Python
Published by TylerYep about 4 years ago

torchinfo - v1.5.4

LayerInfo's trainable field is now trainable_params

- Python
Published by TylerYep about 4 years ago

torchinfo - v1.5.3

  • Display layers that share the same variable
    • e.g. activation layers that are defined once and then reused throughout the model
  • README updates.

- Python
Published by TylerYep over 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.5.1

  • Fix bug causing inconsistent Mult-Add totals that do not sum correctly.
  • Overhaul output testing to work automatically for all tests
  • Add cache_forward_pass to make it easier to iterate on depths in Jupyter Notebooks

- Python
Published by TylerYep over 4 years ago

torchinfo - v1.5.0

Upgrade the version number past v1.4.5 in order for pip to resolve the version correctly across older versions of pip.

- Python
Published by TylerYep over 4 years ago

torchinfo - v0.1.5

  • Fix issues with torch.jit scripted modules
  • Add support for ParameterLists
  • Display bias layers in verbose=2 mode

- Python
Published by TylerYep over 4 years ago

torchinfo - v0.1.4

Add py.typed to surface type annotations.

- Python
Published by TylerYep over 4 years ago

torchinfo - v0.1.3

Fix bug with inconsistent calculations for total_params using different depths.

- Python
Published by TylerYep over 4 years ago

torchinfo - v0.1.2

Fix MACs calculation and differences in output when using different depths.

depth parameter now only affects formatting, calculated values do not change.

- Python
Published by TylerYep almost 5 years ago

torchinfo - v0.1.1

Add model name to the topmost row of the summary table, fixed bug in nestedlistsize.

- Python
Published by TylerYep almost 5 years ago

torchinfo - v0.1.0

Add rowsettings=("varname", "depth") as customizable options for showing variable names in a row.

- Python
Published by TylerYep almost 5 years ago

torchinfo - v0.0.9

Adjust MACs calculation to include batch_size

- Python
Published by TylerYep almost 5 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 - v1.4.3

Minor bug fixes, now forwards correct error messages when an exception occurs.

- Python
Published by TylerYep over 5 years ago

torchinfo - v1.4.2

Fix bug with nested list inputs.

- Python
Published by TylerYep over 5 years ago

torchinfo - v1.4.0

Sequential & ModuleList Support

Thanks @roym899 for implementing this feature!

- Python
Published by TylerYep over 5 years ago

torchinfo - v1.3.3

- Python
Published by TylerYep over 5 years ago

torchinfo - v1.2.0

- Python
Published by TylerYep almost 6 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

torchinfo - v1.1.4

Minor API changes with device and batch_dim, as well as additional testing on models from issue submitters.

- Python
Published by TylerYep almost 6 years ago

torchinfo - Initial Release

Initial Release

- Python
Published by TylerYep almost 6 years ago