Skip to content

Commit 9b221a8

Browse files
cyyeverArthurZucker
authored andcommitted
Fix outdated torch version check (#40925)
Update torch minimum version check to 2.2 Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
1 parent 7425f6d commit 9b221a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/models/qwen2_5_vl/test_modeling_qwen2_5_vl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
if is_torch_available():
5656
import torch
5757

58-
else:
59-
is_torch_greater_or_equal_than_2_0 = False
6058

6159
if is_vision_available():
6260
from PIL import Image

0 commit comments

Comments
 (0)