Skip to content

[rl] Add TITO generator and gen metrics - #3391

Merged
felipemello1 merged 1 commit into
pytorch:mainfrom
felipemello1:pr1-tito-generator
May 18, 2026
Merged

felipemello1 merged 1 commit into
pytorch:mainfrom
felipemello1:pr1-tito-generator

Conversation

@felipemello1

@felipemello1 felipemello1 commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR does three things:

  • Changes generator to receive tokens instead of text (token-in/token-out) by encoding prompts in the controller and passing tokenized_prompts into the generator. This is the standard in RL training and avoids retokenization of texts, which leads to all sorts of issues.
  • Adds generation_metrics to the generation output.
  • Sets wandb=True in our configs

test

image

[actor=] ============================================================
[actor=] Validation summary (pre / post):
[actor=] validation/reward/_max: +1.300 / +1.300
[actor=] validation/reward/_mean: +0.385 / +0.700
[actor=] validation/reward/_min: +0.000 / +0.300
[actor=] validation/reward/_std: +0.541 / +0.490
[actor=] validation/reward/_sum: +7.700 / +14.000
[actor=] validation/reward/component/correctness/mean: +0.250 / +0.400
[actor=] validation/reward/component/format/mean: +0.135 / +0.300
[actor=] ============================================================

image

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 18, 2026
@felipemello1
felipemello1 requested review from tianyu-l and wwwjn May 18, 2026 04:42

@tianyu-l tianyu-l left a comment

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.

LGTM, had some questions.

from torchtitan.experiments.rl.actors.generator import SamplingConfig, VLLMGenerator
from torchtitan.experiments.rl.actors.trainer import PolicyTrainer
from torchtitan.experiments.rl.grpo import GRPOLoss, RLTrainer
from torchtitan.experiments.rl.observability import metrics as m

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.

Here maybe import MetricsProcessor is better, as there's no sl / other m.metrics

Comment on lines +438 to +440
# TODO: When renderer-owned prompt construction lands, check
# if we should return the output prompt token IDs
# or keep the input prompt token IDs

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.

when would they be different?

@felipemello1 felipemello1 May 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

They shouldnt be (I tested it). I got rid of it -- I removed it from "Completions". Now the Trajectory will just hold the prompt_ids, instead of the Completion.prompt_ids. We do: "token prompts in, token response out".

Having the generator output prompt tokens only makes sense if the input is text.

Comment on lines +55 to +56
[`queued_ts`, `scheduled_ts`, `first_token_ts`, `last_token_ts`,
`num_generation_tokens`] describe one specific child — not an aggregate,

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 about num_cached_tokens

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, the cached_tokens is correct, the prompt is prefilled once and shared across siblings.

That said, i will be modifying this so instead of doing n=8, we would do 8 generations of n=1, which is necessary for multiturn and also works for single turn. We will have the "caveat" fixed by default.

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.

hmm, I actually don't know how it works.

  • In general, "prefix caching" shouldn't work only for prompt tokens? So I'd imagine that with prefix caching on, more things than prefix caching could be cached.
  • When we have multiple requests, if they are all put in prefill stage together, would the cache be used at all?
  • Is there other tradeoff between sending n=8 vs. sending 8 n=1 requests? Intuitively the former might be more efficient?

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.

I have read the similar behavior of sending n 1-request to vllm before: https://fburl.com/code/ztfbbbew

Sending 8 n=1 requests helps better manage the unique ids in vllm requests (needs to dig into vllm for more details). However, these no information about the impact on perf

@felipemello1 felipemello1 May 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I did a bit of digging:

  1. Internally, vllm still breaks down the requests into single ones (per link that @wwwjn sent), and appends them to a queue. The scheduler batches multiple queued requests into a forward pass (continuous batching).

  2. There's a scheduler that loops over requests and checks if their hash is a cache hit or miss. The first miss schedules the full prefill (e.g., 100 prompt tokens); the others register a cache hit — a reservation on the prefiller's blocks (the KV values themselves aren't computed yet). All 8 then run in one forward pass: within that pass, the prefiller writes the prompt KV, and the cache-hit siblings wait for it and read when ready (the kernel writes K, V before the attention step, so there's no race). After this forward, all 8 start decoding.

  3. So if we do 8×n=1 or 1×n=8, we still calculate the full prompt prefill only once. One nice thing: vLLM does chunked prefill by default — new incoming prefill tokens get mixed into the same forward pass as ongoing decode tokens, so a new request doesn't stall in-flight ones. There's also prefill-decode disaggregation, which goes further by running prefill and decode on separate machines (each phase has a different compute/memory profile).

  4. Prefix caching isn't prompt-only — any full block (default=16 tokens) of finalized tokens (prompt or generated) gets hashed and cached.

per parent `RequestOutput`s (one per `add_request` call), each carrying
a single `RequestStateStats` on `.metrics`.

Caveat under `SamplingParams.n > 1`: vLLM stores one `RequestStateStats`

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.

Given this "caveat", I assume the metrics is "lossy". Do we plan to fix / workaround it, e.g. by SchedulerStats / IterationStats?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

answered above

Comment on lines +55 to +56
[`queued_ts`, `scheduled_ts`, `first_token_ts`, `last_token_ts`,
`num_generation_tokens`] describe one specific child — not an aggregate,

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.

hmm, I actually don't know how it works.

  • In general, "prefix caching" shouldn't work only for prompt tokens? So I'd imagine that with prefix caching on, more things than prefix caching could be cached.
  • When we have multiple requests, if they are all put in prefill stage together, would the cache be used at all?
  • Is there other tradeoff between sending n=8 vs. sending 8 n=1 requests? Intuitively the former might be more efficient?

sampling_config: SamplingConfig | None = None,
) -> list[Completion]:
"""Generate completions for the given prompts.
metrics_prefix: str = "generator",

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.

@felipemello1 felipemello1 May 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

People may have multiple generators, e.g. 2 models talking to each other, teacher/student, llm as a judge, etc. All sorts of ideas in RL around generators.

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
Contributor Author

Choose a reason for hiding this comment

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

i dont think that we want any of the generator metrics in the console log. We already have tokens/s. Let me know if you disagree

job_config=config.to_dict(),
)
# TODO: Replace this single-turn tokenizer with renderer
self.tokenizer = HuggingFaceTokenizer(tokenizer_path=config.hf_assets_path)

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.

In core titan, the tokenization is done during the data loader. Should we consider introduce a dataloader for RL as well (in the following PRs)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmmm, we do have a dataset and a make_env that associates a sample to an env. I dont think we need a dataloader because there is no batching. For each dataset sample, we launch an async rollout request.

Comment on lines +55 to +56
[`queued_ts`, `scheduled_ts`, `first_token_ts`, `last_token_ts`,
`num_generation_tokens`] describe one specific child — not an aggregate,

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.

I have read the similar behavior of sending n 1-request to vllm before: https://fburl.com/code/ztfbbbew

Sending 8 n=1 requests helps better manage the unique ids in vllm requests (needs to dig into vllm for more details). However, these no information about the impact on perf

This PR does two things:
- moves RL generation to token-in/token-out by encoding prompts in the
  controller and passing `tokenized_prompts` into the generator. This is
  the standard in RL training and avoids retokenization of texts, which
  leads to all sorts of issues.
- Adds generation_metrics to the generation output.
@felipemello1
felipemello1 merged commit ebfceeb into pytorch:main May 18, 2026
7 of 11 checks passed
@felipemello1
felipemello1 deleted the pr1-tito-generator branch May 18, 2026 19:34
felipemello1 pushed a commit to felipemello1/torchtitan that referenced this pull request May 20, 2026
The RL integration test configs (rl_grpo_qwen3_0_6b{,_batch_invariant}, etc.)
set `metrics=MetricsProcessor.Config(enable_wandb=True)` since pytorch#3391, so local
runs log to W&B by default. CI machines have no W&B credentials and the
backend would either fail or silently noop. Override `enable_wandb=False`
via CLI in every RL integration command so CI runs are wandb-free without
flipping the on-device default.
felipemello1 pushed a commit to felipemello1/torchtitan that referenced this pull request May 20, 2026
W&B is the default metrics backend after pytorch#3391; surface that fact in the
Quick Start so users know to run `wandb login` before launching (or how
to opt out). Also mention the TensorBoard alternative.
wwwjn pushed a commit that referenced this pull request May 20, 2026
## Summary
- The RL integration configs (`rl_grpo_qwen3_0_6b{,_batch_invariant}`,
`rl_grpo_qwen3_1_7b`, `rl_grpo_qwen3_14b`) set
`metrics=MetricsProcessor.Config(enable_wandb=True)` since #3391
- CI machines have no W&B credentials; leaving `enable_wandb=True` makes
every RL CI launch either fail at W&B init or silently noop.
- Append `--metrics.no-enable-wandb` to every RL integration command
(both the 4-GPU default suite and the 8-GPU H100 batch-invariant suite)
so CI runs are wandb-free without changing the default that's useful for
local/dev runs.

---------

Co-authored-by: Felipe Mello <[email protected]>
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/rl 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