Skip to content

[Question]: ImportError: cannot import name 'Qwen2_5_VLConfig' from 'transformers' #202

@chenchen772

Description

@chenchen772

Question

Thank you for providing such an excellent project!
However, I encountered some errors during the operation. I downloaded the relevant environment based on your tutorial and ran the code according to the process:

  1. conda activate internnav
    python scripts/eval/start_server.py --config scripts/eval/configs/h1_internvla_n1_async_cfg.py
Image

Then, an error occurred when running the following code:

  1. conda activate internutopia
    MESA_GL_VERSION_OVERRIDE=4.6 python scripts/eval/eval.py --config scripts/eval/configs/h1_internvla_n1_
Image

Because the code depends on transformers=4.26.1. Even if I update transformers=4.57.3, other errors will still be reported:

ImportError: cannot import name 'TransformGetItemToIndex' from 'torch._higher_order_ops.flex_attention'

So I updated torch again, but still couldn't solve it. Looking forward to your reply!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions