Skip to content

Commit 7df34f3

Browse files
committed
SDPA tutorial requires newer CUDA, so host it on an A10G
1 parent 8e6f1d1 commit 7df34f3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.jenkins/get_files_to_run.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def add_to_shard(i, filename):
4646
needs_gpu_nvidia_medium = list(
4747
filter(lambda x: get_needs_machine(x) == "gpu.nvidia.large", all_files,)
4848
)
49+
needs_a10g = list(
50+
filter(lambda x: get_needs_machine(x) == "linux.g5.4xlarge.nvidia.gpu", all_files,)
51+
)
4952
for filename in needs_gpu_nvidia_small_multi:
5053
# currently, the only job that uses gpu.nvidia.small.multi is the 0th worker,
5154
# so we'll add all the jobs that need this machine to the 0th worker
@@ -56,6 +59,11 @@ def add_to_shard(i, filename):
5659
# so we'll add all the jobs that need this machine to the 1st worker
5760
add_to_shard(1, filename)
5861
all_other_files.remove(filename)
62+
for filename in needs_a10g:
63+
# currently, workers 2-5th use linux.g5.4xlarge.nvidia.gpu, so, arbitrarily,
64+
# we'll add all the jobs that need this machine to the 5th worker
65+
add_to_shard(5, filename)
66+
all_other_files.remove(filename)
5967

6068
sorted_files = sorted(all_other_files, key=get_duration, reverse=True,)
6169

.jenkins/metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@
3030
},
3131
"intermediate_source/torch_compile_tutorial.py": {
3232
"needs": "gpu.nvidia.large"
33+
},
34+
"intermediate_source/scaled_dot_product_attention_tutorial.py": {
35+
"needs": "linux.g5.4xlarge.nvidia.gpu"
3336
}
3437
}

0 commit comments

Comments
 (0)