Skip to content

[MODE] support llava quantization - #3411

Merged
Qubitium merged 3 commits into
mainfrom
fix/llava-base-quantization-1611
Oct 22, 2026
Merged

Qubitium merged 3 commits into
mainfrom
fix/llava-base-quantization-1611

Conversation

@ZX-ModelCloud

@ZX-ModelCloud ZX-ModelCloud commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add Transformers LLaVA-1.5 base model registration and GPTQ quantization support, including checkpoint key conversion and vision/language module handling.
  • Add an image-and-text calibration guide and focused model definition tests.
  • Closes How to Quantize LLaVA based models? #1611.

Validation

  • PYTHONPATH=/tmp/gptqmodel-issue-1611 conda run -n gp_314t pytest -q tests/models/test_llava.py — 3 passed.
  • Quantized llava-hf/llava-1.5-7b-hf with image-and-text calibration on four RTX 4090 GPUs and saved the GPTQ model successfully.
  • Reloaded the quantized model and generated an image caption successfully.

@ZX-ModelCloud
ZX-ModelCloud force-pushed the fix/llava-base-quantization-1611 branch 3 times, most recently from ec1cda8 to d4a147d Compare October 22, 2026 09:59
@ZX-ModelCloud
ZX-ModelCloud force-pushed the fix/llava-base-quantization-1611 branch from d4a147d to 610667f Compare October 22, 2026 10:01
@ZX-ModelCloud
ZX-ModelCloud marked this pull request as ready for review October 22, 2026 10:10
@ZX-ModelCloud ZX-ModelCloud changed the title Add GPTQ support for LLaVA base models [MODE] support llava quantization Oct 22, 2026
@Qubitium
Qubitium merged commit 4ddd98a into main Oct 22, 2026
6 checks passed
@Qubitium
Qubitium deleted the fix/llava-base-quantization-1611 branch October 22, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to Quantize LLaVA based models?

2 participants