Skip to content

Support layerwise VLM image calibration in hf_ptq#1953

Draft
realAsma wants to merge 1 commit into
mainfrom
asma/vlm-layerwise-calibration
Draft

Support layerwise VLM image calibration in hf_ptq#1953
realAsma wants to merge 1 commit into
mainfrom
asma/vlm-layerwise-calibration

Conversation

@realAsma

@realAsma realAsma commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • route layerwise VLM image calibration through the full VLM wrapper so multimodal forwards reach patched decoder layers
  • keep non-layerwise VLM image calibration on the extracted language model
  • add focused mock coverage for both branches

Validation

  • pytest_pwd tests/examples/hf_ptq/test_hf_ptq_mono_quantize.py tests/examples/hf_ptq/test_hf_ptq_args.py
  • pre-commit run --files examples/hf_ptq/hf_ptq.py tests/examples/hf_ptq/test_hf_ptq_mono_quantize.py

@copy-pr-bot

copy-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 18d02343-c97f-4d5a-bc45-44a0acb08fdd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch asma/vlm-layerwise-calibration

Comment @coderabbitai help to get the list of available commands.

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.

1 participant