mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 00:34:33 +02:00
Add env variables for MKL, DPCPP and OpenVINO installer
This commit is contained in:
+7
-6
@@ -37,15 +37,16 @@
|
||||
- **Extra networks** new *settting -> extra networks -> build info on first access*
|
||||
indexes all networks on first access instead of server startup
|
||||
- **IPEX**, thanks @disty0
|
||||
- update to **Torch 2.1**
|
||||
- built-in *MKL* and *DPCPP* for IPEX
|
||||
no need to install OneAPI anymore
|
||||
- update to **Torch 2.1**
|
||||
if you get file not found errors, set DISABLE_IPEXRUN=1 and run the webui with --reinstall
|
||||
- built-in *MKL* and *DPCPP* for IPEX, no need to install OneAPI anymore
|
||||
- fix IPEX Optimize not applying with Diffusers backend
|
||||
- disable 32 bit workarounds if the GPU supports 64 bit
|
||||
- add DISABLE_IPEXRUN environment variable
|
||||
- compatibility improvements
|
||||
- **OpenVINO**
|
||||
- Add *Directory for OpenVINO cache* option to *System Paths*, thanks @disty0
|
||||
- Remove Intel ARC specific 1024x1024 workaround, thanks @disty0
|
||||
- **OpenVINO**, thanks @disty0
|
||||
- Add *Directory for OpenVINO cache* option to *System Paths*
|
||||
- Remove Intel ARC specific 1024x1024 workaround
|
||||
- **Inpaint** add option `apply_overlay` to control if inpaint result should be applied as overlay or as-is
|
||||
can remove artifacts and hard edges of inpaint area but also remove some details from original
|
||||
- disable google fonts check on server startup
|
||||
|
||||
+4
-4
@@ -426,9 +426,9 @@ def check_torch():
|
||||
torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.1.0a0 torchvision==0.16.0a0 intel-extension-for-pytorch==2.1.10+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/')
|
||||
if "linux" in sys.platform:
|
||||
os.environ.setdefault('TENSORFLOW_PACKAGE', 'tensorflow==2.14.0 intel-extension-for-tensorflow[xpu]==2.14.0.1')
|
||||
install('mkl==2024.0.0', 'mkl')
|
||||
install('mkl-dpcpp==2024.0.0', 'mkl-dpcpp')
|
||||
install('openvino', 'openvino', ignore=True)
|
||||
install(os.environ.get('MKL_PACKAGE', 'mkl==2024.0.0'), 'mkl')
|
||||
install(os.environ.get('DPCPP_PACKAGE', 'mkl-dpcpp==2024.0.0'), 'mkl-dpcpp')
|
||||
install(os.environ.get('OPENVINO_PACKAGE', 'openvino==2023.2.0'), 'openvino', ignore=True)
|
||||
install('onnxruntime-openvino', 'onnxruntime-openvino', ignore=True)
|
||||
elif allow_openvino and args.use_openvino:
|
||||
log.info('Using OpenVINO')
|
||||
@@ -500,7 +500,7 @@ def check_torch():
|
||||
if opts.get('cuda_compile_backend', '') == 'hidet':
|
||||
install('hidet', 'hidet')
|
||||
if args.use_openvino or opts.get('cuda_compile_backend', '') == 'openvino_fx':
|
||||
install('openvino==2023.2.0', 'openvino')
|
||||
install(os.environ.get('OPENVINO_PACKAGE', 'openvino==2023.2.0'), 'openvino')
|
||||
install('onnxruntime-openvino', 'onnxruntime-openvino', ignore=True) # TODO openvino: numpy version conflicts with tensorflow and doesn't support Python 3.11
|
||||
os.environ.setdefault('PYTORCH_TRACING_MODE', 'TORCHFX')
|
||||
os.environ.setdefault('NEOReadDebugKeys', '1')
|
||||
|
||||
Reference in New Issue
Block a user