mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
Remove OneAPI warning
This commit is contained in:
@@ -403,8 +403,6 @@ def check_torch():
|
||||
elif allow_ipex and (args.use_ipex or shutil.which('sycl-ls') is not None or shutil.which('sycl-ls.exe') is not None or os.environ.get('ONEAPI_ROOT') is not None or os.path.exists('/opt/intel/oneapi') or os.path.exists("C:/Program Files (x86)/Intel/oneAPI") or os.path.exists("C:/oneAPI")):
|
||||
args.use_ipex = True # pylint: disable=attribute-defined-outside-init
|
||||
log.info('Intel OneAPI Toolkit detected')
|
||||
if shutil.which('sycl-ls') is None and shutil.which('sycl-ls.exe') is None:
|
||||
log.error('Intel OneAPI Toolkit is not activated! Activate OneAPI manually!')
|
||||
os.environ.setdefault('NEOReadDebugKeys', '1')
|
||||
os.environ.setdefault('ClDeviceGlobalMemSizeAvailablePercent', '100')
|
||||
if "linux" in sys.platform:
|
||||
|
||||
Reference in New Issue
Block a user