diff --git a/.github/workflows/dashboard_perf_test.yml b/.github/workflows/dashboard_perf_test.yml index 422d4aa85d..81ea40d341 100644 --- a/.github/workflows/dashboard_perf_test.yml +++ b/.github/workflows/dashboard_perf_test.yml @@ -16,7 +16,7 @@ jobs: torch-spec: - '--pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup miniconda uses: pytorch/test-infra/.github/actions/setup-miniconda@main @@ -55,7 +55,7 @@ jobs: # ${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 # ${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 - + # SAM 2.1 # ${CONDA_RUN} sh scripts/download_sam2_ckpts.sh ${CHECKPOINT_PATH}/sam2 # cd examples/sam2_amg_server diff --git a/.github/workflows/doc_build.yml b/.github/workflows/doc_build.yml index 8644d9d334..6c408b137a 100644 --- a/.github/workflows/doc_build.yml +++ b/.github/workflows/doc_build.yml @@ -28,7 +28,7 @@ jobs: python-version: ['3.11'] steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup conda env uses: conda-incubator/setup-miniconda@v2 with: @@ -50,7 +50,7 @@ jobs: run: | cd docs make html - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Doc-Build path: docs/build/html/ @@ -61,9 +61,9 @@ jobs: if: ${{ github.event_name == 'pull_request' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Doc-Build path: docs @@ -86,7 +86,7 @@ jobs: 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') steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: gh-pages persist-credentials: true diff --git a/.github/workflows/ruff_linter.yml b/.github/workflows/ruff_linter.yml index 40ac883e71..6d1b08ce43 100644 --- a/.github/workflows/ruff_linter.yml +++ b/.github/workflows/ruff_linter.yml @@ -34,7 +34,7 @@ jobs: PR_NUMBER=$(echo $PR_URL | grep -oE '[0-9]+$') echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name == 'workflow_dispatch' with: fetch-depth: 0 @@ -47,7 +47,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: github.event_name != 'workflow_dispatch' with: fetch-depth: 0 diff --git a/.github/workflows/trymerge.yml b/.github/workflows/trymerge.yml index 1db4926f9d..4bf5691123 100644 --- a/.github/workflows/trymerge.yml +++ b/.github/workflows/trymerge.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repo id: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.PYTORCH_MERGEBOT_TOKEN }}