Skip to content

Qwen3-30b learn to init#3942

Open
gagika wants to merge 1 commit into
mainfrom
agagik-qwen-lti
Open

Qwen3-30b learn to init#3942
gagika wants to merge 1 commit into
mainfrom
agagik-qwen-lti

Conversation

@gagika
Copy link
Copy Markdown
Collaborator

@gagika gagika commented May 19, 2026

Description

Qwen3 MoE: Learn-to-Init distillation

Adds LTI soft distillation for Qwen3-30B-A3B-base MoE → custom student. Wires the LTI hook into Qwen3MoeDecoderLayerToLinen, adds warm-start init for the A/B bridges, and ships a recipe + setup doc.

Tests

  • End-to-end TPU v7x-8 run: ~12K steps, KL converges to ~0.41

gs://agagik-us/distillation/qwen3-30b-lti/qwen3-30b-lti-rope1e7-20260518-181330/checkpoints/

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 32.25806% with 21 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/maxtext/layers/learn_to_init_layer.py 25.00% 21 Missing ⚠️

📢 Thoughts on this report? Let us know!

@gagika gagika force-pushed the agagik-qwen-lti branch 5 times, most recently from 8df141d to ec73a4c Compare May 19, 2026 05:10
@gagika gagika requested a review from darisoy as a code owner May 19, 2026 05:22
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.

1 participant