Skip to content

Commit ac0769c

Browse files
Fix failing test in Glm4vMoeIntegrationTest (#42488)
* Fix missing model attribute in Glm4vMoeIntegrationTest * Removed extra condition. --------- Co-authored-by: Yih-Dar <[email protected]>
1 parent 57eeb9c commit ac0769c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/models/glm4v_moe/test_modeling_glm4v_moe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ def test_inputs_embeds_matches_input_ids(self):
294294
@require_torch
295295
@slow
296296
class Glm4vMoeIntegrationTest(unittest.TestCase):
297-
model = None
297+
@classmethod
298+
def setUpClass(cls):
299+
cls.model = None
298300

299301
@classmethod
300302
def get_model(cls):

0 commit comments

Comments
 (0)