Skip to content

Commit 9d80531

Browse files
author
Clément POIRET
committed
deps: lower min version of onnxruntime
1 parent 03f4d84 commit 9d80531

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ Changelogs
220220
HSF
221221
---
222222

223+
**Version 1.1.3**
224+
225+
* Lower onnxruntime dependency to min 1.8.0
226+
223227
**Version 1.1.2**
224228

225229
* ***BREAKING CHANGE***: HSF needs to be installed using extra dependencies depending on the backend you want to use.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<br>
66
<font size="+2"><b>Hippocampal</b> <i>Segmentation</i> Factory</font>
77
<br>
8-
<b>Current HSF version:</b> 1.1.2<br>
8+
<b>Current HSF version:</b> 1.1.3<br>
99
<b>Built-in Models version:</b> 3.0.0<br>
1010
<b>Models in the Hub:</b> 6
1111
</p>

hsf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.2'
1+
__version__ = '1.1.3'

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "HSF"
3-
version = "1.1.2"
3+
version = "1.1.3"
44
description = "A simple yet exhaustive segmentation tool of the Hippocampal Subfields in T1w and T2w MRIs."
55
authors = ["Clément POIRET <[email protected]>"]
66
license = "MIT"
@@ -28,8 +28,8 @@ wget = "^3.2"
2828
antspyx = ">0.3.0"
2929
xxhash = "^3.2.0"
3030
rich = ">11.0.0"
31-
onnxruntime = {version = "^1.14.0", optional = true}
32-
onnxruntime-gpu = {version = "^1.14.0", optional = true}
31+
onnxruntime = {version = ">=1.8.0", optional = true}
32+
onnxruntime-gpu = {version = ">=1.8.0", optional = true}
3333
deepsparse = {version = "^1.4.0", optional = true}
3434

3535
[tool.poetry.extras]
@@ -50,3 +50,7 @@ omit = ["hsf/welcome.py"]
5050
[build-system]
5151
requires = ["poetry-core>=1.0.0"]
5252
build-backend = "poetry.core.masonry.api"
53+
54+
# The command to install deps manually
55+
# pip install hsf --no-deps
56+
# pip install "torchio>=0.18.56" "roiloc>0.2.8" "hydra-core>=1.1.1" "wget>=3.2" "antspyx>0.3.0" "xxhash>=3.2.0" "rich>11.0.0" "onnxruntime>=1.14.0"

tests/test_hsf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
def test_version():
19-
assert __version__ == '1.1.2'
19+
assert __version__ == '1.1.3'
2020

2121

2222
# SETUP FIXTURES

0 commit comments

Comments
 (0)