Skip to content

convert_deepseek_vl_weights_to_hf.py not included in v4.55.0 release. #39966

@rasmi

Description

@rasmi

convert_deepseek_vl_weights_to_hf.py, introduced in #36248, is in main but not in the v4.55.0 release.

This causes the following two tests to fail:

ImportError while importing test module 'tests/models/deepseek_vl/test_processing_deepseek_vl.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/models/deepseek_vl/test_processing_deepseek_vl.py:19: in <module>
    from transformers.models.deepseek_vl.convert_deepseek_vl_weights_to_hf import CHAT_TEMPLATE
E   ModuleNotFoundError: No module named 'transformers.models.deepseek_vl.convert_deepseek_vl_weights_to_hf'
ImportError while importing test module 'tests/models/deepseek_vl_hybrid/test_processing_deepseek_vl_hybrid.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/models/deepseek_vl_hybrid/test_processing_deepseek_vl_hybrid.py:19: in <module>
    from transformers.models.deepseek_vl.convert_deepseek_vl_weights_to_hf import CHAT_TEMPLATE
E   ModuleNotFoundError: No module named 'transformers.models.deepseek_vl.convert_deepseek_vl_weights_to_hf'

Who can help?

@geetu040 @zucchini-nlp @ArthurZucker

Information

  • The official example scripts
  • My own modified scripts

Reproduction

Run tests on v4.55.0 release.

Expected behavior

Tests pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions