mirror of https://github.com/llvm/torch-mlir
10 lines
201 B
INI
10 lines
201 B
INI
|
config.unsupported = True
|
||
|
|
||
|
try:
|
||
|
import torch
|
||
|
if torch.__version__ >= "2.3.0.dev20240207":
|
||
|
print("Enabling Torch v2.3+ tests")
|
||
|
config.unsupported = False
|
||
|
except ModuleNotFoundError:
|
||
|
...
|