Skip to content

Commit 871ab30

Browse files
drisspgamdfaa
authored andcommitted
Update CI to ues checkout v4 (#1533)
1 parent 5e4d382 commit 871ab30

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/dashboard_perf_test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
torch-spec:
1717
- '--pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124'
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Setup miniconda
2222
uses: pytorch/test-infra/.github/actions/setup-miniconda@main
@@ -55,7 +55,7 @@ jobs:
5555
# ${CONDA_RUN} python torchao/_models/sam/eval_combo.py --coco_root_dir datasets/coco2017 --coco_slice_name val2017 --sam_checkpoint_base_path checkpoints --sam_model_type vit_h --point_sampling_cache_dir tmp/sam_coco_mask_center_cache --mask_debug_out_dir tmp/sam_eval_masks_out --batch_size 32 --num_workers 8 --use_compile max-autotune --use_half bfloat16 --device cuda --output_json_path ${{ runner.temp }}/benchmark-results/sam-benchmark-results.json
5656
5757
# ${CONDA_RUN} python torchao/_models/sam/eval_combo.py --coco_root_dir datasets/coco2017 --coco_slice_name val2017 --sam_checkpoint_base_path checkpoints --sam_model_type vit_h --point_sampling_cache_dir tmp/sam_coco_mask_center_cache --mask_debug_out_dir tmp/sam_eval_masks_out --batch_size 32 --num_workers 8 --use_compile max-autotune --use_half bfloat16 --device cuda --compression autoquant --output_json_path ${{ runner.temp }}/benchmark-results/sam-benchmark-results.json
58-
58+
5959
# SAM 2.1
6060
# ${CONDA_RUN} sh scripts/download_sam2_ckpts.sh ${CHECKPOINT_PATH}/sam2
6161
# cd examples/sam2_amg_server

.github/workflows/doc_build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: ['3.11']
2929
steps:
3030
- name: Check out repo
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
- name: Setup conda env
3333
uses: conda-incubator/setup-miniconda@v2
3434
with:
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd docs
5252
make html
53-
- uses: actions/upload-artifact@v3
53+
- uses: actions/upload-artifact@v4
5454
with:
5555
name: Doc-Build
5656
path: docs/build/html/
@@ -61,9 +61,9 @@ jobs:
6161
if: ${{ github.event_name == 'pull_request' }}
6262
steps:
6363
- name: Checkout
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
- name: Download artifact
66-
uses: actions/download-artifact@v3
66+
uses: actions/download-artifact@v4
6767
with:
6868
name: Doc-Build
6969
path: docs
@@ -86,7 +86,7 @@ jobs:
8686
if: github.repository == 'pytorch/ao' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
8787
steps:
8888
- name: Checkout
89-
uses: actions/checkout@v3
89+
uses: actions/checkout@v4
9090
with:
9191
ref: gh-pages
9292
persist-credentials: true

.github/workflows/ruff_linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
PR_NUMBER=$(echo $PR_URL | grep -oE '[0-9]+$')
3535
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
3636
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838
if: github.event_name == 'workflow_dispatch'
3939
with:
4040
fetch-depth: 0
@@ -47,7 +47,7 @@ jobs:
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949

50-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
5151
if: github.event_name != 'workflow_dispatch'
5252
with:
5353
fetch-depth: 0

.github/workflows/trymerge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Checkout repo
1818
id: checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222
token: ${{ secrets.PYTORCH_MERGEBOT_TOKEN }}

0 commit comments

Comments
 (0)