-
Notifications
You must be signed in to change notification settings - Fork 535
Add Qwen 3.5 0.8B Puzzletron configs #2116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
j-rausch
wants to merge
7
commits into
feature/puzzletron_v2
Choose a base branch
from
qwen35-0p8b-puzzletron-configs
base: feature/puzzletron_v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
45530a2
Add Qwen 3.5 0.8B Puzzletron example
j-rausch 91999b8
Pin Qwen 3.5 example contracts
j-rausch d10ccbd
Split Qwen 3.5 search configs
j-rausch ed546ec
Harden Qwen 3.5 example contracts
j-rausch 7b0ed7c
Harden Puzzletron conversion resume identity
j-rausch 92fcce9
Align Qwen conversion tests with lint
j-rausch f5c4e93
Propagate Puzzletron conversion failures
j-rausch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
examples/puzzletron/configs/families/qwen3_5/qwen3p5_0p8b/advanced.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # @package _global_ | ||
|
|
||
| defaults: | ||
| - /families/qwen3_5/qwen3p5_0p8b/model@_global_ | ||
| - _self_ | ||
|
|
||
| # Opt-in experimental search overlay. The axis structure is adapted from the | ||
| # existing Qwen 3.5 9B config, while the exact targets are derived from the | ||
| # pinned 0.8B geometry in model.yaml. These targets were not selected from a | ||
| # fully run 0.8B campaign and have not completed full runtime validation. | ||
| pruning: | ||
| intermediate_size_list: [3072, 2560, 2048, 1792, 1536] | ||
| attn_heads_list: | ||
| - [2, 1] | ||
| - [4, 1] | ||
| - [4, 2] | ||
| - [8, 2] | ||
|
|
||
| search_space: | ||
| axes: | ||
| hidden_width: | ||
| enabled: true | ||
| teacher_value: 1024 | ||
| values: [768] | ||
| kv_groups: | ||
| enabled: true | ||
| teacher_value: 2 | ||
| values: [1] | ||
| q_heads_per_group: | ||
| enabled: true | ||
| teacher_value: 4 | ||
| values: [2] | ||
| ffn_intermediate: | ||
| enabled: true | ||
| teacher_value: 3584 | ||
| values: [3072, 2560, 2048, 1792, 1536] | ||
| gdn_key_groups: | ||
| enabled: true | ||
| teacher_value: 16 | ||
| values: [12, 8] | ||
| gdn_value_heads_per_group: | ||
| enabled: false | ||
| teacher_value: 1 | ||
| values: [] | ||
| # The proposed 128 -> 96 target remains blocked on runtime-equivalence | ||
| # evidence. Keep it documented but non-executable until that gate passes. | ||
| gdn_key_head_dim: | ||
| enabled: false | ||
| teacher_value: 128 | ||
| values: [] | ||
| gdn_value_head_dim: | ||
| enabled: true | ||
| teacher_value: 128 | ||
| values: [96] |
46 changes: 46 additions & 0 deletions
46
examples/puzzletron/configs/families/qwen3_5/qwen3p5_0p8b/model.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # @package _global_ | ||
|
|
||
| # Runnable public Hugging Face repository ID; this is not a placeholder. | ||
| input_hf_model_path: Qwen/Qwen3.5-0.8B | ||
|
|
||
| model_info: | ||
| # Immutable public model identity used by the focused MIP smoke. | ||
| # Geometry is reproducible from the config at this exact revision. | ||
| hf_repo: Qwen/Qwen3.5-0.8B | ||
| hf_revision: 2fc06364715b967f1860aea9cf38778875588b17 | ||
| model_type: qwen3_5 | ||
| architectures: [Qwen3_5ForConditionalGeneration] | ||
| num_hidden_layers: 24 | ||
| hidden_size: 1024 | ||
| intermediate_size: 3584 | ||
| num_attention_heads: 8 | ||
| num_key_value_heads: 2 | ||
| head_dim: 256 | ||
| vocab_size: 248320 | ||
| tie_word_embeddings: true | ||
| max_position_embeddings: 262144 | ||
| mtp_num_hidden_layers: 1 | ||
| layer_counts: | ||
| linear_attention: 18 | ||
| full_attention: 6 | ||
| mamba: | ||
| linear_key_head_dim: 128 | ||
| linear_num_key_heads: 16 | ||
| linear_num_value_heads: 16 | ||
| linear_value_head_dim: 128 | ||
| linear_conv_kernel_dim: 4 | ||
|
|
||
| model: | ||
| revision: ${model_info.hf_revision} | ||
|
|
||
| # Keep the default search aligned with the tracked Qwen 3.5 0.8B runtime | ||
| # campaign. Candidate construction adds the teacher value for the enabled axis. | ||
| pruning: | ||
| intermediate_size_list: [3072, 2048] | ||
|
|
||
| search_space: | ||
| axes: | ||
| ffn_intermediate: | ||
| enabled: true | ||
| teacher_value: 3584 | ||
| values: [3072, 2048] | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.