Nested Local Distillation for Puzzletron
I maintainer di solito rispondono entro 2 giorni
@Separius ci sta già lavorando.
Dal 25/6/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Feature Request: Nested Local Distillation for Puzzletron
Description
The current evaluation and training setup requires running either N (number of FFN options) + M (number of attention options) separate bypass runs, or in worst-case scenarios, a full combinatorial grid of N * M runs. As target architectures grow more intricate, this configuration space scales exponentially and quickly becomes completely intractable.
For example, when optimizing a highly complex model like nemotron3-super, the FFN option space (N) alone is composed of a massive combination of parameters:
Options for N = num_experts_options (~12) * expert_channels_options (~8) * latent_dim_options (~4) * top_k_options (~4) * shared_expert_dim_options (~8) ~= 12,288
Evaluating this combinatorial explosion via independent bypass runs creates an enormous computational bottleneck. To solve this, we propose adding a Nested Local Distillation capability as an optional feature within Puzzletron.
Implementation Concept
Instead of launching distinct distillation runs for every single configuration variant, the proposed feature integrates a dynamic, single-run optimization strategy:
- Stochastic Configuration Sampling: At the start of each minibatch during the distillation phase, the pipeline dynamically samples a valid model configuration from the architectural search space.
- Matryoshka-Style Weight Selection: The system utilizes nested, Matryoshka-style weight selection to slice out sub-networks corresponding to the sampled configuration.
- Unified Weight Updates: Sub-network parameters are optimized and updated concurrently within the single shared run, ensuring that smaller nested weights are systematically optimized alongside the larger, overarching representations.
Expected Impact
Introducing Nested Local Distillation will collapse the exponential N * M run matrix into a single, highly efficient profiling session. This dramatically reduces the compute budget and wall-clock time required to compress next-generation Mixture of Experts (MoE) and hybrid architectures, unlocking scalability for massive foundational checkpoints.
Furthermore, this unified, pre-sorted weight structure serves as an excellent initialization point for Flextron, streamlining downstream continuous-elasticity training workflows without requiring heavy reconfiguration or cold-start warming.
- Lingua principale
- Python
- Stelle
- 5.3k
- Fork
- 745
- Merge medio
- 4g 2h
- PR unite (30g)
- 160
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/Model-Optimizer
-
[Bug] modelopt-mcp: all launcher subprocesses hang when the server runs as a stdio MCP server — missing stdin=DEVNULLForse già presa @ChenhanYu l’ha presa 13 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NVIDIA/Model-Optimizer#2551 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
Puzzletron Progress 6/8 (calculating one block scores) takes 10 to 20 times more than in tutorialForse di nuovo libera @tejasng053 l’ha presa 19 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NVIDIA/Model-Optimizer#1667 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 72/100
NVIDIA/Model-Optimizer#2810 ·
I maintainer di solito rispondono entro 2 giorni
-
test_cast_fp4_impl_gpu_mem is flaky on Jetson Thor: mem_get_info reports system-wide memory on integrated GPUsForse già presa @LinCanNerd l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
NVIDIA/Model-Optimizer#2706 ·
I maintainer di solito rispondono entro 2 giorni
-
test_cuda_pack_reconstruction_matches_pytorch_at_scale[iq1_m] fails on Jetson Thor: exact ties exceed the blocks // 1000 boundForse già presa @LinCanNerd l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
NVIDIA/Model-Optimizer#2705 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di NVIDIA/Model-Optimizer
Issue simili
-
Path subtraction removes repeated suffix characters instead of one suffixForse già presa @Gwerdonatus l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
joke2k/django-environ#671 ·
-
good first issue help wanted windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
-
test_pgbouncer deploys the server under test from Charmhub instead of the local build (track/1.31)Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
canonical/temporal-k8s-operator#195 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
`burr` fails to start when the Python path has a space in itForse già presa @enekoreto l’ha presa oggi. Apertastatus/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 5 giorni
-
device support request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
zigpy/zha-device-handlers#5461 ·
I maintainer di solito rispondono entro 4 giorni