diff --git a/CHANGELOG.md b/CHANGELOG.md index 49050c0dc..c6184bd9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -94,7 +94,6 @@ it is time to give credit to original [author](https://github.com/auTOMATIC1111) - Disable forced VAE Slicing for *lowvram* - **Improvements**: - Faster server startup - - Add **MIGraphX** torch optimization engine, thanks @Disty0 - More **ZLUDA** updates and optimizations, thanks @lshqqytiger - Styles apply wildcards to params - Extra networks persistent sort order in settings @@ -113,16 +112,19 @@ it is time to give credit to original [author](https://github.com/auTOMATIC1111) *note*: you can use other samplers as well with SDXL-Lightning models - Add *CMSI* sampler, optimized for consistency models - Add option *timestep spacing* to sampler settings -- **IPEX** - - Update to *IPEX 2.1.20* on Linux +- **IPEX**, thanks @Disty0 + - Update to *IPEX 2.1.30* on Linux requires removing the venv folder to update properly - Removed 1024x1024 workaround - - Disable ipexrun by default, set `IPEXRUN=True` if you want to use `ipexrun`. + - Disable ipexrun by default, set `IPEXRUN=True` if you want to use `ipexrun` +- **ROCm**, thanks @Disty0 + - Switch to stable branch of PyTorch + - Compatibility improvenments + - Add **MIGraphX** torch compile engine - **Fixes**: - Update requirements - Prompt params parser - Image save without metadata - - ROCm compatibility, thanks @Disty0 - API generate save metadata - Face/InstantID faults - CivitAI update model info for all models diff --git a/installer.py b/installer.py index 408d0278d..0747c6686 100644 --- a/installer.py +++ b/installer.py @@ -547,29 +547,31 @@ def check_torch(): if os.environ.get("ClDeviceGlobalMemSizeAvailablePercent", None) is None: os.environ.setdefault('ClDeviceGlobalMemSizeAvailablePercent', '100') if "linux" in sys.platform: - torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.1.0.post0 torchvision==0.16.0.post0 intel-extension-for-pytorch==2.1.20+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/') + torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.1.0.post2 torchvision==0.16.0.post2 intel-extension-for-pytorch==2.1.30+xpu oneccl_bind_pt==2.1.300+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/') os.environ.setdefault('TENSORFLOW_PACKAGE', 'tensorflow==2.15.0 intel-extension-for-tensorflow[xpu]==2.15.0.0') if os.environ.get('DISABLE_VENV_LIBS', None) is None: install(os.environ.get('MKL_PACKAGE', 'mkl==2024.1.0'), 'mkl') install(os.environ.get('DPCPP_PACKAGE', 'mkl-dpcpp==2024.1.0'), 'mkl-dpcpp') install(os.environ.get('ONECCL_PACKAGE', 'oneccl-devel==2021.12.0'), 'oneccl-devel') - install(os.environ.get('MPI_PACKAGE', 'impi-devel==2021.12.0'), 'impi-devel') + install(os.environ.get('MPI_PACKAGE', 'impi-devel==2021.12.1'), 'impi-devel') else: if sys.version_info.minor == 11: pytorch_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torch-2.1.0a0+cxx11.abi-cp311-cp311-win_amd64.whl' torchvision_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torchvision-0.16.0a0+cxx11.abi-cp311-cp311-win_amd64.whl' ipex_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/intel_extension_for_pytorch-2.1.10+xpu-cp311-cp311-win_amd64.whl' + torch_command = os.environ.get('TORCH_COMMAND', f'{pytorch_pip} {torchvision_pip} {ipex_pip}') elif sys.version_info.minor == 10: pytorch_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torch-2.1.0a0+cxx11.abi-cp310-cp310-win_amd64.whl' torchvision_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/torchvision-0.16.0a0+cxx11.abi-cp310-cp310-win_amd64.whl' ipex_pip = 'https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10%2Bxpu/intel_extension_for_pytorch-2.1.10+xpu-cp310-cp310-win_amd64.whl' + torch_command = os.environ.get('TORCH_COMMAND', f'{pytorch_pip} {torchvision_pip} {ipex_pip}') else: - pytorch_pip = 'torch==2.1.0a0' - torchvision_pip = 'torchvision==0.16.0a0' - ipex_pip = 'intel-extension-for-pytorch==2.1.10+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/' + torch_command = os.environ.get('TORCH_COMMAND', 'torch==2.1.0.post2 torchvision==0.16.0.post2 intel-extension-for-pytorch==2.1.30 --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/') if os.environ.get('DISABLE_VENV_LIBS', None) is None: - 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('MKL_PACKAGE', 'mkl==2024.1.0'), 'mkl') + install(os.environ.get('DPCPP_PACKAGE', 'mkl-dpcpp==2024.1.0'), 'mkl-dpcpp') + install(os.environ.get('ONECCL_PACKAGE', 'oneccl-devel==2021.12.0'), 'oneccl-devel') + install(os.environ.get('MPI_PACKAGE', 'impi-devel==2021.12.1'), 'impi-devel') torch_command = os.environ.get('TORCH_COMMAND', f'{pytorch_pip} {torchvision_pip} {ipex_pip}') install(os.environ.get('OPENVINO_PACKAGE', 'openvino==2023.3.0'), 'openvino', ignore=True) install('nncf==2.7.0', 'nncf', ignore=True)