diff --git a/installer.py b/installer.py index a97bbebfe..3001f0357 100644 --- a/installer.py +++ b/installer.py @@ -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: