readVisionGgufWeights function
Vision and projector weights of an LFM3-VL or LFM3-Omni mmproj, widened to float32 under checkpoint names for Lfm3VisionEncoder.fromWeights. F32, F16, BF16 and Q4_0 payloads convert exactly; audio tensors in an Omni mmproj are ignored, and every vision tensor must be present.
Implementation
Map<String, Float32List> readVisionGgufWeights(
GgufFile gguf,
Lfm3VlConfig config,
) => _readVisionGguf(gguf, config, null);