Skip to content

fix: pass hf_config to optimum compilation#643

Open
rebel-thkim wants to merge 1 commit into
devfrom
pr/pass-hf-config
Open

fix: pass hf_config to optimum compilation#643
rebel-thkim wants to merge 1 commit into
devfrom
pr/pass-hf-config

Conversation

@rebel-thkim

Copy link
Copy Markdown
Contributor

Summary

Pass the resolved HF config to from_pretrained during optimum model compilation so the model is built with the correct HF config instead of relying on the default loaded from the model path.

Changes

  • vllm_rbln/model_executor/models/optimum/model_base.py: forward config=hf_config to spec.model_cls.from_pretrained(...).

🤖 Generated with Claude Code

@rebel-thkim rebel-thkim requested a review from rebel-eunji June 4, 2026 12:59
@rebel-thkim rebel-thkim changed the title pass hf_config to optimum compilation fix: pass hf_config to optimum compilation Jun 4, 2026
@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants