executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
residual-quantizersOperate stacked and grouped residual vector quantizers in vector-quantize-pytorch.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task involves stacked residual codebook quantization with ResidualVQ or feature-split residual quantization with GroupedResidualVQ.
ResidualVQ setup, forward output shapes, return_all_codes, get_output_from_indices, and saved-index reconstruction.shared_codebook, stochastic_sample_codes, and sample_codebook_temp.quantize_dropout, cutoff/multiple settings, and why indices can contain -1.codebook_size=(5, 128, 256) and inferred quantizer depth.beam_size, eval_beam_size, and quantizer score weights.diveq=True) and implicit neural codebooks (implicit_neural_codebook=True).GroupedResidualVQ feature-group splitting, grouped indices, grouped commit losses, and grouped reconstruction.VectorQuantize, multi-headed base VQ, random projection quantizers, codebook health, or manual EMA updates: use the vector-quantization sub-skill.ResidualFSQ or GroupedResidualFSQ: use the scalar-quantizers sub-skill.ResidualLFQ or GroupedResidualLFQ: use the lookup-free-and-latent sub-skill.ResidualSimVQ: use the sim-and-hierarchical sub-skill.-1 index, beam-memory, tuple-codebook, or DiVeQ loss behavior.python scripts/smoke_residual_quantizers.py --help or python scripts/smoke_residual_quantizers.py from this sub-skill directory.(batch, sequence, dim) returns quantized output with the same shape.ResidualVQ indices normally have shape (batch, sequence, num_quantizers); GroupedResidualVQ indices normally have shape (groups, batch, sequence, num_quantizers).get_output_from_indices(indices) reconstructs quantized outputs from the current model codebooks, not from standalone indices. Save/load the model state together with indices..eval() when generating indices intended for later reconstruction or cross-entropy targets; training dropout can mark skipped residual layers with -1.