Fix auto importer for LNL release (#12175)
This commit is contained in:
parent
535bee5381
commit
890662610b
1 changed files with 7 additions and 2 deletions
|
|
@ -112,8 +112,13 @@ class IPEXImporter:
|
||||||
distribution('bigdl-core-xe-21')
|
distribution('bigdl-core-xe-21')
|
||||||
return True
|
return True
|
||||||
except PackageNotFoundError:
|
except PackageNotFoundError:
|
||||||
# bigdl-core-xe not found
|
# bigdl-core-xe & bigdl-core-xe-21 not found
|
||||||
return False
|
# Check if bigdl-core-xe-23 is installed
|
||||||
|
try:
|
||||||
|
distribution('bigdl-core-xe-23')
|
||||||
|
return True
|
||||||
|
except PackageNotFoundError:
|
||||||
|
return False
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def import_ipex(self):
|
def import_ipex(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue