-
Notifications
You must be signed in to change notification settings - Fork 310
Enable float8 CI on sm89 #587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 19 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
87efbf9
updates
jainapurva bd89a74
Updates
jainapurva 5531492
Updated the gpu name
jainapurva c842f83
Trying to test only fp8
jainapurva 5ca399d
Updates
jainapurva a27985a
Updates
jainapurva 6aff39c
Updates
jainapurva d4531e0
Updates
jainapurva c14fde0
Updates
jainapurva e197597
Trying custom test
jainapurva e2f1dfa
updates
jainapurva 1b4f4c1
Updates
jainapurva 2145c57
Added torch nightly
jainapurva d495e16
Added torch nightly
jainapurva 4341fd6
updates
jainapurva 19607f0
updates'
jainapurva 76867c2
Seperate tests
jainapurva 487f669
updated names
jainapurva f930591
updated names
jainapurva 23b950f
remove H100 check
jainapurva 77e42e8
remove H100 check
jainapurva cf9f173
Failing test case
jainapurva 521da10
Test on torch latest version
jainapurva 0d948fb
unpin torch
jainapurva 3c96f49
Updated comments
jainapurva ba7a82c
Failing test fixes
jainapurva a40bc10
updated name
jainapurva 13023d4
Updates testing
jainapurva 01f0ba1
Fixes for failing tests
jainapurva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,46 @@ | ||
name: Test float8 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: float8_test-${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
HF_TOKEN: ${{ secrets.HF_TOKEN }} | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: SM-89 | ||
runs-on: amz2023.linux.g6.4xlarge.experimental.nvidia.gpu | ||
torch-spec: '--pre torch==2.5.0.dev20240728+cu121 --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: | ||
timeout: 60 | ||
runner: ${{ matrix.runs-on }} | ||
gpu-arch-type: ${{ matrix.gpu-arch-type }} | ||
gpu-arch-version: ${{ matrix.gpu-arch-version }} | ||
script: | | ||
conda create -n venv python=3.9 -y | ||
conda activate venv | ||
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 | ||
python -m pip install --upgrade pip | ||
pip install ${{ matrix.torch-spec }} | ||
pip install -r dev-requirements.txt | ||
pip install . | ||
pytest test/float8 --verbose -s |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.