Skip to content

Fill defaults from existing generation config if present.#72

Open
droans wants to merge 1 commit intoSearchSavior:mainfrom
droans:fix-generation-config
Open

Fill defaults from existing generation config if present.#72
droans wants to merge 1 commit intoSearchSavior:mainfrom
droans:fix-generation-config

Conversation

@droans
Copy link
Copy Markdown

@droans droans commented Mar 27, 2026

If self.model is defined for the OVGenAi_LLM class, generation_kwargs are pulled from self.model.get_generation_config instead of creating a new instance using GenerationConfig(). This allows for users to retain the defaults set by the model for each config if they have not chosen to adjust it.

@SearchSavior
Copy link
Copy Markdown
Owner

Fantastic. I'll add to vlm pipeline before merging since the interface is the same.

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