Skip to content

Tests HybridEP integration with GraphTrainer - #3184

Merged
syed-ahmed merged 6 commits into
mainfrom
gh/syed-ahmed/2/head
May 7, 2026
Merged

syed-ahmed merged 6 commits into
mainfrom
gh/syed-ahmed/2/head

Conversation

@syed-ahmed

@syed-ahmed syed-ahmed commented Apr 30, 2026 •

Copy link
Copy Markdown
Collaborator

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
syed-ahmed added a commit that referenced this pull request Apr 30, 2026
DEEPEP_COMMIT=1b8f467
git clone --branch hybrid-ep https://github.com/deepseek-ai/deepep.git /tmp/deepep
pushd /tmp/deepep && git checkout $DEEPEP_COMMIT
CUDA_HOME=/usr/local/cuda TORCH_CUDA_ARCH_LIST="9.0" pip install --no-build-isolation -e .

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how much time does it add to the CI to build from source?
we currently only have 1 runner of h100.8 for titan CI.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes ~2 min. Would it make sense to put in the docker container instead? Something like ./install_deepep.sh?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 mins shouldn't be too bad... but we only have 1 runner. so poor...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:'( Hopefully we'll have more soon!

# NVSHMEM's #include "cuda/std/tuple" resolves correctly.
sudo ln -sf /usr/local/cuda/include/cccl/cuda /usr/local/cuda/include/cuda

# Install DeepEP for HybridEP integration test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the first CI in titan that installs DeepEP?

I see DeepEP is available in titan core, but didn't see such install in other github action yaml.

How was DeepEP tested then?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, no CI support was added for the core integration: #2207 , and it was manually verified. Happy to add integration tests for core as well!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. If possible, please help add tests to core as well. Current CI capacity is limited, so let's repurpose existing tests in integration_tests/models.py
cc @shuhuayu

@syed-ahmed
syed-ahmed requested a review from SherlockNoMad May 1, 2026 19:32
@syed-ahmed syed-ahmed added ciflow/h100.8 Trigger H100.8 CI and removed ciflow/8gpu labels May 5, 2026
@syed-ahmed

Copy link
Copy Markdown
Collaborator Author

CI is green. The rocm failure doesn't seem to be relevant to this PR.

Comparing with the previous PR which doesn't install DeepEP - installing DeepEP adds 3 mins to the H100 integration tests - 18m 18s vs 21m 6s.

CI shows test is running with HybridEP:

2026-05-05T18:38:59.2111544Z INFO:root:===== 2026-05-05 18:38:59 Integration test, flavor : aot_fx_trace deepseek_v3 FSDP+TP+HybridEP, command : TORCH_TRACE="/home/alice/_work/_temp/artifacts-to-be-uploaded/aot_fx_trace_deepseek_v3_hybridep/compile_trace" NGPU=4 LOG_RANK=0,1,2,3 ./run_train.sh --dump_folder /home/alice/_work/_temp/artifacts-to-be-uploaded/aot_fx_trace_deepseek_v3_hybridep --module graph_trainer.deepseek_v3 --config graph_trainer_deepseek_v3_debugmodel_hybridep --compile.mode aot_fx_trace --parallelism.data_parallel_shard_degree 2 --parallelism.tensor_parallel_degree 2 --parallelism.expert_parallel_degree 2=====
2026-05-05T18:39:40.7854574Z INFO:root:[rank3]:[titan] 2026-05-05 18:39:08,217 - root - INFO - torchtitan version: 0.0.0+unknown (0.0.0 means __version__ is not defined correctly).
2026-05-05T18:39:40.7856647Z [rank2]:[titan] 2026-05-05 18:39:08,442 - root - INFO - torchtitan version: 0.0.0+unknown (0.0.0 means __version__ is not defined correctly).
2026-05-05T18:39:40.7859424Z [rank0]:[titan] 2026-05-05 18:39:08,527 - root - INFO - torchtitan version: 0.0.0+unknown (0.0.0 means __version__ is not defined correctly).
2026-05-05T18:39:40.7861077Z [rank1]:[titan] 2026-05-05 18:39:08,512 - root - INFO - torchtitan version: 0.0.0+unknown (0.0.0 means __version__ is not defined correctly).
2026-05-05T18:39:40.7862252Z [rank3]:[titan] 2026-05-05 18:39:08,697 - root - WARNING - ENV[TORCH_NCCL_ASYNC_ERROR_HANDLING] = 1 will be overridden to 3 based on job config
2026-05-05T18:39:40.7863475Z [rank3]:[titan] 2026-05-05 18:39:08,699 - root - INFO - Building device mesh with parallelism: pp=1, dp_replicate=1, dp_shard=2, cp=1, tp=2, ep=2
2026-05-05T18:39:40.7864407Z [rank3]:[titan] 2026-05-05 18:39:08,709 - root - INFO - Successfully created meshes with active dimensions: ['batch', 'loss', 'fsdp', 'tp', 'ep', 'efsdp']
2026-05-05T18:39:40.7865390Z [rank3]:[titan] 2026-05-05 18:39:08,710 - root - INFO - [GC] Initial GC collection took 0.00 seconds
2026-05-05T18:39:40.7867110Z [rank1]:[titan] 2026-05-05 18:39:09,224 - root - WARNING - ENV[TORCH_NCCL_ASYNC_ERROR_HANDLING] = 1 will be overridden to 3 based on job config
2026-05-05T18:39:40.7868376Z [rank1]:[titan] 2026-05-05 18:39:09,226 - root - INFO - Building device mesh with parallelism: pp=1, dp_replicate=1, dp_shard=2, cp=1, tp=2, ep=2
2026-05-05T18:39:40.7869301Z [rank1]:[titan] 2026-05-05 18:39:09,236 - root - INFO - Successfully created meshes with active dimensions: ['batch', 'loss', 'fsdp', 'tp', 'ep', 'efsdp']
2026-05-05T18:39:40.7870035Z [rank1]:[titan] 2026-05-05 18:39:09,237 - root - INFO - [GC] Initial GC collection took 0.00 seconds
2026-05-05T18:39:40.7870686Z [rank0]:[titan] 2026-05-05 18:39:09,225 - root - WARNING - ENV[TORCH_NCCL_ASYNC_ERROR_HANDLING] = 1 will be overridden to 3 based on job config
2026-05-05T18:39:40.7871420Z [rank0]:[titan] 2026-05-05 18:39:09,228 - root - INFO - Building device mesh with parallelism: pp=1, dp_replicate=1, dp_shard=2, cp=1, tp=2, ep=2
2026-05-05T18:39:40.7872191Z [rank0]:[titan] 2026-05-05 18:39:09,238 - root - INFO - Successfully created meshes with active dimensions: ['batch', 'loss', 'fsdp', 'tp', 'ep', 'efsdp']
2026-05-05T18:39:40.7872828Z [rank0]:[titan] 2026-05-05 18:39:09,238 - root - INFO - [GC] Initial GC collection took 0.00 seconds
2026-05-05T18:39:40.7873459Z [rank2]:[titan] 2026-05-05 18:39:09,209 - root - WARNING - ENV[TORCH_NCCL_ASYNC_ERROR_HANDLING] = 1 will be overridden to 3 based on job config
2026-05-05T18:39:40.7874220Z [rank2]:[titan] 2026-05-05 18:39:09,211 - root - INFO - Building device mesh with parallelism: pp=1, dp_replicate=1, dp_shard=2, cp=1, tp=2, ep=2
2026-05-05T18:39:40.7874994Z [rank2]:[titan] 2026-05-05 18:39:09,222 - root - INFO - Successfully created meshes with active dimensions: ['batch', 'loss', 'fsdp', 'tp', 'ep', 'efsdp']
2026-05-05T18:39:40.7875637Z [rank2]:[titan] 2026-05-05 18:39:09,222 - root - INFO - [GC] Initial GC collection took 0.00 seconds
2026-05-05T18:39:40.7876111Z [rank1]:[titan] 2026-05-05 18:39:10,948 - root - INFO - Loading tokenizer from tokenizer.json
2026-05-05T18:39:40.7876605Z [rank1]:[titan] 2026-05-05 18:39:10,956 - root - INFO - Preparing c4_test dataset from tests/assets/c4_test
2026-05-05T18:39:40.7877121Z [rank1]:[titan] 2026-05-05 18:39:10,986 - root - INFO - Building graph_trainer/deepseek_v3 debugmodel
2026-05-05T18:39:40.7877745Z [rank0]:[titan] 2026-05-05 18:39:10,947 - root - INFO - Loading tokenizer from tokenizer.json
2026-05-05T18:39:40.7878223Z [rank0]:[titan] 2026-05-05 18:39:10,955 - root - INFO - Preparing c4_test dataset from tests/assets/c4_test
2026-05-05T18:39:40.7878726Z [rank0]:[titan] 2026-05-05 18:39:10,986 - root - INFO - Building graph_trainer/deepseek_v3 debugmodel
2026-05-05T18:39:40.7879186Z [rank2]:[titan] 2026-05-05 18:39:10,947 - root - INFO - Loading tokenizer from tokenizer.json
2026-05-05T18:39:40.7879685Z [rank2]:[titan] 2026-05-05 18:39:10,954 - root - INFO - Preparing c4_test dataset from tests/assets/c4_test
2026-05-05T18:39:40.7880186Z [rank2]:[titan] 2026-05-05 18:39:10,985 - root - INFO - Building graph_trainer/deepseek_v3 debugmodel
2026-05-05T18:39:40.7880650Z [rank3]:[titan] 2026-05-05 18:39:10,948 - root - INFO - Loading tokenizer from tokenizer.json
2026-05-05T18:39:40.7881132Z [rank3]:[titan] 2026-05-05 18:39:10,957 - root - INFO - Preparing c4_test dataset from tests/assets/c4_test
2026-05-05T18:39:40.7881622Z [rank3]:[titan] 2026-05-05 18:39:10,989 - root - INFO - Building graph_trainer/deepseek_v3 debugmodel
2026-05-05T18:39:40.7882150Z [rank1]:[titan] 2026-05-05 18:39:11,012 - root - INFO - CUDA capacity: NVIDIA H100 80GB HBM3 with 79.18GiB memory
2026-05-05T18:39:40.7882813Z [rank1]:[titan] 2026-05-05 18:39:11,014 - root - WARNING - Error running lspci: [Errno 2] No such file or directory: 'lspci', fallback to use device_name
2026-05-05T18:39:40.7883544Z [rank1]:[titan] 2026-05-05 18:39:11,014 - root - INFO - Total parameter count: dense 23,173,376, sparse 9,840,640, active 28,098,816
2026-05-05T18:39:40.7884647Z [rank1]:[titan] 2026-05-05 18:39:11,014 - root - INFO - �[34mModel graph_trainer/deepseek_v3 debugmodel �[31msize: 33,014,016 total parameters�[39m
2026-05-05T18:39:40.7885561Z [rank1]:[titan] 2026-05-05 18:39:11,014 - root - INFO - Compiling the loss function with torch.compile
2026-05-05T18:39:40.7886167Z [rank1]:[titan] 2026-05-05 18:39:11,101 - root - INFO - Applied Data Parallel (simple_fsdp) (dp mode=fully_shard) to the model
2026-05-05T18:39:40.7886758Z [rank0]:[titan] 2026-05-05 18:39:11,012 - root - INFO - CUDA capacity: NVIDIA H100 80GB HBM3 with 79.18GiB memory
2026-05-05T18:39:40.7887546Z [rank0]:[titan] 2026-05-05 18:39:11,013 - root - WARNING - Error running lspci: [Errno 2] No such file or directory: 'lspci', fallback to use device_name
2026-05-05T18:39:40.7888273Z [rank0]:[titan] 2026-05-05 18:39:11,013 - root - INFO - Total parameter count: dense 23,173,376, sparse 9,840,640, active 28,098,816
2026-05-05T18:39:40.7889081Z [rank0]:[titan] 2026-05-05 18:39:11,013 - root - INFO - �[34mModel graph_trainer/deepseek_v3 debugmodel �[31msize: 33,014,016 total parameters�[39m
2026-05-05T18:39:40.7889711Z [rank0]:[titan] 2026-05-05 18:39:11,013 - root - INFO - Compiling the loss function with torch.compile
2026-05-05T18:39:40.7890301Z [rank0]:[titan] 2026-05-05 18:39:11,100 - root - INFO - Applied Data Parallel (simple_fsdp) (dp mode=fully_shard) to the model
2026-05-05T18:39:40.7890882Z [rank2]:[titan] 2026-05-05 18:39:11,011 - root - INFO - CUDA capacity: NVIDIA H100 80GB HBM3 with 79.18GiB memory
2026-05-05T18:39:40.7891537Z [rank2]:[titan] 2026-05-05 18:39:11,012 - root - WARNING - Error running lspci: [Errno 2] No such file or directory: 'lspci', fallback to use device_name
2026-05-05T18:39:40.7892245Z [rank2]:[titan] 2026-05-05 18:39:11,012 - root - INFO - Total parameter count: dense 23,173,376, sparse 9,840,640, active 28,098,816
2026-05-05T18:39:40.7893130Z [rank2]:[titan] 2026-05-05 18:39:11,012 - root - INFO - �[34mModel graph_trainer/deepseek_v3 debugmodel �[31msize: 33,014,016 total parameters�[39m
2026-05-05T18:39:40.7893752Z [rank2]:[titan] 2026-05-05 18:39:11,012 - root - INFO - Compiling the loss function with torch.compile
2026-05-05T18:39:40.7894319Z [rank2]:[titan] 2026-05-05 18:39:11,099 - root - INFO - Applied Data Parallel (simple_fsdp) (dp mode=fully_shard) to the model
2026-05-05T18:39:40.7894902Z [rank3]:[titan] 2026-05-05 18:39:11,015 - root - INFO - CUDA capacity: NVIDIA H100 80GB HBM3 with 79.18GiB memory
2026-05-05T18:39:40.7895553Z [rank3]:[titan] 2026-05-05 18:39:11,016 - root - WARNING - Error running lspci: [Errno 2] No such file or directory: 'lspci', fallback to use device_name
2026-05-05T18:39:40.7896247Z [rank3]:[titan] 2026-05-05 18:39:11,016 - root - INFO - Total parameter count: dense 23,173,376, sparse 9,840,640, active 28,098,816
2026-05-05T18:39:40.7897043Z [rank3]:[titan] 2026-05-05 18:39:11,016 - root - INFO - �[34mModel graph_trainer/deepseek_v3 debugmodel �[31msize: 33,014,016 total parameters�[39m
2026-05-05T18:39:40.7897778Z [rank3]:[titan] 2026-05-05 18:39:11,016 - root - INFO - Compiling the loss function with torch.compile
2026-05-05T18:39:40.7898345Z [rank3]:[titan] 2026-05-05 18:39:11,104 - root - INFO - Applied Data Parallel (simple_fsdp) (dp mode=fully_shard) to the model
2026-05-05T18:39:40.7899057Z [rank1]:[titan] 2026-05-05 18:39:11,613 - root - INFO - Pre-initialized HybridEP buffer (hidden_dim=256, num_tokens=16384, num_local_experts=4)
2026-05-05T18:39:40.7899739Z [rank1]:[titan] 2026-05-05 18:39:11,614 - root - INFO - aot_fx_trace compile mode: graph capture will happen at training time
2026-05-05T18:39:40.7900427Z [rank0]:[titan] 2026-05-05 18:39:11,614 - root - INFO - Pre-initialized HybridEP buffer (hidden_dim=256, num_tokens=16384, num_local_experts=4)
2026-05-05T18:39:40.7901105Z [rank0]:[titan] 2026-05-05 18:39:11,614 - root - INFO - aot_fx_trace compile mode: graph capture will happen at training time
2026-05-05T18:39:40.7901775Z [rank3]:[titan] 2026-05-05 18:39:11,609 - root - INFO - Pre-initialized HybridEP buffer (hidden_dim=256, num_tokens=16384, num_local_experts=4)
2026-05-05T18:39:40.7902600Z [rank3]:[titan] 2026-05-05 18:39:11,609 - root - INFO - aot_fx_trace compile mode: graph capture will happen at training time
2026-05-05T18:39:40.7903408Z [rank2]:[titan] 2026-05-05 18:39:11,609 - root - INFO - Pre-initialized HybridEP buffer (hidden_dim=256, num_tokens=16384, num_local_experts=4)
2026-05-05T18:39:40.7904083Z [rank2]:[titan] 2026-05-05 18:39:11,609 - root - INFO - aot_fx_trace compile mode: graph capture will happen at training time
2026-05-05T18:39:40.7904775Z [rank1]:[titan] 2026-05-05 18:39:12,376 - root - WARNING - Error running lspci: [Errno 2] No such file or directory: 'lspci', fallback to use device_name
2026-05-05T18:39:40.7905391Z [rank1]:[titan] 2026-05-05 18:39:12,377 - root - INFO - Peak FLOPS used for computing MFU: 9.890e+14
2026-05-05T18:39:40.7905875Z [rank1]:[titan] 2026-05-05 18:39:12,377 - root - INFO - CUDA memory usage for model: 0.04GiB(0.05%)

syed-ahmed added a commit that referenced this pull request May 5, 2026
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.14.0)
(oldest at bottom):
* #3184
* __->__ #3183


Upgraded CUDA version of the container to 13.0 to match the pytorch
wheel being installed.
Upgraded Ubuntu 20.04 to 22.04 since minimum OS version for CTK 13.0 is
22.04.
Changed runtime container to devel container, since DeepEP requires CTK
during compilation and also during runtime.
@syed-ahmed
syed-ahmed changed the base branch from gh/syed-ahmed/2/base to main May 5, 2026 22:36
@syed-ahmed
syed-ahmed changed the base branch from main to gh/syed-ahmed/2/base May 5, 2026 22:37
syed-ahmed added a commit that referenced this pull request May 5, 2026
[ghstack-poisoned]
[ghstack-poisoned]
syed-ahmed added a commit that referenced this pull request May 5, 2026
@syed-ahmed
syed-ahmed changed the base branch from gh/syed-ahmed/2/base to main May 5, 2026 22:49
# NVSHMEM's #include "cuda/std/tuple" resolves correctly.
sudo ln -sf /usr/local/cuda/include/cccl/cuda /usr/local/cuda/include/cuda

# Install DeepEP for HybridEP integration test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. If possible, please help add tests to core as well. Current CI capacity is limited, so let's repurpose existing tests in integration_tests/models.py
cc @shuhuayu

@syed-ahmed
syed-ahmed merged commit 4ebb089 into main May 7, 2026
13 checks passed
jialei777 pushed a commit to jialei777/torchtitan that referenced this pull request Oct 19, 2026
… commit `659a0d`).

This CL imports TorchTitan head and stabilizes the build. Supporting feature gaps to be done in follow-up CLs. **For a summary of major changes and disabled tests see [internal link]**

In this CL, we bypass the [ban](https://github.com/pytorch/torchtitan/blob/1c40dd26a91b0489249011a53d1da69061b03d38/torchtitan/models/common/config_utils.py#L85) of SDPA backend for language models in `models/common/config_utils.py` so our monkey patch to apply splash attention kernel works. Deprecation of sdpa backend on TPU and supporting document packing in the SplashAttention kernel is handled in child cl/954755047

In OSS, torch>=2.12 is **required**. After this update several files import `DataParallelMeshDims` from `torch.distributed.fsdp` which is only available in torch >=2.12

It disables the following tests:

b/540005818 Disabled for numerical divergences:
- test_train_minimal_distributed llama3_fsdp
- test_train_minimal_distributed llama3_simplefsdp
- test_train_minimal_distributed qwen3_simplefsdp
- test_flux_qkv_split TestFluxSingleStreamUnbind

Disabled for other reasons:
- b/540119277 test_fused_swiglu_override - circular import issue with spmd_type
- b/540048441 graph trainer tests (upstream refactored trace_train_step into minimal_fx_tracer API):
- b/540049946 deepseek_v3_tp_dtensor - Linear: output DTensor has placements (Shard(dim=1),), but out_src_shardings expects (Shard(dim=2),)

Tested on OSS with image built from torch 2.12:
- redacted SimpleFSDP Compiled: [10,925 TPS]([internal link]) (10,0922 at head)
- FLUX SimpleFSDP Compiled (F32 + BF16 MP): [3,737 TPS]([internal link]) (3652 at head)
- Llama3 SimpleFSDP Compiled: [5,444 TPS]([internal link]) (5384 at head)

See the list of commits: pytorch/torchtitan@627126f...659a0d2

#MIGRATION_3P_PY_TORCHTITAN__DEFAULT

  - 95ae6a0 ci: regenerate qwen3_moe_rocm_mi350x.txt baseline with ac... by Rishi Sinha <[email protected]>
  - db5da4b Refactor pipeline parallel helpers for graph PP reuse (#2... by sanketpurandare <[email protected]>
  - 6065055 Revert precompile PRs (pytorch#3107, pytorch#3178) to fix CI (pytorch#3212) by Bob Ren <[email protected]>
  - 179d9e1 CP AllGather on the wrong dimension (pytorch#3206) by francesco-bertolotti <[email protected]>
  - f522db0 Fix commands in DSV3 readme (pytorch#3116) by Daniel Vega-Myhre <[email protected]>
  - 0b148a2 [CI] Run integration tests in parallel (pytorch#3144) by Yuankai Chen <[email protected]>
  - 080c1d4 [GraphTrainer] Annotate loss region with module_fqn (pytorch#3207) by Sherlock Huang <[email protected]>
  - b2cd149 Observability: structured logging + training instrumentat... by Felipe Mello <[email protected]>
  - 706ed8d [GraphTrainer] Annotate generated FX code with user sourc... by Aditya Venkataraman <[email protected]>
  - af8d243 [GraphTrainer] Skip identity-slice rewrite when start/end... by Aditya Venkataraman <[email protected]>
  - d3c96e8 [mxfp8] Fix MXFP8GroupedExpertsConverter to actually swap... by Aditya Venkataraman <[email protected]>
  - d341407 [MoE] Pad token count to a multiple of sp_size in AllToAl... by Jiani Wang <[email protected]>
  - 2ae1340 [rl] add import torch to provisioner bootstrap to avoid c... by Shuhua Yu <[email protected]>
  - 0b6a29e [rl] Set PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True... by Felipe Mello <[email protected]>
  - 2c237ae refactor get_attention_masks to use positions instead of ... by liangel-02 <[email protected]>
  - 74bac7e [graph_trainer] FSDP AG RS overlap (pytorch#3156) by Yiming Zhou <[email protected]>
  - b6830b2 Upgrades torchtitan-ubuntu docker image to 22.04 and CTK ... by Syed Tousif Ahmed <[email protected]>
  - 5fa7af6 [float8] Quantize GroupedExperts params during conversion... by Aditya Venkataraman <[email protected]>
  - e62ab09 [rl] Fix CI loss=0 and logprob=NaN (pytorch#3232) by Jiani Wang <[email protected]>
  - f32a5bb [GraphTrainer] Overhaul README for accuracy and clarity (... by Sherlock Huang <[email protected]>
  - e425316 [rl] Remove VLLMGenerator.__del__ cleanup method (pytorch#3224) by Danielle Pintz <[email protected]>
  - ef54395 [graph_trainer] Move all FSDP-specific passes to fsdp_pas... by Yiming Zhou <[email protected]>
  - 301384b [GraphTrainer] Register BlockMask pytree node in aot_fx_t... by Bob Ren <[email protected]>
  - a24b247 [graph_trainer] Disable cpu_offload_all CI test for upstr... by Sherlock Huang <[email protected]>
  - 2dfee86 [GraphTrainer] Update manifesto: hardware heterogeneity, ... by Sherlock Huang <[email protected]>
  - c6cfaa2 Re-land "Enable bucketing pass in precompile path" (pytorch#3107... by Bob Ren <[email protected]>
  - ae5ff10 [cpu-offloading] Implement prefetching for cpu offloading... by Michael Lazos <[email protected]>
  - 046fdbb Support mark_unbacked in minimal_fx_tracer (pytorch#3046) by Tugsbayasgalan Manlaibaatar <[email protected]>
  - 8599818 [rl] Add a tag to trigger RL CI runs (pytorch#3230) by Jiani Wang <[email protected]>
  - 466da8c [graph_trainer] Port remat_using_tags_for_fwd_loss_bwd_gr... by Sherlock Huang <[email protected]>
  - 94d5f59 Re-land "Fix FlexAttention precompile bitwise determinist... by Bob Ren <[email protected]>
  - e2fea3f Wrong token count in validation when CP>1 (pytorch#3257) by francesco-bertolotti <[email protected]>
  - 1d392ca [torchtitan][llama4_parallelize] fixing fsdp_mesh_info bu... by anshul-si <[email protected]>
  - d91a9fc [Qwen3VL] remove local_map for dtensor interpolation (pytorch#29... by Shuhua Yu <[email protected]>
  - 19f88a3 profiler: drop duplicate dataclass fields (pytorch#3227) by Felipe Mello <[email protected]>
  - 52f3142 [GraphTrainer] Log graph pass names and total time (pytorch#3261) by Sherlock Huang <[email protected]>
  - bf2842d [GraphTrainer] Add memory policy registry and extra graph... by Syed Tousif Ahmed <[email protected]>
  - 4ebb089 Tests HybridEP integration with GraphTrainer (pytorch#3184) by Syed Tousif Ahmed <[email protected]>
  - da6ff79 [rl] Graceful shutdown GRPO (pytorch#3238) by Felipe Mello <[email protected]>
  - 54887a3 [GraphTrainer] Add compile.disable_passes to selectively ... by Sherlock Huang <[email protected]>
  - 4ed3c53 [codex] Fix weight tying parameter accounting (pytorch#3225) by 岛石 <[email protected]>
  - 5638c49 [codex] Fix shared BOS and EOS token inference (pytorch#3279) by 岛石 <[email protected]>
  - ecd117e [graph_trainer] Pass global_valid_tokens into loss_fn ins... by Yidi Wu <[email protected]>
  - 0fae167 [graph_trainer] AutoParallel AOT FX Trace Integration (#2... by sanketpurandare <[email protected]>
  - 74181b1 [LoRA] Add LoRA converter and rename quantization to conv... by Yifan Mao <[email protected]>
  - 0d8f57c Remove unnecessary clone from ChunkedCELoss (pytorch#3272) by Jiani Wang <[email protected]>
  - 28b83bd Merge lora and float8 tests (pytorch#3310) by Yifan Mao <[email protected]>
  - e917ff4 Avoid repeat_interleave output-size sync (pytorch#3274) by Simon Fan <[email protected]>
  - acece3b [graph_trainer] Disable flexattn integration test due to ... by Sherlock Huang <[email protected]>
  - 8ba1c6b Support kwargs in minimal_fx_tracer (pytorch#3262) by Tugsbayasgalan Manlaibaatar <[email protected]>
  - d107aa4 [Quantization] Use class factory for MXFP8/Float8 Grouped... by Yifan Mao <[email protected]>
  - ca4c7f2 [rl] Register customized config parser to vllm + less vll... by Jiani Wang <[email protected]>
  - 0b5e899 Fix precompile tests (pytorch#3316) by Tugsbayasgalan Manlaibaatar <[email protected]>
  - 0fadde3 [graph_trainer] Fix AutoParallel input_fn to include posi... by Ivan Kobzarev <[email protected]>
  - 2ceff82 [graph_trainer] Add log_timer utility for tracing step ti... by Sherlock Huang <[email protected]>
  - e9dbff6 [graph_trainer] Refactor selective activation remat to in... by Tugsbayasgalan Manlaibaatar <[email protected]>
  - b301dfa Remove MoE expert for-loop fallback (pytorch#3308) by sanketpurandare <[email protected]>
  - 1a0fe3e [graph_trainer] Refactor passes.py into focused modules (... by Sherlock Huang <[email protected]>
  - d57df09 Make ChunkedCELoss support torch.autograd.grad (pytorch#3249) by Yidi Wu <[email protected]>
  - 5ca23a5 [GraphTrainer] Add Context Parallel support (pytorch#3305) by Aditya Venkataraman <[email protected]>
  - 7f070c9 Enhance Lychee Link Checker (Resiliency & Performance) (#... by Andrei-Aksionov <[email protected]>
  - 7f602b9 Add AGENTS.md symlinks for Codex usage (pytorch#3326) by sanketpurandare <[email protected]>
  - 34801c0 [graph_trainer] Improve SAC tagging and CPU offload pass ... by Sherlock Huang <[email protected]>
  - 1a22c2d [graph_trainer] Remove deprecated AOT compile mode (pytorch#3327) by Sherlock Huang <[email protected]>
  - 7b418ab Revert "Avoid repeat_interleave output-size sync (pytorch#3274)"... by Simon Fan <[email protected]>
  - 6f2fa2f [rl] switch to vllm v2 engine (pytorch#3330) by Jiani Wang <[email protected]>
  - 1690e0a [cpu-offloading] Encode last consumer as dep arg in ao.wa... by Michael Lazos <[email protected]>
  - cee4982 [graph_trainer] Fix SAC remat to produce fresh FakeTensor... by Ivan Kobzarev <[email protected]>
  - d4a3c63 [graph_trainer] Generalize minimal_fx_tracer to module + ... by Tugsbayasgalan Manlaibaatar <[email protected]>
  - 4614e30 [graph_trainer] Support multiple FSDP PGs in overlap_fsdp... by Sherlock Huang <[email protected]>
  - 3781d1d Back out "[graph_trainer] Fix SAC remat to produce fresh ... by Sherlock Huang <[email protected]>
  - a2a0d99 RL: observability spans across trainer/generator/controll... by Felipe Mello <[email protected]>
  - 8cdfdc2 [rl] Better initial weight loading (pytorch#3318) by Jiani Wang <[email protected]>
  - f0795f0 [RL] - Enable experiment metrics (pytorch#3237) by Felipe Mello <[email protected]>
  - b64292b [graph_trainer] Remove fsdp_reshard_after_fwd_pass (pytorch#3370) by Sherlock Huang <[email protected]>
  - a670699 [graph_trainer] Skip dense numerics tests due to upstream... by Sherlock Huang <[email protected]>
  - cb7bf09 ci: declare workflow-level `contents: read` on 2 workflow... by Arpit Jain <[email protected]>
  - d64eabc [Full DTensor] Config-based Full DTensor for Llama3 (pytorch#3159) by Chien-Chin Huang <[email protected]>
  - a866d04 Fix memory snapshot pickle protocol for compatibility wit... by francesco-bertolotti <[email protected]>
  - 9f9ae4d [graph_trainer] Fix H100 CI failure from DeepEP compilati... by Sherlock Huang <[email protected]>
  - c9126af [graph_trainer] Add bucketing ops to precompile serializa... by Ivan Kobzarev <[email protected]>
  - 013890b [graph_trainer] Defer cudagraph compatibility check to pa... by Ivan Kobzarev <[email protected]>
  - 6a1b334 Fix optimizer state and module state coupling (pytorch#3356) by Tugsbayasgalan Manlaibaatar <[email protected]>
  - 4238c35 Re-enable compile for gpt-oss integration tests (pytorch#3373) by Aditya Venkataraman <[email protected]>
  - ebfceeb [rl] Add TITO generator and gen metrics (pytorch#3391) by Felipe Mello <[email protected]>
  - cf3c431 [graph_trainer] Re-enable FlexAttention tests after upstr... by Sherlock Huang <[email protected]>
  - 8aa96ac [graph_trainer] Fix eager SAC policy mm counter to reset ... by Ivan Kobzarev <[email protected]>
  - 52a292d [graph_trainer] Gate overlap_fsdp_ag_rs_pass behind a con... by Yiming Zhou <[email protected]>
  - 2057b56 [rl] fix CI timeout issue by properly tear down for vllm ... by Jiani Wang <[email protected]>
  - cfe97c6 [rl] use wandb=False in CI (pytorch#3408) by Felipe Mello <[email protected]>
  - 83e4904 [graph_trainer] Rework full_inductor_compilation_pass via... by Tugsbayasgalan Manlaibaatar <[email protected]>
  - 963c20c [MoE][5/n] Refactor MoE to clean DTensor boundaries for s... by Jessica Zhong <[email protected]>
  - da38566 [MoE][6/n] Extract local_reorder, split DeepEP/HybridEP d... by Jessica Zhong <[email protected]>
  - 3f721b4 [graph_trainer] Fix fsdp_passes compat with BitsetAncesto... by Ivan Kobzarev <[email protected]>
  - b585282 Fix imports for latest DeepEP (pytorch#3414) by Steffen Hirschmann <[email protected]>
  - c2a3771 [loss] Fix ChunkedCELoss + TP gradient placement mismatch... by Chien-Chin Huang <[email protected]>
  - 19c567f Debug Numerics with DebugMode (pytorch#3323) by Shangdi Yu <[email protected]>
  - 78b08dd [graph_trainer] Add DeepSeek V3 16B SDPA config (pytorch#3361) by sanketpurandare <[email protected]>
  - af33f76 [Module] Replace from_nn_module with native Module subcla... by Chien-Chin Huang <[email protected]>
  - 58b0344 Add FSDP symmetric memory configuration and related tests... by Masaki <[email protected]>
  (And 259 more changes)

PiperOrigin-RevId: 956923721
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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants