Skip to content

Commit 0abd04e

Browse files
authored
testing with torch 1.13.1 (#5758)
Signed-off-by: Wenqi Li <wenqil@nvidia.com> ### 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: Wenqi Li <wenqil@nvidia.com>
1 parent e2434fd commit 0abd04e

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/pythonapp-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
pytorch: "-h" # we explicitly set pytorch to -h to avoid pip install error
4545
base: "nvcr.io/nvidia/pytorch:22.09-py3"
4646
- environment: PT113+CUDA116
47-
pytorch: "torch==1.13.0 torchvision==0.14.0"
47+
pytorch: "torch==1.13.1 torchvision==0.14.1"
4848
base: "nvcr.io/nvidia/cuda:11.6.1-devel-ubuntu18.04"
4949
container:
5050
image: ${{ matrix.base }}

.github/workflows/pythonapp-min.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
- if: runner.os == 'windows'
5353
name: Install torch cpu from pytorch.org (Windows only)
5454
run: |
55-
python -m pip install torch==1.13+cpu -f https://download.pytorch.org/whl/torch_stable.html
55+
python -m pip install torch==1.13.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
5656
- name: Install the dependencies
5757
run: |
5858
# min. requirements
59-
python -m pip install torch==1.13
59+
python -m pip install torch==1.13.1
6060
python -m pip install -r requirements-min.txt
6161
python -m pip list
6262
BUILD_MONAI=0 python setup.py develop # no compile of extensions

.github/workflows/pythonapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@ jobs:
8888
- if: runner.os == 'windows'
8989
name: Install torch cpu from pytorch.org (Windows only)
9090
run: |
91-
python -m pip install torch==1.13.0+cpu torchvision==0.14.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
91+
python -m pip install torch==1.13.1+cpu torchvision==0.14.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
9292
- if: runner.os == 'Linux'
9393
name: Install itk pre-release (Linux only)
9494
run: |
9595
python -m pip install --pre -U itk
9696
- name: Install the dependencies
9797
run: |
98-
python -m pip install torch==1.13.0 torchvision==0.14.0
98+
python -m pip install torch==1.13.1 torchvision==0.14.1
9999
cat "requirements-dev.txt"
100100
python -m pip install -r requirements-dev.txt
101101
python -m pip list

.github/workflows/setupapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Install the dependencies
101101
run: |
102102
python -m pip install --upgrade pip wheel
103-
python -m pip install torch==1.13.0 torchvision==0.14.0
103+
python -m pip install torch==1.13.1 torchvision==0.14.1
104104
python -m pip install -r requirements-dev.txt
105105
- name: Run quick tests CPU ubuntu
106106
run: |

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44

55
**M**edical **O**pen **N**etwork for **AI**
66

7+
![Supported Python versions](https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/docs/images/python.svg)
78
[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
89
[![PyPI version](https://badge.fury.io/py/monai.svg)](https://badge.fury.io/py/monai)
910
[![docker](https://img.shields.io/badge/docker-pull-green.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/projectmonai/monai)
1011
[![conda](https://img.shields.io/conda/vn/conda-forge/monai?color=green)](https://anaconda.org/conda-forge/monai)
1112

12-
![Supported Python versions](https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/docs/images/python.svg)
13-
[![CI Build](https://github.com/Project-MONAI/MONAI/workflows/build/badge.svg?branch=dev)](https://github.com/Project-MONAI/MONAI/commits/dev)
13+
[![premerge](https://github.com/Project-MONAI/MONAI/actions/workflows/pythonapp.yml/badge.svg?branch=dev)](https://github.com/Project-MONAI/MONAI/actions/workflows/pythonapp.yml)
14+
[![postmerge](https://img.shields.io/github/checks-status/project-monai/monai/dev?label=postmerge)](https://github.com/Project-MONAI/MONAI/actions?query=branch%3Adev)
15+
[![docker](https://github.com/Project-MONAI/MONAI/actions/workflows/docker.yml/badge.svg?branch=dev)](https://github.com/Project-MONAI/MONAI/actions/workflows/docker.yml)
1416
[![Documentation Status](https://readthedocs.org/projects/monai/badge/?version=latest)](https://docs.monai.io/en/latest/)
1517
[![codecov](https://codecov.io/gh/Project-MONAI/MONAI/branch/dev/graph/badge.svg?token=6FTC7U1JJ4)](https://codecov.io/gh/Project-MONAI/MONAI)
1618

0 commit comments

Comments
 (0)