Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Upgrade 3.8 workflows #967

Merged
merged 6 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Setup Environment
run: |
pip install -e .
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Setup conda
run: |
rm -rf $HOME/miniconda
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Setup Environment
run: |
pip install -e .
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Setup conda
run: |
rm -rf $HOME/miniconda
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build-docs:
strategy:
matrix:
python_version: ["3.9"]
python_version: ["3.10"]
cuda_arch_version: ["12.1"]
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with:
Expand All @@ -36,7 +36,7 @@ jobs:
script: |
set -e
set -v
apt-get update && apt-get install -y git wget gcc g++
apt-get update && apt-get install -y -f git wget gcc g++ dialog apt-utils
root_dir="$(pwd)"
conda_dir="${root_dir}/conda"
env_dir="${root_dir}/env"
Expand All @@ -48,12 +48,12 @@ jobs:
bash ./miniconda.sh -b -f -p "${conda_dir}"
eval "$(${conda_dir}/bin/conda shell.bash hook)"
printf "* Creating a test environment\n"
conda create --prefix "${env_dir}" -y python=3.8
conda create --prefix "${env_dir}" -y python=3.10
printf "* Activating\n"
conda activate "${env_dir}"

# 2. upgrade pip, ninja and packaging
apt-get install python3.8 python3-pip unzip -y
apt-get install python3-pip unzip -y -f
python3 -m pip install --upgrade pip
python3 -m pip install setuptools ninja packaging -U

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo '::group::Setup environment'
CONDA_PATH=$(which conda)
eval "$(${CONDA_PATH} shell.bash hook)"
conda create --name ci --quiet --yes -c conda-forge python=3.8 ncurses=5 libgcc
conda create --name ci --quiet --yes -c conda-forge python=3.10 ncurses=5 libgcc
conda activate ci
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
echo '::endgroup::'
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "cp38-cp38"],
["3.9", "cp39-cp39"],
["3.10", "cp310-cp310"],
["3.11", "cp311-cp311"],
Expand Down Expand Up @@ -85,7 +84,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "cp38-cp38"],
["3.9", "cp39-cp39"],
["3.10", "cp310-cp310"],
["3.11", "cp311-cp311"],
Expand Down Expand Up @@ -122,7 +120,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "cp38-cp38"],
["3.9", "cp39-cp39"],
["3.10", "cp310-cp310"],
["3.11", "cp311-cp311"],
Expand Down Expand Up @@ -187,7 +184,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "3.8"],
["3.9", "3.9"],
["3.10", "3.10.3"],
["3.11", "3.11"],
Expand Down Expand Up @@ -226,7 +222,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "3.8"],
["3.9", "3.9"],
["3.10", "3.10.3"],
["3.11", "3.11"],
Expand Down Expand Up @@ -286,7 +281,6 @@ jobs:
strategy:
matrix:
python_version: [
["3.8", "3.8"],
["3.9", "3.9"],
["3.10", "3.10.3"],
["3.11", "3.11"],
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
test-gpu:
strategy:
matrix:
python_version: ["3.8"]
python_version: ["3.10"]
cuda_arch_version: ["12.1"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
test-cpu:
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python_version: ["3.9", "3.10", "3.11", "3.12"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with:
Expand All @@ -80,7 +80,7 @@ jobs:
test-stable-gpu:
strategy:
matrix:
python_version: ["3.8"]
python_version: ["3.10"]
cuda_arch_version: ["12.1"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
test-stable-cpu:
strategy:
matrix:
python_version: ["3.8", "3.11"]
python_version: ["3.9", "3.12"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-rl-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
test-gpu:
strategy:
matrix:
python_version: ["3.8"]
python_version: ["3.10"]
cuda_arch_version: ["12.1"]
fail-fast: false
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheels-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python_version: [["3.8", "3.8"], ["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]]
python_version: [["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]]
steps:
- name: Setup Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
needs: build-wheel-windows
strategy:
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12" ]
python_version: ["3.9", "3.10", "3.11", "3.12" ]
runs-on: windows-latest
steps:
- name: Setup Python
Expand Down
Loading