Skip to content

Commit

Permalink
Update run-readme-pr.yml
Browse files Browse the repository at this point in the history
Cleanup, comment non-working tests
  • Loading branch information
mikekgfb authored Feb 17, 2025
1 parent 227e608 commit 8a349c6
Showing 1 changed file with 24 additions and 33 deletions.
57 changes: 24 additions & 33 deletions .github/workflows/run-readme-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,9 @@ jobs:
script: |
echo "::group::Print machine info and try install pip and/or pip3"
set -x
which pip || true
which pip3 || true
which conda || true
apt-get install pip3 pip || true
which pip || true
which pip3 || true
which conda || true
uname -a
echo "::endgroup::"
which pip || true
which pip3 || true
which conda || true
.ci/scripts/run-docs readme
echo "::group::Completion"
Expand All @@ -54,11 +44,7 @@ jobs:
script: |
echo "::group::Print machine info and try install pip and/or pip3"
set -x
apt-get install pip3 pip || true
uname -a
which pip || true
which pip3 || true
which conda || true
echo "::endgroup::"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs readme
Expand All @@ -81,7 +67,6 @@ jobs:
script: |
echo "::group::Print machine info and try install pip and/or pip3"
set -x
apt-get install pip3 pip || true
uname -a
echo "::endgroup::"
Expand All @@ -105,7 +90,6 @@ jobs:
script: |
echo "::group::Print machine info and try install pip and/or pip3"
set -x
apt-get install pip3 pip || true
uname -a
echo "::endgroup::"
Expand Down Expand Up @@ -264,7 +248,7 @@ jobs:
uname -a
echo "::endgroup::"
.ci/scripts/run-docs multimodal
# .ci/scripts/run-docs multimodal
echo "::group::Completion"
echo "tests complete"
Expand All @@ -286,50 +270,57 @@ jobs:
uname -a
echo "::endgroup::"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs multimodal
# TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs multimodal
test-native-any:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
with:
runner: linux.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda
gpu-arch-version: "12.1"
gpu-arch-version: "12.4"
timeout: 60
script: |
echo "::group::Print machine info"
uname -a
echo "::endgroup::"
echo "::group::Install newer objcopy that supports --set-section-alignment"
yum install -y devtoolset-10-binutils
export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
echo "::endgroup::"
# echo "::group::Install newer objcopy that supports --set-section-alignment"
# yum install -y devtoolset-10-binutils
# export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
# echo "::endgroup::"
.ci/scripts/run-docs native
# ERROR: No matching distribution found for torch==2.7.0.dev20250124
# .ci/scripts/run-docs native
echo "::group::Completion"
echo "tests complete"
echo "*******************************************"
echo "::endgroup::"
test-native-cpu:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
permissions:
id-token: write
contents: read
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
with:
runner: linux.g5.4xlarge.nvidia.gpu
gpu-arch-type: cuda
gpu-arch-version: "12.1"
gpu-arch-version: "12.4"
timeout: 60
script: |
echo "::group::Print machine info"
uname -a
echo "::endgroup::"
echo "::group::Install newer objcopy that supports --set-section-alignment"
yum install -y devtoolset-10-binutils
export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
echo "::endgroup::"
# echo "::group::Install newer objcopy that supports --set-section-alignment"
# yum install -y devtoolset-10-binutils
# export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
# echo "::endgroup::"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native
# TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native
test-distributed-cuda:
permissions:
Expand All @@ -346,7 +337,7 @@ jobs:
uname -a
echo "::endgroup::"
.ci/scripts/run-docs distributed
# .ci/scripts/run-docs distributed
echo "::group::Completion"
echo "tests complete"
Expand Down

0 comments on commit 8a349c6

Please sign in to comment.