File tree 4 files changed +10
-10
lines changed
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 16
16
torch-spec :
17
17
- ' --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124'
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
21
21
- name : Setup miniconda
22
22
uses : pytorch/test-infra/.github/actions/setup-miniconda@main
55
55
# ${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
56
56
57
57
# ${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
+
59
59
# SAM 2.1
60
60
# ${CONDA_RUN} sh scripts/download_sam2_ckpts.sh ${CHECKPOINT_PATH}/sam2
61
61
# cd examples/sam2_amg_server
Original file line number Diff line number Diff line change 28
28
python-version : ['3.11']
29
29
steps :
30
30
- name : Check out repo
31
- uses : actions/checkout@v3
31
+ uses : actions/checkout@v4
32
32
- name : Setup conda env
33
33
uses : conda-incubator/setup-miniconda@v2
34
34
with :
50
50
run : |
51
51
cd docs
52
52
make html
53
- - uses : actions/upload-artifact@v3
53
+ - uses : actions/upload-artifact@v4
54
54
with :
55
55
name : Doc-Build
56
56
path : docs/build/html/
61
61
if : ${{ github.event_name == 'pull_request' }}
62
62
steps :
63
63
- name : Checkout
64
- uses : actions/checkout@v3
64
+ uses : actions/checkout@v4
65
65
- name : Download artifact
66
- uses : actions/download-artifact@v3
66
+ uses : actions/download-artifact@v4
67
67
with :
68
68
name : Doc-Build
69
69
path : docs
86
86
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')
87
87
steps :
88
88
- name : Checkout
89
- uses : actions/checkout@v3
89
+ uses : actions/checkout@v4
90
90
with :
91
91
ref : gh-pages
92
92
persist-credentials : true
Original file line number Diff line number Diff line change 34
34
PR_NUMBER=$(echo $PR_URL | grep -oE '[0-9]+$')
35
35
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
36
36
37
- - uses : actions/checkout@v3
37
+ - uses : actions/checkout@v4
38
38
if : github.event_name == 'workflow_dispatch'
39
39
with :
40
40
fetch-depth : 0
47
47
env :
48
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
49
50
- - uses : actions/checkout@v3
50
+ - uses : actions/checkout@v4
51
51
if : github.event_name != 'workflow_dispatch'
52
52
with :
53
53
fetch-depth : 0
Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Checkout repo
18
18
id : checkout
19
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
20
20
with :
21
21
fetch-depth : 0
22
22
token : ${{ secrets.PYTORCH_MERGEBOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments