Skip to content

Added support for quantization in vLLM backend #690

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

SulRash
Copy link

@SulRash SulRash commented Apr 26, 2025

The arguments quantization and load_format are missing from the vLLM configuration, which made applying quantizations a headache, especially since the base class forbids any hyperparameters not defined. I got a bitsandbytes model up and running with this tweak, where it used to fail before. Arguments default to None to not change any functionality, drop-in addition.

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB
Copy link
Member

hey ! thanks for the PR, you only need to make style and should be ready :)

@SulRash
Copy link
Author

SulRash commented Apr 28, 2025

@NathanHB done :)

@NathanHB NathanHB added the feature/enhancement New feature/request label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/enhancement New feature/request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants