Repository navigation
[FlyDSL] Drop a rank-agreement fixture flag that #8117 made unneeded - #8482
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
READY FOR HUMAN REVIEWPR Self-ReviewRevision Author self-review accepted. Readiness report: Author answers
Show the author's self-review answersBehavior and intentValidation and unverified scopePR-specific questionChanged op testsPR state
Copilot findings
Code and op-test hygiene
Required CI
Shadow mode reports what would block but keeps the status successful. Set |
Motivation
#8262 (the same-repository CI mirror of #8002) merged an older head of #8002 that still set
ca._is_gfx1250 = Falsein the CPU communicator stand-in ofop_tests/flydsl_tests/test_flydsl_allreduce_rank_agreement.py. That line was a workaround from when_init_fly_rmsread_is_gfx1250; #8117 moved that read into__init__, so the line has no effect. #8002's final head had already dropped it.Technical details
Test results
On main d8dcefa,
python3 -m pytest op_tests/flydsl_tests/test_flydsl_allreduce_rank_agreement.py: 28 passed with the line and 28 passed without it. Black and Ruff pass.PR Self-Review
Reviewed revision
980c44c7475db5f89cd5b60bf4d0dddfacce2954Behavior and intent
Removes a test-fixture line that no longer affects anything: since #8117,
CustomAllreduce._init_fly_rmsdoes not read_is_gfx1250, so setting it on the stand-in changes nothing. No production behavior changes.Validation and unverified scope
On main d8dcefa in a ROCm container, the test file gave 28 passed both with and without the line. Black and Ruff pass. Unverified: none. The change removes one line from this CPU test file and touches nothing else, so there is no other path to verify.
PR-specific question
The only risk is a future
_init_fly_rmsthat reads_is_gfx1250again; the test would then fail with an AttributeError, which points at this stand-in directly.Changed op tests
op_tests/flydsl_tests/test_flydsl_allreduce_rank_agreement.py: removes a redundant fixture line; the tests and their assertions are unchanged.