Skip to content

Re-enable FlexAttention bitwise tests - #3331

Merged
ydwu4 merged 15 commits into
mainfrom
gh/ydwu4/9/head
May 27, 2026
Merged

ydwu4 merged 15 commits into
mainfrom
gh/ydwu4/9/head

Conversation

@ydwu4

@ydwu4 ydwu4 commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 12, 2026
ydwu4 added a commit that referenced this pull request May 12, 2026
ghstack-source-id: 94e179c
Pull Request resolved: #3331
ydwu4 added a commit that referenced this pull request May 12, 2026
ghstack-source-id: 963cf04
Pull Request resolved: #3331
@SherlockNoMad SherlockNoMad added the ciflow/h100.8 Trigger H100.8 CI label May 12, 2026
@SherlockNoMad

Copy link
Copy Markdown
Contributor

not sure if the autoparallel related tests are fixed,
but let's see.

Also, let's see if titan's torch nightly has picked up your fix.

ydwu4 added 2 commits May 18, 2026 15:00
[ghstack-poisoned]
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 18, 2026
ghstack-source-id: 8e3f962
Pull Request resolved: #3331
ydwu4 added 2 commits May 19, 2026 15:04
[ghstack-poisoned]
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 19, 2026
ghstack-source-id: 4dbaee4
Pull Request resolved: #3331
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 20, 2026
ghstack-source-id: ab65456

Pull Request resolved: #3331
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 20, 2026
ghstack-source-id: 452c759

Pull Request resolved: #3331
ydwu4 added a commit that referenced this pull request May 20, 2026
ghstack-source-id: dfe33cc

Pull Request resolved: #3331
@ydwu4
ydwu4 changed the base branch from gh/ydwu4/9/base to main May 20, 2026 20:26
ydwu4 added 2 commits May 24, 2026 11:30
[ghstack-poisoned]
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 24, 2026
ghstack-source-id: 32031ca

Pull Request resolved: #3331
ydwu4 added 2 commits May 27, 2026 07:07
[ghstack-poisoned]
[ghstack-poisoned]
ydwu4 added a commit that referenced this pull request May 27, 2026
ghstack-source-id: a6538b9

Pull Request resolved: #3331
@ydwu4

ydwu4 commented May 27, 2026 •

Copy link
Copy Markdown
Contributor Author

I'm going to land it. The CI failures are pre-existing:

  RuntimeError: "histogram_cpu" not implemented for 'torch.int64'
  
  Sharding propagation failed for aten.histc.default(Spec(i64[49152](_S(0, 8))), 8, 0, 8) on DeviceMesh((tp=2), 'cuda', stride=(1,)))

and

Traceback (most recent call last):
  File "/pytorch/torchtitan/scripts/loss_compare.py", line 791, in test_losses_equal
    self.assertEqual(
AssertionError: 8.048105239868164 != 8.048103332519531 : Loss mismatch at step 1: baseline=8.048105239868164, imported=8.048103332519531

@ydwu4
ydwu4 merged commit f39e124 into main May 27, 2026
14 of 16 checks passed
saforem2 added a commit to saforem2/torchtitan that referenced this pull request May 27, 2026
… routing

Merged 7 upstream commits (19c567f..af33f76). Documents which
ones needed ezpz replays:

- PR pytorch#3398 (Module subclass refactor): 3 import paths replayed in
  b052f29 — pure import-path swap, class API unchanged.
- PR pytorch#3146 (deterministic MoE routing): inherits transitively; this
  is the upstream fix for the _histc_xpu non-determinism blocker
  we hit on 2026-05-21. --debug.deterministic on MoE+XPU should now
  work.
- PR pytorch#3423 (MoE [7/n] 3D tensors): inherits transitively; doesn't
  touch deepseek_v3 callsites.
- PR pytorch#3105 (FSDP symm_mem): skipped — ezpz has its own apply_fsdp
  and symm_mem is an optional optimization XPU CCL likely doesn't
  support.
- PRs pytorch#3331/pytorch#3369/pytorch#3361: graph_trainer-only no-ops.

Captures two action items: smoke-test before next production push,
and re-try --debug.deterministic on MoE+XPU.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/h100.8 Trigger H100.8 CI ciflow/8gpu CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants