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
lookup-free-and-latentLookup-free, binary, latent, and evolutionary quantization workflows for vector-quantize-pytorch.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task needs lookup-free, binary, latent, or evolutionary quantization from vector-quantize-pytorch:
LFQ for MagViT-style lookup-free binary latents, entropy/diversity regularization, sequence/image/video inputs, masks, and indices_to_codes roundtrips.ResidualLFQ and GroupedResidualLFQ for stacked residual lookup-free quantizers, grouped feature splits, dropout-aware indices, and reconstruction from indices.LatentQuantize for per-latent scalar code values, levels, num_codebooks, optional learnable values, and image/video/series channel-first tensors.BinaryMapper for mapping Bernoulli bit logits to one-hot binary code indices plus optional auxiliary KL loss.EvoLFQ for wrapping an encoder, decoder, and LFQ bottleneck and optionally evolving binary latent populations.Route elsewhere for:
ResidualFSQ, or GroupedResidualFSQ: use ../scalar-quantizers/.SimVQ, ResidualSimVQ, or HierarchicalVQ: use ../sim-and-hierarchical/.VectorQuantize, RandomProjectionQuantizer, or codebook EMA health: use ../vector-quantization/.../residual-quantizers/.codebook_size; log2(codebook_size) * num_codebooks is the internal binary width.Run the CPU smoke helper after installing vector-quantize-pytorch and PyTorch:
python scripts/smoke_lookup_free_latent.py --help
python scripts/smoke_lookup_free_latent.py
The helper performs tiny CPU checks for LFQ, ResidualLFQ, GroupedResidualLFQ, LatentQuantize, BinaryMapper, and a minimal EvoLFQ forward unless --skip-evo is passed.