Skip to content

Releases: TylerYep/torchinfo

v1.8.0

14 May 20:54
Compare
Choose a tag to compare

What's Changed

  • Enable np.ndarrays as in- and outputs. by @snimu in #222
  • Don't change device if input_data is given by @snimu in #236
  • Move to using tensor.untyped_storage() for Pytorch 2.0 by @TylerYep in 7f2bed3

Full Changelog: v1.7.2...v1.8.0

v1.7.2

05 Feb 20:50
Compare
Choose a tag to compare

What's Changed

Cleanup Work

  • Add additional versions to GitHub Actions tests by @TylerYep in #189
  • Fix torchvision deprecation warnings in test cases by @TylerYep in #191
  • Separate nested_list_size function, add some documentation, improve mypy for setuptools by @TylerYep in #220

New Contributors

Full Changelog: v1.7.1...v1.7.2

v1.7.1

26 Sep 00:25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0

28 May 23:30
Compare
Choose a tag to compare

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: v1.6.6...v1.7.0

v1.6.6

16 May 05:47
Compare
Choose a tag to compare

What's Changed

  • Add "Trainable" column by @bsridatta in #128
  • Do not error if there are None values in ModuleLists
  • Obtain kernel_size using the actual attribute name.

v1.6.5

25 Mar 20:01
Compare
Choose a tag to compare

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

v1.6.3

15 Jan 22:10
Compare
Choose a tag to compare
v1.6.3

v1.6.2

11 Jan 07:27
Compare
Choose a tag to compare

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

v1.6.1

24 Dec 09:38
Compare
Choose a tag to compare
  • Support for pruned models
  • Support for "ascii_only" as a row setting to disable the fancy branch logging.

v1.6.0

21 Dec 22:01
Compare
Choose a tag to compare

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