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
Hi, we've been reading through Molt for the past few days — really like how thin the RL loop is kept, and the fully-async agentic design.
Quick question before we start sending anything: are community PRs welcome at this stage, or is the repo mostly internal for now? I saw CONTRIBUTING.md and the DCO sign-off requirement, but wasn't sure whether that's meant for external contributors yet.
For context, I've upstreamed RL / diffusion work to a few related projects:
Thanks! I'd like to add LoRA / PEFT support to Molt. Rather than opening a PR directly,
I'll write an RFC first — the weight-sync design has a couple of reasonable options, and
I'd prefer to settle that with you up front.
Why I think this is a small change
AutoModel already does the hard part: from_pretrained(..., peft_config=...) injects
the adapters before sharding, and expert LoRA is EP-aware.
peft is already listed in requirements.txt, with nothing currently importing it.
The part that needs real work is refit. Under LoRA the base weights are frozen, so refit
has to either:
materialize W0 + scale*BA, or
switch to native vLLM LoRA.
Skipping the adapter tensors would push only the unchanged weights and leave the rollout
engine stuck on the initial policy. Forwarding them as-is fails the flush outright — AutoWeightsLoader raises on names it has no parameter for.
What the RFC will cover
Scope — RL + SFT
Refit choice — merge on refit vs. native vLLM LoRA (broadcast adapters only)
Checkpointing
Failure modes — which combinations should fail loudly
Test plan
Open questions (before I write it)
Is LoRA in scope for Molt, or was it deliberately left out?
Where would you like the RFC — a separate issue, or a comment on this thread?
Thanks! I'd like to add LoRA / PEFT support to Molt. Rather than opening a PR directly, I'll write an RFC first — the weight-sync design has a couple of reasonable options, and I'd prefer to settle that with you up front.
Why I think this is a small change
AutoModel already does the hard part: from_pretrained(..., peft_config=...) injects
the adapters before sharding, and expert LoRA is EP-aware.
peft is already listed in requirements.txt, with nothing currently importing it.
The part that needs real work is refit. Under LoRA the base weights are frozen, so refit has to either:
materialize W0 + scale*BA, or
switch to native vLLM LoRA.
Skipping the adapter tensors would push only the unchanged weights and leave the rollout engine stuck on the initial policy. Forwarding them as-is fails the flush outright — AutoWeightsLoader raises on names it has no parameter for.
What the RFC will cover
Scope — RL + SFT
Refit choice — merge on refit vs. native vLLM LoRA (broadcast adapters only)
Checkpointing
Failure modes — which combinations should fail loudly
Test plan
Open questions (before I write it)
Is LoRA in scope for Molt, or was it deliberately left out?
Where would you like the RFC — a separate issue, or a comment on this thread?
@hijkzzz Hi! Would you be able to review this when you have time? Thanks a lot!
Activity
hijkzzz commentedon Jul 30, 2026
Sure! Welcome to contribute.
NancyFyong commentedon Jul 30, 2026
Thanks! I'd like to add LoRA / PEFT support to Molt. Rather than opening a PR directly,
I'll write an RFC first — the weight-sync design has a couple of reasonable options, and
I'd prefer to settle that with you up front.
Why I think this is a small change
AutoModelalready does the hard part:from_pretrained(..., peft_config=...)injectsthe adapters before sharding, and expert LoRA is EP-aware.
peftis already listed inrequirements.txt, with nothing currently importing it.The part that needs real work is refit. Under LoRA the base weights are frozen, so refit
has to either:
W0 + scale*BA, orSkipping the adapter tensors would push only the unchanged weights and leave the rollout
engine stuck on the initial policy. Forwarding them as-is fails the flush outright —
AutoWeightsLoaderraises on names it has no parameter for.What the RFC will cover
Open questions (before I write it)
NancyFyong commentedon Jul 30, 2026
@hijkzzz Hi! Would you be able to review this when you have time? Thanks a lot!