Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/binaries-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: "3.10"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
steps:
- if: github.event_name == 'push'
uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: |
bash ./tests/run_code_style.sh install
bash ./tests/run_code_style.sh fmt

- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "autopep8 fix"
env:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Changed Files Exporter
if: github.event_name == 'pull_request'
id: files
uses: umani/changed-files@v4.1.0
uses: umani/changed-files@v4.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Get a list of modified files
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
Expand All @@ -76,7 +76,7 @@ jobs:
uses: ./test-infra/.github/actions/setup-linux

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
Expand All @@ -136,7 +136,7 @@ jobs:
uses: ./test-infra/.github/actions/setup-linux

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
Expand All @@ -196,7 +196,7 @@ jobs:
uses: ./test-infra/.github/actions/setup-linux

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
Expand All @@ -256,7 +256,7 @@ jobs:
uses: ./test-infra/.github/actions/setup-linux

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"

- run: sudo npm install katex -g
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: bash .github/workflows/build_docs.sh

- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
Expand All @@ -51,11 +51,11 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
Expand All @@ -72,12 +72,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"

- run: sudo npm install katex -g
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gpu-hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
Expand All @@ -55,7 +55,7 @@ jobs:
docker-image: ${{ env.DOCKER_IMAGE }}

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
docker exec -t pthd /bin/bash -c "${script}"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ${{ github.repository }}/coverage.xml
flags: gpu-2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:

- name: Run GPU Unit Tests
continue-on-error: false
uses: nick-fields/retry@v2.9.0
uses: nick-fields/retry@v3.0.2
with:
max_attempts: 5
timeout_minutes: 45
Expand All @@ -130,7 +130,7 @@ jobs:
new_command_on_retry: docker exec -e USE_LAST_FAILED=1 -t pthd /bin/bash -xec 'bash tests/run_gpu_tests.sh 4'

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ${{ github.repository }}/coverage.xml
flags: gpu-2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ jobs:
echo "pip_cache=$(python3 -m pip cache dir)" >> $GITHUB_OUTPUT
shell: bash -l {0}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/conda_pkgs_dir
${{ steps.pip-cache.outputs.pip_cache }}
key: ${{ steps.get-date.outputs.date }}-horovod-${{ hashFiles('requirements-dev.txt') }}

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
target_dir: /tmp

- name: Run Tests
uses: nick-fields/retry@v3
uses: nick-fields/retry@v3.0.2
with:
max_attempts: 3
timeout_minutes: 40
Expand All @@ -97,7 +97,7 @@ jobs:
new_command_on_retry: USE_LAST_FAILED=1 USE_XDIST=0 bash tests/run_cpu_tests.sh

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: hvd-cpu
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mps-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ jobs:
echo "::endgroup::"

- name: Checkout repository (pytorch/test-infra)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: pytorch/test-infra
path: test-infra

- name: Checkout repository (${{ github.repository }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Support the use case where we need to checkout someone's fork
repository: ${{ github.repository }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ${{ github.repository }}/coverage.xml
flags: mps
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo "pip_cache=$(python3 -m pip cache dir)" >> $GITHUB_OUTPUT
shell: bash -l {0}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/conda_pkgs_dir
Expand All @@ -60,7 +60,7 @@ jobs:
${{ steps.get-date.outputs.date }}-pytorch-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pytorch-version }}-

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
target_dir: /tmp

- name: Run Tests
uses: nick-fields/retry@v3
uses: nick-fields/retry@v3.0.2
with:
max_attempts: 5
timeout_minutes: 15
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release-anaconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: "3.10"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
python-version: "3.10"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
Expand All @@ -54,7 +54,7 @@ jobs:
echo "pip_cache=$(pip cache dir)" >> $GITHUB_OUTPUT
shell: bash -l {0}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ steps.pip-cache.outputs.pip_cache }}
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
target_dir: /tmp

- name: Run Tests
uses: nick-fields/retry@v3
uses: nick-fields/retry@v3.0.2
with:
max_attempts: 5
timeout_minutes: 25
Expand All @@ -103,7 +103,7 @@ jobs:
XRT_WORKERS: "localservice:0;grpc://localhost:40934"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: tpu
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -72,7 +72,7 @@ jobs:
pip install -U pip || python -m pip install -U pip
echo "pip_cache=$(pip cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ steps.pip-cache.outputs.pip_cache }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
cp -R /tmp/MNIST .

- name: Run Tests
uses: nick-fields/retry@v3
uses: nick-fields/retry@v3.0.2
with:
max_attempts: 5
timeout_minutes: 15
Expand All @@ -130,7 +130,7 @@ jobs:
new_command_on_retry: USE_LAST_FAILED=1 SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: cpu
Expand Down
Loading