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

The evaluation device_map setting is not optimized for quantized models using the ExLlamaV2 backend. #629

Open
WeiweiZhang1 opened this issue Nov 26, 2024 · 0 comments

Comments

@WeiweiZhang1
Copy link

The evaluation setting is not optimized for quantized models using the ExLlamaV2 backend, which serves as the default kernel for Auto-GPTQ and Transformers.

image

Changing device_map="cpu" to device_map='auto' will resolve the model loading issue.
image

The known problematic model files are:
vlmeval/vlm/llama_vision.py
vlmeval/vlm/llava/llava.py
vlmeval/vlm/qwen2_vl/model.py

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

1 participant