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,7 +112,12 @@ class IPEXImporter:
|
|||
distribution('bigdl-core-xe-21')
|
||||
return True
|
||||
except PackageNotFoundError:
|
||||
# bigdl-core-xe not found
|
||||
# bigdl-core-xe & bigdl-core-xe-21 not found
|
||||
# Check if bigdl-core-xe-23 is installed
|
||||
try:
|
||||
distribution('bigdl-core-xe-23')
|
||||
return True
|
||||
except PackageNotFoundError:
|
||||
return False
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue