Skip to content

Commit 5f7d197

Browse files
committed
Updated version and readme
1 parent a0482f7 commit 5f7d197

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ TorchSharp.PyBridge is an extension library for [TorchSharp](https://github.com/
66

77
## Features
88

9-
- **load_py Method**: Easily load PyTorch models saved in the standard Python format (using `torch.save`) directly into TorchSharp.
9+
- **load_py**: Extension method for modules and optimizers for easily loading PyTorch models saved in the standard Python format (using `torch.save`) directly into TorchSharp.
1010

1111
> This only works for when the `state_dict` was saved and not the whole model, see example below.
1212
13-
- **save_py Method**: Save TorchSharp models in a format that can be directly loaded in PyTorch (using `torch.load`), offering cross-platform model compatibility.
13+
- **save_py Method**: SExtension method for modules and optimizers for easily saving TorchSharp models in a format that can be directly loaded in PyTorch (using `torch.load`), offering cross-platform model compatibility.
1414

15-
As of version 1.1.0, there is now support for loading and saving the `optim.state_dict` in the `PyTorch` format as well.
15+
- **load_safetensors**, **save_safetensors**: Extension methods for modules for easily saving and loading model weights using the [safetensors](https://github.com/huggingface/safetensors) format.
1616

1717
## Getting Started
1818

TorchSharp.PyBridge/TorchSharp.PyBridge.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
<PackageProjectUrl>https://github.com/shaltielshmid/TorchSharp.PyBridge</PackageProjectUrl>
2222
<RepositoryUrl>https://github.com/shaltielshmid/TorchSharp.PyBridge.git</RepositoryUrl>
2323
<RepositoryType>git</RepositoryType>
24-
<Version>1.1.0</Version>
25-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
26-
<FileVersion>1.1.0.0</FileVersion>
27-
<PackageReleaseNotes>1.1.0: Added `load_py` and `save_py` extensions for optimizers.</PackageReleaseNotes>
24+
<Version>1.2.0</Version>
25+
<AssemblyVersion>1.2.0.0</AssemblyVersion>
26+
<FileVersion>1.2.0.0</FileVersion>
27+
<PackageReleaseNotes>1.2.0: Added `load_safetensors` and `save_safetensors` extensions for modules.</PackageReleaseNotes>
2828
</PropertyGroup>
2929

3030
<ItemGroup>

0 commit comments

Comments
 (0)