Conversation
Keep TF32 as the default and support INFINIOP_METAX_ALLOW_TF32=0 at descriptor creation. Validate the precision choice in isolated processes.
41 tasks
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.
MetaX FP32 GEMM unconditionally selects TF32, so strict FP32 Mamba continuation comparisons fail even when NVIDIA's TF32 switch is disabled. Honor
INFINIOP_METAX_ALLOW_TF32=0at descriptor creation while preserving the default and existing FP16/BF16 accumulation behavior.Branch:
fix/metax-fp32-gemm. Base:InfiniLM-v0.2.9c.Three files (+73/-2): the precision switch, a subprocess regression covering default/strict modes, and usage documentation. Existing descriptors and captured graphs retain their selected policy; change it before process startup. This is numerical compatibility, not a claimed performance speedup.
Validation: both process-isolated regression cases passed on C500, MACA 3.5.3.20 and PyTorch 2.8.0+metax3.5.3.9. They cover three activation dtypes and rows 1/3/257. Current source matches the tested library's source snapshot. Format/whitespace checks passed. No fresh isolated-branch build or upstream CI was run.
Published as a draft while independent branch builds and upstream CI are pending.
Saved output, source provenance, device conditions and archived measurements: immutable evidence. Attachments live on a separate fork branch and are not part of this source diff.
CI at publication: fork Ruff passed; the independent fork CPU build/test matrix is in progress. The upstream run reports
action_requiredand needs repository-side approval. No successful upstream build is claimed.