Unverified Commit 0ed23e4d authored by Marc Sun's avatar Marc Sun Committed by GitHub
Browse files

fix vit hybrid test (#25543)

fix test
parent 3f9cb335
......@@ -281,7 +281,7 @@ class ViTModelIntegrationTest(unittest.TestCase):
image = prepare_img()
inputs = image_processor(images=image, return_tensors="pt")
inputs = image_processor(images=image, return_tensors="pt").to(torch_device)
outputs = model(**inputs)
logits = outputs.logits
# model predicts one of the 1000 ImageNet classes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment