Nested Local Distillation for Puzzletron
Los mantenedores suelen responder en 2 días
@Separius ya está trabajando en esto.
Desde el 25/6/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 5.3k
- Forks
- 745
- Merge medio
- 4 d 2 h
- PR fusionados (30 d)
- 160
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/Model-Optimizer
-
[Bug] modelopt-mcp: all launcher subprocesses hang when the server runs as a stdio MCP server — missing stdin=DEVNULLPosiblemente ocupada @ChenhanYu la tomó hace 13 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NVIDIA/Model-Optimizer#2551 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Puzzletron Progress 6/8 (calculating one block scores) takes 10 to 20 times more than in tutorialQuizá libre de nuevo @tejasng053 la tomó hace 20 días y no hay ningún pull request abierto. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NVIDIA/Model-Optimizer#1667 ·
Los mantenedores suelen responder en 2 días
-
fp4_kernel_hopper.py uses tl.make_block_ptr, which is removed in Triton main (breaks NVFP4 fake quant)Posiblemente ocupada @kinjalpatel27 la tomó hoy. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 72/100
NVIDIA/Model-Optimizer#2810 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
test_cast_fp4_impl_gpu_mem is flaky on Jetson Thor: mem_get_info reports system-wide memory on integrated GPUsPosiblemente ocupada @LinCanNerd la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
NVIDIA/Model-Optimizer#2706 ·
Los mantenedores suelen responder en 2 días
-
test_cuda_pack_reconstruction_matches_pytorch_at_scale[iq1_m] fails on Jetson Thor: exact ties exceed the blocks // 1000 boundPosiblemente ocupada @LinCanNerd la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
NVIDIA/Model-Optimizer#2705 ·
Los mantenedores suelen responder en 2 días
Todos los issues de NVIDIA/Model-Optimizer
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
huggingface/sentence-transformers#4186 ·
Los mantenedores suelen responder en 5 días
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
QuantEcon/QuantEcon.py#988 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fabriziosalmi/certmate#1247 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
sujithputta02/Esapay#13 ·