Skip to content

Releases: dotnet/TorchSharp

TorchSharp release 0.99.3

22 Feb 20:15
288f063
Compare
Choose a tag to compare

NuGet Version 0.99.3

For a complete list of changes from the last GH release, see: #479 (comment)

API Changes:

Fixing misspelling of 'DetachFromDisposeScope,' deprecating the old spelling.
Adding allow_tf32
Adding overloads of Module.save() and Module.load() taking a 'Stream' argument.
Adding torch.softmax() and Tensor.softmax() as aliases for torch.special.softmax()
Adding torch.from_file()
Adding a number of missing pointwise Tensor operations.
Adding select_scatter, diagonal_scatter, and slice_scatter
Adding torch.set_printoptions
Adding torch.cartesian_prod, combinations, and cov.
Adding torch.cdist, diag_embed, rot90, triu_indices, tril_indices

Fixed Bugs:

#913 conv = nn.Conv2d(c1, 1, 1, bias=False).requires_grad_(False)
#910 nn.Module.modules is missing
#912 nn.Module save and state_ dict method error

Release v0.96.3

23 Feb 23:29
42af4a1
Compare
Choose a tag to compare

Changes since release v0.95.4

NuGet Version 0.96.3

API Changes:

NOTE: This release contains breaking changes.

The APIs to create optimizers all take 'parameters()' as well as 'named_parameters()' now.

Support for parameter groups in most optimizers.

Support for parameter groups in LR schedulers.

Fixed Bugs:

#495 Add support for OptimizerParamGroup

#509 Tensor.conj() not implemented

#515 what's reason for making register_module internal?

#516 AdamW bug on v0.96.0

#521 Can't set Tensor slice using indexing

#525 LSTM's forward function not work with null hidden and cell state

#532 Why does storing module layers in arrays break the learning process?

NuGet Version 0.96.1

API Changes:

Fixed Bugs:

Using libtorch CPU packages from F# Interactive required explicit native loads

#510 Module.Load throws Mismatched state_dict sizes exception on BatchNorm1d

NuGet Version 0.96.0

API Changes:

NOTE: This release contains breaking changes.

'Module.named_parameters()', 'parameters()', 'named_modules()', 'named_children()' all return IEnumerable instances instead of arrays.

Adding weight and bias properties to the RNN modules.

Lower-cased names: Module.Train --> Module.train and Module.Eval --> Module.eval

Fixed Bugs:

#496 Wrong output shape of torch.nn.Conv2d with 2d stride overload

#499 Setting Linear.weight is not reflected in 'parameters()'

#500 BatchNorm1d throws exception during eval with batch size of 1

v0.95.4

03 Dec 17:39
7dc140b
Compare
Choose a tag to compare
v0.95.4 Pre-release
Pre-release

Last release of 2021.

See ReleaseNotes.md for more details.

Binary payloads for building

13 Nov 03:05
f5be1f7
Compare
Choose a tag to compare
Pre-release
Merge pull request #64 from motus/issue-23-lapack

[issue #23] Implement low-level bindings for THLapack_* functions