fix a bunch of XPU UT failures on stock PyTorch 2.7 and 2.8 (#39069)
* fix a bunch of XPU UT failures on stock PyTorch 2.7 and 2.8 Signed-off-by: YAO Matrix <matrix.yao@intel.com> * qwen3 Signed-off-by: YAO Matrix <matrix.yao@intel.com> * quanto Signed-off-by: YAO Matrix <matrix.yao@intel.com> * models Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style Signed-off-by: YAO Matrix <matrix.yao@intel.com> * idefics2 Signed-off-by: YAO Matrix <matrix.yao@intel.com> --------- Signed-off-by: YAO Matrix <matrix.yao@intel.com>
This commit is contained in:
@@ -624,6 +624,7 @@ class Idefics2ForConditionalGenerationIntegrationTest(unittest.TestCase):
|
||||
|
||||
expected_generated_texts = Expectations(
|
||||
{
|
||||
("xpu", 3): "In this image, we see the Statue of Liberty, the Hudson River,",
|
||||
("cuda", None): "In this image, we see the Statue of Liberty, the Hudson River,",
|
||||
("rocm", (9, 5)): "In this image, we see the Statue of Liberty, the New York City",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user