Repository navigation
[ROCm] Support mxfp8 on gfx950. - #2222
Merged
Merged
Conversation
RuibinCheung
requested review from
fegin,
tianyu-l,
wconstab and
wwwjn
as code owners
January 13, 2026 06:40
RuibinCheung
marked this pull request as draft
January 13, 2026 06:40
RuibinCheung
marked this pull request as ready for review
January 16, 2026 03:13
Contributor
Author
|
Ready review because the depend PR is merged into TorchAO. |
tianyu-l
requested changes
Jan 19, 2026
tianyu-l
left a comment
Contributor
There was a problem hiding this comment.
Thanks. One nit comment.
| ) | ||
|
|
||
|
|
||
| def is_rocm() -> bool: |
Contributor
There was a problem hiding this comment.
If it's only used in the function below, can we merge the code into it, instead of making it standalone? We can revisit this later when things change.
tianyu-l
reviewed
Jan 19, 2026
| ), "MXFP8 is only supported on SM100 or architectures" | ||
| assert has_cuda_capability(10, 0) or has_rocm_capability( | ||
| 9, 5 | ||
| ), "MXFP8 is only supported on SM100 or later or ROCm gfx950 or later" |
Contributor
There was a problem hiding this comment.
please mention counterpart of ROCm, e.g.
Suggested change
| ), "MXFP8 is only supported on SM100 or later or ROCm gfx950 or later" | |
| ), "MXFP8 is only supported on CUDA SM100 or later, or ROCm gfx950 or later" |
or Blackwell
tianyu-l
approved these changes
Jan 19, 2026
Contributor
Author
|
Seems the Pyrefly check failed but I don't think my change affect these code. Could you help me take a look? @tianyu-l |
wwwjn
pushed a commit
to wwwjn/torchtitan
that referenced
this pull request
Jan 30, 2026
* Support mxfp8 on gfx950. It depends on TorchAO (pytorch/ao#3620).
xrsrke
pushed a commit
to NousResearch/torchtitan
that referenced
this pull request
Feb 13, 2026
* Support mxfp8 on gfx950. It depends on TorchAO (pytorch/ao#3620).
TXacs
pushed a commit
to McmillanTAC/torchtitan
that referenced
this pull request
Apr 13, 2026
* Support mxfp8 on gfx950. It depends on TorchAO (pytorch/ao#3620).
ACharacterInASimulation
pushed a commit
to ACharacterInASimulation/torchtitan
that referenced
this pull request
Apr 21, 2026
* Support mxfp8 on gfx950. It depends on TorchAO (pytorch/ao#3620).
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
It depends on TorchAO (pytorch/ao#3620).