diff --git a/.azuredevops/ado-ci-pipeline-ms-hosted.yml b/.azuredevops/ado-ci-pipeline-ms-hosted.yml index 4a9cb69..2c4a3d1 100644 --- a/.azuredevops/ado-ci-pipeline-ms-hosted.yml +++ b/.azuredevops/ado-ci-pipeline-ms-hosted.yml @@ -19,9 +19,9 @@ pool: steps: - task: UsePythonVersion@0 - displayName: "Use Python 3.9" + displayName: "Use Python 3.11" inputs: - versionSpec: 3.9 + versionSpec: 3.11 - script: | python -m venv venv diff --git a/.azuredevops/ado-ci-pipeline-self-hosted.yml b/.azuredevops/ado-ci-pipeline-self-hosted.yml index efcf01b..c3b6a78 100644 --- a/.azuredevops/ado-ci-pipeline-self-hosted.yml +++ b/.azuredevops/ado-ci-pipeline-self-hosted.yml @@ -31,9 +31,9 @@ steps: displayName: "Check agent VM space" - task: UsePythonVersion@0 - displayName: "Use Python 3.9" + displayName: "Use Python 3.11" inputs: - versionSpec: 3.9 + versionSpec: 3.11 - script: | python -m venv venv diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1867ed3..bfaf26c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,10 +21,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python 3.9 + - name: Setup Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Install requirements run: | diff --git a/requirements-dev.txt b/requirements-dev.txt index abf525b..57aecde 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -mypy==1.11.2 -pytest==8.3.3 +mypy==1.13.0 +pytest==8.3.4 pre-commit==4.0.1 pytest-cov==6.0.0 -ruff==0.6.8 +ruff==0.8.1 diff --git a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt index 098f19c..353f37d 100644 --- a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt +++ b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt @@ -1,11 +1,5 @@ -torch==2.4.1 -torchvision==0.19.1 -# use this below if you want to use torch 1.13.1 instead. -# you need --extra-index-url flag as stated in https://pytorch.org/get-started/previous-versions/#linux-and-windows-1 -# torch==1.13.1+cu117 -# torchvision==0.14.1+cu117 -# --extra-index-url https://download.pytorch.org/whl/cu117 - +torch==2.5.1 +torchvision==0.20.1 # the below are used by AML, can be deleted if not using AML -mlflow==2.16.2 -azureml-mlflow==1.57.0.post1 \ No newline at end of file +mlflow==2.15.1 +azureml-mlflow==1.58.0.post3