@@ -355,7 +355,7 @@ def test_mistral3_integration_batched_generate(self):
355355 expected_outputs = Expectations (
356356 {
357357 ("xpu" , 3 ): "Calm lake's mirror gleams,\n Whispering pines stand in silence,\n Path to peace begins." ,
358- ("cuda" , 8 ): "Wooden path to calm, \n Reflections whisper secrets, \n Nature's peace unfolds. " ,
358+ ("cuda" , 8 ): "Calm waters reflect \n Wooden path to distant shore \n Silence in the woods " ,
359359 ("rocm" , (9 , 5 )): "Calm waters reflect\n Wooden path to distant shore\n Silence in the scene"
360360 }
361361 ) # fmt: skip
@@ -432,7 +432,8 @@ def test_mistral3_integration_batched_generate_multi_image(self):
432432 decoded_output = processor .decode (gen_tokens [0 ], skip_special_tokens = True )
433433 expected_outputs = Expectations (
434434 {
435- ("cuda" , 8 ): 'Calm waters reflect\n Wooden path to distant shore\n Silence in the scene' ,
435+ ("cuda" , 8 ): "Calm waters reflect\n Wooden path to distant shore\n Peace in nature's hold" ,
436+ ("rocm" , (9 , 4 )): "Calm waters reflect\n Wooden path to distant shore\n Silence in the pines" ,
436437 }
437438 ) # fmt: skip
438439 expected_output = expected_outputs .get_expectation ()
@@ -448,6 +449,7 @@ def test_mistral3_integration_batched_generate_multi_image(self):
448449 {
449450 ("xpu" , 3 ): "Certainly! The images depict two iconic landmarks:\n \n 1. The first image shows the Statue of Liberty in New York City." ,
450451 ("cuda" , 8 ): 'Certainly! The images depict two famous landmarks in the United States:\n \n 1. The first image shows the Statue of Liberty,' ,
452+ ("rocm" , (9 , 4 )): 'Certainly! The images depict two famous landmarks in the United States:\n \n 1. The first image shows the Statue of Liberty,' ,
451453 }
452454 ) # fmt: skip
453455 expected_output = expected_outputs .get_expectation ()
0 commit comments