Skip to content

Commit

Permalink
Bump pytorch>=2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thodkatz committed Sep 16, 2024
1 parent d0aefac commit 192b5ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
5 changes: 2 additions & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ requirements:
- python >=3.8
run:
- python >=3.8
- pickle5 # [py37]
{% for dep in setup_py_data['install_requires'] %}
- {{ dep.lower() }}
{% endfor %}
Expand All @@ -51,11 +50,11 @@ test:
{% for dep in setup_py_data['extras_require']['server-pytorch'] %}
- {{ dep.lower() }}
{% endfor %}
# this is still necessary, torchvision doesn't work properly with cpuonly mutex
- python 3.9.*
- torchvision=*=*cpu
- pytest
- pytest-grpc
- cpuonly
- ilastik-pytorch-version-helper-cpu
imports:
# client
- tiktorch
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:

# pytorch
# remove cpuonly, add cudatoolkit and cudnn for gpu support
- pytorch=2.4.*
- pytorch=2.3.*
# currently it's necessary to force the cpu version, remove
# torchvision pin when going for gpu
# - torchvision
Expand Down
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@
"pyyaml",
"xarray",
],
extras_require={
"server-pytorch": [
"pytorch>=1.6",
"scikit-learn",
]
},
extras_require={"server-pytorch": ["pytorch>=2", "scikit-learn", "torchvision"]},
entry_points={"console_scripts": ["tiktorch=tiktorch.server.base:main"]},
# extras_require={"test": ["pytest"]},
project_urls={ # Optional
Expand Down

0 comments on commit 192b5ae

Please sign in to comment.