Skip to content
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

Use revision when downloading the quantization config file #2697

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

Pernekhan
Copy link
Contributor

@Pernekhan Pernekhan commented Feb 1, 2024

Problem

When using quantization, it's not respecting the model's revision that was passed from the arguments.
It tries to fetch from the latest main branch instead.

Testing

Consider these two revisions for testing:

  1. Has quantize_config.json file: https://huggingface.co/notstoic/pygmalion-13b-4bit-128g/tree/5f7a136b834d0cfdd6906e43dfe2182ce165e65c
  2. Doesn't have quantize_config.json file:https://huggingface.co/notstoic/pygmalion-13b-4bit-128g/tree/main

When you pass --model notstoic/pygmalion-13b-4bit-128g --revision 5f7a136b834d0cfdd6906e43dfe2182ce165e65c --download-dir=/data --quantization gptq it will start working as it tries to fetch from the same revision, not from the latest main

Copy link
Collaborator

@zhuohan123 zhuohan123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for your contribution!

@zhuohan123 zhuohan123 merged commit c410f5d into vllm-project:main Feb 1, 2024
17 checks passed
hongxiayang pushed a commit to hongxiayang/vllm that referenced this pull request Feb 13, 2024
…ect#2697)

Co-authored-by: Pernekhan Utemuratov <pernekhan@deepinfra.com>
alexm-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request Feb 13, 2024
…ect#2697)

Co-authored-by: Pernekhan Utemuratov <pernekhan@deepinfra.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 20, 2024
…ect#2697)

Co-authored-by: Pernekhan Utemuratov <pernekhan@deepinfra.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Feb 22, 2024
…ect#2697)

Co-authored-by: Pernekhan Utemuratov <pernekhan@deepinfra.com>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Mar 4, 2024
…ect#2697)

Co-authored-by: Pernekhan Utemuratov <pernekhan@deepinfra.com>
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.

None yet

2 participants