Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 136feef

Browse files
committed
ci: default GPU vis 0
1 parent 615556a commit 136feef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure/testing-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# map the output variable from A into this job
3030
configs: $[ dependencies.check_diff.outputs['files.diff'] ]
3131
config: "${{ config }}"
32-
DEVICES: $( python -c 'name = "$(Agent.Name)" ; gpus = name.split("_")[-1] if "_" in name else "0,1"; print(gpus)' )
32+
DEVICES: $( python -c 'name = "$(Agent.Name)" ; gpus = name.split("_")[-1] if "_" in name else "0"; print(gpus)' )
3333

3434
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), contains(variables['configs'], variables['config']))
3535
# how long to run the job before automatically cancelling

0 commit comments

Comments
 (0)