Skip to content

Commit 6a5411a

Browse files
committed
Moving to Pytroch 2.9
1 parent b321fbf commit 6a5411a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/check_code_consistency.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python-version: "3.10"
1919
cache: "pip" # caching pip dependencies
2020
- name: Installing Pytorch
21-
run: pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu118
21+
run: pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
2222
- name: Installing BiaPy
2323
run: pip install --editable .
2424
- name: Installing dependencies for the run_checks.py script

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="https://www.python.org/">
77
<img src="https://img.shields.io/badge/Python-3.10-yellow.svg" /></a>
88
<a href= "https://pytorch.org/">
9-
<img src="https://img.shields.io/badge/PyTorch-2.4-orange.svg" /></a>
9+
<img src="https://img.shields.io/badge/PyTorch-2.9-orange.svg" /></a>
1010
<a href= "https://pypi.org/project/biapy/">
1111
<img src="https://img.shields.io/pypi/v/biapy.svg?color=green" /></a>
1212
<a href= "https://anaconda.org/conda-forge/biapy/">

biapy/utils/env/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN conda init bash && \
3131
SHELL ["conda", "run", "-n", "BiaPy_env", "/bin/bash", "-c"]
3232

3333
# Install Pytorch 2.2.0 + CUDA 11.8
34-
RUN pip install torch==2.4.0 torchvision==0.19.0 --index-url https://download.pytorch.org/whl/cu118
34+
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu126
3535

3636
# Install BiaPy
3737
RUN pip install biapy

biapy/utils/env/conda_forge_meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ requirements:
2424
- setuptools
2525
run:
2626
- python >={{ python_min }}
27-
- pytorch >=2.4
27+
- pytorch >=2.9
2828
- timm ==1.0.14
2929
- pytorch-msssim
3030
- torchmetrics >=1.4,<1.5

0 commit comments

Comments
 (0)