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

Llava 1.5 doesn't work with transformers 4.39.0 #29789

Closed
1 of 4 tasks
xwjiang2010 opened this issue Mar 21, 2024 · 2 comments
Closed
1 of 4 tasks

Llava 1.5 doesn't work with transformers 4.39.0 #29789

xwjiang2010 opened this issue Mar 21, 2024 · 2 comments
Labels
bug Multimodal Should Fix This has been identified as a bug and should be fixed.

Comments

@xwjiang2010
Copy link

System Info

  • transformers version: 4.39.0
  • Platform: Linux-6.2.0-1017-aws-x86_64-with-glibc2.31
  • Python version: 3.9.18
  • Huggingface_hub version: 0.21.2
  • Safetensors version: 0.4.2
  • Accelerate version: 0.27.2
  • Accelerate config: not found
  • PyTorch version (GPU?): 2.1.2+cu121 (True)
  • Tensorflow version (GPU?): not installed (NA)
  • Flax version (CPU?/GPU?/TPU?): not installed (NA)
  • Jax version: not installed
  • JaxLib version: not installed
  • Using GPU in script?:
  • Using distributed or parallel set-up in script?:

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

from transformers import LlavaForConditionalGeneration
model = LlavaForConditionalGeneration.from_pretrained("llava-hf/llava-1.5-7b-hf")

Expected behavior

run through without error

@amyeroberts
Copy link
Collaborator

Hi @xwjiang2010, thanks for flagging!

We'll merge in a fix + patch release soon

@amyeroberts amyeroberts added Should Fix This has been identified as a bug and should be fixed. bug Vision Multimodal and removed Vision labels Mar 22, 2024
@NielsRogge
Copy link
Contributor

Closing as this is resolved by #29389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Multimodal Should Fix This has been identified as a bug and should be fixed.
Projects
None yet
Development

No branches or pull requests

3 participants