Skip to content

common: Warn when we can't match samplers for a sampler sequence. #13330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2025

Conversation

ycros
Copy link
Contributor

@ycros ycros commented May 6, 2025

Added a warning if a user tries to specify a sampler via samplers (http req) or --samplers/--sampler-seq with an invalid name or invalid char instead of just silently ignoring it.

I've already come across one project passing incorrect samplers to the API.

I'm happy to change it to throw an exception instead of logging a warning.

@ggerganov ggerganov merged commit 39e73ae into ggml-org:master May 7, 2025
46 checks passed
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