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

Building Docker with model built in #71

Open
KDercksen opened this issue May 15, 2024 · 4 comments
Open

Building Docker with model built in #71

KDercksen opened this issue May 15, 2024 · 4 comments

Comments

@KDercksen
Copy link

KDercksen commented May 15, 2024

Hi there,

The current version of the download_model.py script does not work due to the empty TENSORIZE_MODEL env check on line 50.

Once that is fixed, the weight_utils file in the vllm-base image does not exist - it seems there is some version mismatch going on with the vllm submodule and the new 1.0.0preview image.

Could you take a look?

@KDercksen KDercksen changed the title download_model.py tensorize not working Building Docker with model built in May 15, 2024
@alpayariyak
Copy link
Collaborator

Thanks a lot for pointing this out! Should work now

@nuckcrews
Copy link

nuckcrews commented May 16, 2024

Looks like prepare_hf_model_weights is no longer available in the vllm submodule as well (see: weight_utils.py).

Im getting the following error after pulling the latest changes.

2.686 Traceback (most recent call last):                                                                               
2.686   File "/download_model.py", line 6, in <module>
2.686     from vllm.model_executor.model_loader.weight_utils import prepare_hf_model_weights, Disabledtqdm
2.686 ImportError: cannot import name 'prepare_hf_model_weights' from 'vllm.model_executor.model_loader.weight_utils' (/usr/local/lib/python3.10/dist-packages/vllm/model_executor/model_loader/weight_utils.py)

@alpayariyak
Copy link
Collaborator

Thanks @nuckcrews, will fix this shortly, sorry for the oversight!

@alpayariyak alpayariyak reopened this May 16, 2024
@nuckcrews
Copy link

@alpayariyak any updates on this issue? I'm still seeing the same error.

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

No branches or pull requests

3 participants