In this article
A compact top-k VB-LoRA artifact supports inference or merging, but does not retain everything needed to resume training.
VB-LoRA constructs adapter matrices from a shared bank of short vectors. Learned mixing choices reuse those vectors across matrix dimensions, modules and layers. This divide-and-share design targets the cost of storing many task adaptations, particularly when an independent set of ordinary low-rank factors would be expensive to distribute.
Follow the shared representation
The bank contains trainable vectors, while learned logits select and combine bank entries into the sub-vectors needed by adapter factors. The bank and the mixing state have different roles. Counting only the bank misses trainable selection state; counting only selected inference entries misses what training may retain. Report both the representation and the actual exported bytes.
Separate optimization groups
The maintained documentation distinguishes learning rates for bank parameters and logits. They represent numerical content and selection preferences, so treating them as interchangeable can change convergence. Use the published setup as a starting point for a controlled experiment, not as a universal optimum. Inspect whether the learned selection concentrates sensibly without using the final evaluation set to tune it.
Understand the compact save option
The save_only_topk_weights option retains selected mixture weights and indices instead of all trainable logits. PEFT explicitly limits that compact format to inference or merging; it cannot resume training. A small distributable artifact is therefore a different deliverable from a continuation checkpoint. Label them clearly so a deployment export is not mistaken for a recoverable training run.
Check adaptation outside the bank
Configuration may also make biases or additional modules trainable. Those changes must be included when determining whether disabling the adapter restores base behavior. For an illustrative domain classifier, compare the loaded compact export against the pre-export model on fixed inputs, including label parsing and formatting. A successful load alone does not verify numerical or task equivalence.
Budget the full deployment path
Retain the bank configuration, selected mixtures, target-module mapping, base revision and tokenizer. Measure reconstruction or merging work in the intended runtime before claiming a serving advantage. Storage reduction does not by itself establish lower activation memory or faster generation. VB-LoRA is most informative when the experiment reports independently the held-out quality, training state, exported artifact size and actual inference behavior.
Primary references
PEFT VB-LoRA layer implementation.
Related explanations: low-rank update geometry; a bounded adaptation experiment.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.