Skip to content
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

Enable fp8 on sm89 #3624

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Enable fp8 on sm89 #3624

merged 4 commits into from
Dec 21, 2024

Conversation

jjsjann123
Copy link
Collaborator

fp8's supported has been lifted to sm89 since PTX ISA 8.1 and later per https://docs.nvidia.com/cuda/parallel-thread-execution/

@jjsjann123
Copy link
Collaborator Author

!test

Copy link
Collaborator

@crcrpar crcrpar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! now I can see the same traces as in Lightning-AI/lightning-thunder#1551 on my environment with RTX6000 Ada, with a diff in thunder

@jacobhinkle
Copy link
Collaborator

fp8's supported has been lifted to sm89 since PTX ISA 8.1 and later per https://docs.nvidia.com/cuda/parallel-thread-execution/

Does that technically mean we only support CUDA 12+ for this feature?

@jjsjann123
Copy link
Collaborator Author

fp8's supported has been lifted to sm89 since PTX ISA 8.1 and later per https://docs.nvidia.com/cuda/parallel-thread-execution/

Does that technically mean we only support CUDA 12+ for this feature?

good call. I think I should conditionally relax this one, depending on the build time CUDA version.

@jjsjann123
Copy link
Collaborator Author

!test

@jjsjann123
Copy link
Collaborator Author

!test

@jjsjann123 jjsjann123 merged commit 410e48f into main Dec 21, 2024
48 checks passed
@jjsjann123 jjsjann123 deleted the fp8_enable_on_sm89 branch December 21, 2024 13:58
jjsjann123 added a commit that referenced this pull request Dec 24, 2024
Fixing a version check for fp8 support.

bump nvfuser version for PR #3624, Framework integration needs to guard
against versions in order to decide whether to send fp8 operations to
nvfuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants