|
| 1 | +name: Run the README instructions - with stories - on Linux aarch64 |
| 2 | + |
| 3 | +on: |
| 4 | + pull_request: |
| 5 | + push: |
| 6 | + branches: |
| 7 | + - main |
| 8 | + workflow_dispatch: |
| 9 | + |
| 10 | +jobs: |
| 11 | + test-readme-cpu: |
| 12 | + uses: pytorch/test-infra/.github/workflows/linux_job.yml@main |
| 13 | + with: |
| 14 | + runner: linux-aarch64 |
| 15 | + gpu-arch-type: cuda |
| 16 | + gpu-arch-version: "12.1" |
| 17 | + timeout: 60 |
| 18 | + script: | |
| 19 | + echo "::group::Print machine info" |
| 20 | + uname -a |
| 21 | + echo "::endgroup::" |
| 22 | +
|
| 23 | + echo "::group::Install newer objcopy that supports --set-section-alignment" |
| 24 | + yum install -y devtoolset-10-binutils |
| 25 | + export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH |
| 26 | + echo "::endgroup::" |
| 27 | +
|
| 28 | + TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs readme |
| 29 | +
|
| 30 | + echo "::group::Completion" |
| 31 | + echo "tests complete" |
| 32 | + echo "*******************************************" |
| 33 | + echo "::endgroup::" |
| 34 | +
|
| 35 | + test-quantization-cpu: |
| 36 | + uses: pytorch/test-infra/.github/workflows/linux_job.yml@main |
| 37 | + with: |
| 38 | + runner: linux-aarch64 |
| 39 | + gpu-arch-type: cuda |
| 40 | + gpu-arch-version: "12.1" |
| 41 | + timeout: 60 |
| 42 | + script: | |
| 43 | + echo "::group::Print machine info" |
| 44 | + uname -a |
| 45 | + echo "::endgroup::" |
| 46 | +
|
| 47 | + echo "::group::Install newer objcopy that supports --set-section-alignment" |
| 48 | + yum install -y devtoolset-10-binutils |
| 49 | + export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH |
| 50 | + echo "::endgroup::" |
| 51 | +
|
| 52 | + TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs quantization |
| 53 | +
|
| 54 | + test-gguf-cpu: |
| 55 | + uses: pytorch/test-infra/.github/workflows/linux_job.yml@main |
| 56 | + with: |
| 57 | + runner: linux-aarch64 |
| 58 | + gpu-arch-type: cuda |
| 59 | + gpu-arch-version: "12.1" |
| 60 | + timeout: 60 |
| 61 | + script: | |
| 62 | + echo "::group::Print machine info" |
| 63 | + uname -a |
| 64 | + echo "::endgroup::" |
| 65 | +
|
| 66 | + echo "::group::Install newer objcopy that supports --set-section-alignment" |
| 67 | + yum install -y devtoolset-10-binutils |
| 68 | + export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH |
| 69 | + echo "::endgroup::" |
| 70 | +
|
| 71 | + TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs gguf |
| 72 | +
|
| 73 | + echo "::group::Completion" |
| 74 | + echo "tests complete" |
| 75 | + echo "*******************************************" |
| 76 | + echo "::endgroup::" |
| 77 | +
|
| 78 | + test-advanced-cpu: |
| 79 | + uses: pytorch/test-infra/.github/workflows/linux_job.yml@main |
| 80 | + with: |
| 81 | + runner: linux-aarch64 |
| 82 | + gpu-arch-type: cuda |
| 83 | + gpu-arch-version: "12.1" |
| 84 | + timeout: 60 |
| 85 | + script: | |
| 86 | + echo "::group::Print machine info" |
| 87 | + uname -a |
| 88 | + echo "::endgroup::" |
| 89 | +
|
| 90 | + echo "::group::Install newer objcopy that supports --set-section-alignment" |
| 91 | + yum install -y devtoolset-10-binutils |
| 92 | + export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH |
| 93 | + echo "::endgroup::" |
| 94 | +
|
| 95 | + TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs advanced |
| 96 | +
|
| 97 | + echo "::group::Completion" |
| 98 | + echo "tests complete" |
| 99 | + echo "*******************************************" |
| 100 | + echo "::endgroup::" |
| 101 | +
|
| 102 | + test-evaluation-cpu: |
| 103 | + uses: pytorch/test-infra/.github/workflows/linux_job.yml@main |
| 104 | + with: |
| 105 | + runner: linux-aarch64 |
| 106 | + gpu-arch-type: cuda |
| 107 | + gpu-arch-version: "12.1" |
| 108 | + timeout: 60 |
| 109 | + script: | |
| 110 | + echo "::group::Print machine info" |
| 111 | + uname -a |
| 112 | + echo "::endgroup::" |
| 113 | +
|
| 114 | + echo "::group::Install newer objcopy that supports --set-section-alignment" |
| 115 | + yum install -y devtoolset-10-binutils |
| 116 | + export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH |
| 117 | + echo "::endgroup::" |
| 118 | +
|
| 119 | + TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs evaluation |
| 120 | +
|
| 121 | + echo "::group::Completion" |
| 122 | + echo "tests complete" |
| 123 | + echo "*******************************************" |
| 124 | + echo "::endgroup::" |
0 commit comments