brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
vector-quantizationBase VectorQuantize and RandomProjectionQuantizer workflows for single-stage codebook quantization, including masks and lens, image and 3D feature maps, kmeans/cosine/codebook-dim tuning, top-k/manual EMA behavior, gradient tricks, and optional FVQ bridge guidance.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for the single-stage, codebook-based APIs in vector_quantize_pytorch.
VectorQuantizeRandomProjectionQuantizerget_output_from_indicesupdate_ema_indicestopkmask and lens handlingaccept_image_fmap and accept_3d_fmapkmeans_init, use_cosine_sim, codebook_dimrotation_trick and directional_reparamsync_codebookIf you only need a safe check, run the smoke helper on CPU. It covers a tiny VectorQuantize forward/reconstruction check and a tiny RandomProjectionQuantizer round trip.