Skip to content

Commit

Permalink
Remove the date constraint in the scheduled runs (#2167)
Browse files Browse the repository at this point in the history
Summary:
We met an issue where the K8s cluster does not update the image for the runners.
Reported to upstream: actions/actions-runner-controller#3292

Before we find a workaround, we have to remove the constraint on the running date.

Pull Request resolved: #2167

Test Plan: https://github.com/pytorch/benchmark/actions/runs/7911493482

Reviewed By: aaronenyeshi

Differential Revision: D53815595

Pulled By: xuzhao9

fbshipit-source-id: 26514909d9db2165bd808205d29d2a03bac83f8b
  • Loading branch information
xuzhao9 authored and facebook-github-bot committed Feb 15, 2024
1 parent a4053bd commit d7b17ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/userbenchmark-a100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ jobs:
sudo nvidia-smi -pm 1
sudo nvidia-smi -ac 1215,1410
nvidia-smi
- name: Check PyTorch nightly if scheduled
if: ${{ github.event_name == 'schedule' }}
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
pushd benchmark
TODAY_STR=$(date +'%Y%m%d')
python utils/cuda_utils.py --check-torch-nightly-version --force-date ${TODAY_STR}
- name: Clone and setup conda env
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/v3-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ jobs:
sudo nvidia-smi -pm 1
sudo nvidia-smi -ac 1215,1410
nvidia-smi
- name: Check PyTorch nightly if scheduled
if: ${{ github.event_name == 'schedule' }}
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
pushd benchmark
TODAY_STR=$(date +'%Y%m%d')
python utils/cuda_utils.py --check-torch-nightly-version --force-date ${TODAY_STR}
- name: Clone and setup conda env
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
Expand Down

0 comments on commit d7b17ab

Please sign in to comment.