Commit fb8c5bf
authored
Removed outdated
Fixes #8348
### Description
Support for `torch` versions prior to `1.13` has been dropped, so those
`1.8` version checks are not required anymore. Furthermore, as reported
in the issue description, those checks led to unstable behaviour when
using certain transforms in data pipelines.
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
---------
Signed-off-by: Nicolas Kaenzig <nkaenzig@gmail.com>torch version checks from transform functions (#8359)1 parent 960c59b commit fb8c5bf
File tree
2 files changed
+4
-16
lines changed- monai/transforms
- utility
2 files changed
+4
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
939 | 938 | | |
940 | 939 | | |
941 | 940 | | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
| 941 | + | |
949 | 942 | | |
950 | 943 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
| 944 | + | |
955 | 945 | | |
956 | 946 | | |
957 | 947 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | | - | |
219 | | - | |
220 | 217 | | |
221 | | - | |
| 218 | + | |
| 219 | + | |
222 | 220 | | |
223 | 221 | | |
224 | 222 | | |
| |||
0 commit comments