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

Commit d570093

Browse files
authored
Update run-readme-pr.yml
Include `run-docs native` in workflow
1 parent dca1d0c commit d570093

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,46 @@ jobs:
287287
echo "::endgroup::"
288288
289289
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs multimodal
290+
291+
test-native-any:
292+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
293+
with:
294+
runner: linux.g5.4xlarge.nvidia.gpu
295+
gpu-arch-type: cuda
296+
gpu-arch-version: "12.1"
297+
timeout: 60
298+
script: |
299+
echo "::group::Print machine info"
300+
uname -a
301+
echo "::endgroup::"
302+
303+
echo "::group::Install newer objcopy that supports --set-section-alignment"
304+
yum install -y devtoolset-10-binutils
305+
export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
306+
echo "::endgroup::"
307+
308+
.ci/scripts/run-docs native
309+
310+
echo "::group::Completion"
311+
echo "tests complete"
312+
echo "*******************************************"
313+
echo "::endgroup::"
314+
315+
test-native-cpu:
316+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
317+
with:
318+
runner: linux.g5.4xlarge.nvidia.gpu
319+
gpu-arch-type: cuda
320+
gpu-arch-version: "12.1"
321+
timeout: 60
322+
script: |
323+
echo "::group::Print machine info"
324+
uname -a
325+
echo "::endgroup::"
326+
327+
echo "::group::Install newer objcopy that supports --set-section-alignment"
328+
yum install -y devtoolset-10-binutils
329+
export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
330+
echo "::endgroup::"
331+
332+
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native

0 commit comments

Comments
 (0)