Skip to content

Commit 8ae6aae

Browse files
committed
Fix version recommendation
1 parent be5b686 commit 8ae6aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ So in general, it's better to avoid specifying a version unless it really matter
6767
- `minor` version change: for non-breaking code changes, e.g. backwards-compatible new functionality, routine maintenance, refactoring. E.g. `1.1` to `1.2`.
6868
- `patch` version change: for backward compatible bug fixes. E.g. `1.1.1` to `1.1.2`.
6969

70-
It is recommended that you rely on the minor version, for e.g. use `torchruntime ~= 1` in `requirements.txt` (change this to the current major version), which will install versions like `1.21.0`, `1.22.2` etc but not `2.0.0`.
70+
It is recommended that you rely on the minor version, for e.g. use `torchruntime~=2.0` in `requirements.txt` (change this to the current major version), which will install versions like `2.1.0`, `2.2.2` etc but not `3.0.0`.
7171

7272
# Compatibility table
7373
The list of platforms on which `torchruntime` can install a working variant of PyTorch.

0 commit comments

Comments
 (0)