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

Commit 618e72e

Browse files
authored
Add distributed tests to run-readme-pr.yml
Need to ensure this is the right runner, @lessw2020 can you please have a look -- torchchat uses the same runners as pytorch.
1 parent 2fc98f7 commit 618e72e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/run-readme-pr.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,3 +306,25 @@ jobs:
306306
echo "::endgroup::"
307307
308308
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native
309+
310+
test-distributed-cuda:
311+
permissions:
312+
id-token: write
313+
contents: read
314+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
315+
with:
316+
runner: linux.g5.4xlarge.nvidia.gpu
317+
gpu-arch-type: cuda
318+
gpu-arch-version: "12.4"
319+
timeout: 60
320+
script: |
321+
echo "::group::Print machine info"
322+
uname -a
323+
echo "::endgroup::"
324+
325+
.ci/scripts/run-docs distributed
326+
327+
echo "::group::Completion"
328+
echo "tests complete"
329+
echo "*******************************************"
330+
echo "::endgroup::"

0 commit comments

Comments
 (0)