-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 085_no_input_autoquant
- Loading branch information
Showing
25 changed files
with
1,155 additions
and
190 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
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,40 @@ | ||
name: PyTorch CUDA Nightly Smoke Test | ||
|
||
on: | ||
schedule: | ||
# 6 am PST every day | ||
- cron: "0 14 * * *" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: regression_test-${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }} | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: CUDA Nightly | ||
runs-on: linux.g5.12xlarge.nvidia.gpu | ||
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/cu121' | ||
gpu-arch-type: "cuda" | ||
gpu-arch-version: "12.1" | ||
|
||
|
||
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||
with: | ||
runner: ${{ matrix.runs-on }} | ||
gpu-arch-type: ${{ matrix.gpu-arch-type }} | ||
gpu-arch-version: ${{ matrix.gpu-arch-version }} | ||
script: | | ||
python -m pip install --upgrade pip | ||
pip install ${{ matrix.torch-spec }} | ||
pip install -r requirements.txt | ||
pip install -r dev-requirements.txt | ||
python setup.py install | ||
pytest test --verbose -s |
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
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
Oops, something went wrong.