mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #50] [CLOSED] tools: add mmproj quantization utility #2429
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2429
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/50
Author: @code-martin
Created: 9/28/2026
Status: ❌ Closed
Base:
main← Head:feature/quantize-mmproj-tool📝 Commits (1)
f3a2949tools: add mmproj quantization utility📊 Changes
1 file changed (+103 additions, -0 deletions)
View changed files
➕
tools/quantize_mmproj.py(+103 -0)📄 Description
Summary
Adds a standalone utility script ( ools/quantize_mmproj.py) to quantize multimodal projector (mmproj) GGUF files for Strata.
Motivation
By default, multimodal projectors distributed for vision models (such as Swift-Qwen) are shipped in unquantized 16-bit float formats (BF16 or F16), consuming ~907 MB of RAM/VRAM. On memory-constrained GPUs (8 GB – 12 GB), this footprint directly reduces the VRAM available for the MoE expert cache by over 300–600 slots.
Quantizing the projector to Q4_0 reduces its size from ~907 MB down to ~461 MB (~50% reduction) without noticeable loss in grounding and visual perception quality.
Key Changes
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.