Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Lazy Checkpoint Creation for Puzzletron

Aperta
#1,821 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

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

Feature Request: Lazy Checkpoint Creation for Puzzletron

Description

The current workflow for including pruning configurations into the Puzzletron search space requires creating a dedicated, homogeneously pruned checkpoint for every single target ratio. While this is manageable for small models or limited combinatorial search spaces, it becomes an unsustainable bottleneck for storage and I/O as model sizes and architectural complexities scale.

To resolve this, we should adopt a lazy checkpoint creation strategy. The core proposal is to sort the checkpoint weights exactly once (similar to the methodology used in Flextron). For all subsequent stages of the pipeline, instead of reading from separate pre-pruned files on disk, we will dynamically slice the channels in-memory while loading the model. This single architectural shift will drastically reduce storage footprints by a significant factor.

Pipeline Verification Requirements

Implementing this feature requires verifying that all downstream stages of the Puzzletron pipeline can seamlessly ingest and operate on these dynamically sliced, sorted checkpoints. Specifically, we must audit and adapt the following four core stages:

  1. Bypass: Ensure that the bypass mechanisms correctly map the sliced dimensions without expecting explicit on-disk structure changes.
  2. Stats / vLLM: Verify that weight slicing integrates with statistics collection and remains compatible with vLLM's block discovery.
  3. Replace-1-Block-Scoring: Validate that block-by-block replacement and scoring correctly compute importance metrics using the dynamically sliced tensors.
  4. Model Realization after MIP: Confirm that the final model realization step can successfully materialize the optimal architecture found by the Mixed-Integer Programming (MIP) solver, writing out the final, fully pruned checkpoint to disk.
Expected Impact

Transitioning to lazy checkpoint creation will eliminate the exponential storage overhead associated with dense combinatorial search spaces. This allows the team to evaluate significantly larger models and wider search granularities without running into infrastructure or disk space constraints.

Lingua principale
Python
Stelle
5.2k
Fork
736
Merge medio
3g 14h
PR unite (30g)
160

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/Model-Optimizer

Tutte le issue di NVIDIA/Model-Optimizer

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.