[qwen-vl] Standardize config (#37268)

* update

* fix tests

* fixup

* update

* skip this one

* fixup

* fix
This commit is contained in:
Raushan Turganbay
2025-04-17 09:38:12 +02:00
committed by GitHub
parent 4f96081aad
commit 3bc44eaaee
13 changed files with 202 additions and 55 deletions

View File

@@ -312,6 +312,10 @@ class Qwen2_5_VLModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.Test
def test_prompt_lookup_decoding_matches_greedy_search(self):
super().test_prompt_lookup_decoding_matches_greedy_search()
@unittest.skip(reason="The base class is LM only and cannot be init with XModelConfig`")
def test_save_load_fast_init_from_base(self):
pass
@require_torch
class Qwen2_5_VLIntegrationTest(unittest.TestCase):

View File

@@ -316,6 +316,10 @@ class Qwen2VLModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.TestCas
def test_generate_from_inputs_embeds_with_static_cache(self):
pass
@unittest.skip(reason="The base class is LM only and cannot be init with XModelConfig`")
def test_save_load_fast_init_from_base(self):
pass
@require_torch
class Qwen2VLIntegrationTest(unittest.TestCase):