You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qwen3_5_moe: add CUDA Engine/Session execution path (pytorch#20288)
Add a Qwen3.5-MoE execution adapter on top of the new
LLMEngine/LLMSession and CUDA mutable-state foundations. The engine
loads one physical model, registers exported mutable-buffer metadata,
and creates isolated sessions that rebind their own KV/conv/recurrent
state before execution while sharing model weights.
Keep the existing CLI behavior by making main.cpp a thin wrapper over
the engine/session path. The export now records the model-specific
mutable-buffer FQNs, and the CUDA build includes a no-bleed integration
proof that interleaves two sessions on one loaded model and checks state
isolation, memory growth, and capacity enforcement.
This intentionally leaves OpenAI serving, worker loops, warm resume, and
per-model serving wrappers for later PRs.
pytorch#20001
Will do Gemma4 31B in later PRs
CI already exercises the main.cpp, which wraps around QwenEngine and
QwenSession
0 commit comments