Skip to content

[Fix] Support DTensor value head in Qwen3 VL - #2325

Merged
PengchengShi00 merged 1 commit into
mainfrom
fix/qwen3-vl-value-head-dtensor
Nov 23, 2026
Merged

PengchengShi00 merged 1 commit into
mainfrom
fix/qwen3-vl-value-head-dtensor

Conversation

@ShilohYu

@ShilohYu ShilohYu commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Route Qwen3VLTextDense value-head projection through LMHead.forward instead of calling F.linear directly.
  • Preserve DTensor input handling when PPO critic weights are sharded.
  • Add a regression test covering value-head forward with DTensor weights.

Validation

  • pytest tests/model/test_qwen3_vl_value_head.py (1 passed)

@PengchengShi00
PengchengShi00 merged commit 391b7fc into main Nov 23, 2026
9 of 10 checks passed
@PengchengShi00
PengchengShi00 deleted the fix/qwen3-vl-value-head-dtensor branch November 23, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants