-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create run-readme-pr-linuxaarch64 (#1350)
* Create run-readme-pr-linuxaarch64 Test torchchat on aarch64 linux * Rename run-readme-pr-linuxaarch64 to run-readme-pr-linuxaarch64.yml add yml extension. * Update ADVANCED-USERS.md Update doc to indicate testing for ARMv8/aarch64 on Linux/raspbian is introduced by this PR --------- Co-authored-by: Jack-Khuu <[email protected]>
- Loading branch information
Showing
2 changed files
with
126 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
name: Run the README instructions - with stories - on Linux aarch64 | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-readme-cpu: | ||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: linux-aarch64 | ||
gpu-arch-type: cuda | ||
gpu-arch-version: "12.1" | ||
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::" | ||
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs readme | ||
echo "::group::Completion" | ||
echo "tests complete" | ||
echo "*******************************************" | ||
echo "::endgroup::" | ||
test-quantization-cpu: | ||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: linux-aarch64 | ||
gpu-arch-type: cuda | ||
gpu-arch-version: "12.1" | ||
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::" | ||
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs quantization | ||
test-gguf-cpu: | ||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: linux-aarch64 | ||
gpu-arch-type: cuda | ||
gpu-arch-version: "12.1" | ||
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::" | ||
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs gguf | ||
echo "::group::Completion" | ||
echo "tests complete" | ||
echo "*******************************************" | ||
echo "::endgroup::" | ||
test-advanced-cpu: | ||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: linux-aarch64 | ||
gpu-arch-type: cuda | ||
gpu-arch-version: "12.1" | ||
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::" | ||
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs advanced | ||
echo "::group::Completion" | ||
echo "tests complete" | ||
echo "*******************************************" | ||
echo "::endgroup::" | ||
test-evaluation-cpu: | ||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: linux-aarch64 | ||
gpu-arch-type: cuda | ||
gpu-arch-version: "12.1" | ||
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::" | ||
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs evaluation | ||
echo "::group::Completion" | ||
echo "tests complete" | ||
echo "*******************************************" | ||
echo "::endgroup::" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters