Add xnnpack to default build #69
Workflow file for this run
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
name: Run the README instructions - with stories | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test-readme-any: | |
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | |
with: | |
runner: linux.g5.4xlarge.nvidia.gpu | |
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::" | |
echo "::group::Create script" | |
python3 scripts/updown.py --file README.md --replace llama3:stories15M --suppress huggingface-cli,HF_TOKEN > ./we-run-this.sh | |
# for good measure, if something happened to updown processor, | |
# and it did not error out, fail with an exit 1 | |
echo "exit 1" >> ./we-run-this.sh | |
echo "::endgroup::" | |
echo "::group::Run This" | |
echo "*******************************************" | |
cat ./we-run-this.sh | |
echo "*******************************************" | |
bash -x ./we-run-this.sh | |
echo "tests complete" | |
echo "*******************************************" | |
echo "::endgroup::" |