Skip to content

Commit

Permalink
deps: lower min version of onnxruntime
Browse files Browse the repository at this point in the history
  • Loading branch information
clementpoiret committed Apr 18, 2023
1 parent 03f4d84 commit 9d80531
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ Changelogs
HSF
---

**Version 1.1.3**

* Lower onnxruntime dependency to min 1.8.0

**Version 1.1.2**

* ***BREAKING CHANGE***: HSF needs to be installed using extra dependencies depending on the backend you want to use.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<br>
<font size="+2"><b>Hippocampal</b> <i>Segmentation</i> Factory</font>
<br>
<b>Current HSF version:</b> 1.1.2<br>
<b>Current HSF version:</b> 1.1.3<br>
<b>Built-in Models version:</b> 3.0.0<br>
<b>Models in the Hub:</b> 6
</p>
Expand Down
2 changes: 1 addition & 1 deletion hsf/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.2'
__version__ = '1.1.3'
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "HSF"
version = "1.1.2"
version = "1.1.3"
description = "A simple yet exhaustive segmentation tool of the Hippocampal Subfields in T1w and T2w MRIs."
authors = ["Clément POIRET <poiret.clement@outlook.fr>"]
license = "MIT"
Expand Down Expand Up @@ -28,8 +28,8 @@ wget = "^3.2"
antspyx = ">0.3.0"
xxhash = "^3.2.0"
rich = ">11.0.0"
onnxruntime = {version = "^1.14.0", optional = true}
onnxruntime-gpu = {version = "^1.14.0", optional = true}
onnxruntime = {version = ">=1.8.0", optional = true}
onnxruntime-gpu = {version = ">=1.8.0", optional = true}
deepsparse = {version = "^1.4.0", optional = true}

[tool.poetry.extras]
Expand All @@ -50,3 +50,7 @@ omit = ["hsf/welcome.py"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

# The command to install deps manually
# pip install hsf --no-deps
# 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"
2 changes: 1 addition & 1 deletion tests/test_hsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


def test_version():
assert __version__ == '1.1.2'
assert __version__ == '1.1.3'


# SETUP FIXTURES
Expand Down

0 comments on commit 9d80531

Please sign in to comment.