The lazy-init flag started on stack garbage. When non-zero the encode path skipped the codebook load and silently returned empty RVQ codes.
The lazy-init flag started on stack garbage. When non-zero the encode path skipped the codebook load and silently returned empty RVQ codes.