Megatron-LM
Megatron-LM copied to clipboard
Fix NameError in is_flashinfer_min_version with check_equality=False
- [x] I, the PR author, have personally reviewed every line of this PR.
What does this PR do ?
Fix is_flashinfer_min_version raising NameError when called with check_equality=False: the strict-comparison branch referenced a misspelled variable flashinver_version.
Issue tracking
Linked issue: Fixes #5264
Contribution process
Pre-checks
- [x] I have added relevant unit tests
- [ ] I have added relevant functional tests
- [ ] I have added proper typing to my code Typing guidelines
- [ ] I have added relevant documentation
- [x] I have run the autoformatter.sh on my PR
Tests:
python -m torch.distributed.run --nproc-per-node 1 -m pytest -q tests/unit_tests/test_utils.py::test_is_flashinfer_min_version
This pull request requires additional validation before any workflows can run on NVIDIA's runners.
Pull request vetters can view their responsibilities here.
Contributors can view more details about this message here.
/ok to test 6ba1254
/claude review