The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Update README.md for Intel GPUs (#6069)
Qiacheng Li1419dee91560
diff --git a/README.md b/README.mdindex 1ec39d06f..844bd2866 100644--- a/README.md+++ b/README.md@@ -149,6 +149,30 @@ This is the command to install the nightly with ROCm 6.2 which might have some p```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm6.2.4```+### Intel GPUs (Windows and Linux)++(Option 1) Intel Arc GPU users can install native PyTorch with torch.xpu support using pip (currently available in PyTorch nightly builds). More information can be found [here](https://pytorch.org/docs/main/notes/get_start_xpu.html)++1. To install PyTorch nightly, use the following command:++```pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu```++2. Launch ComfyUI by running `python main.py`+++(Option 2) Alternatively, Intel GPUs supported by Intel Extension for PyTorch (IPEX) can leverage IPEX for improved performance.++1. For Intel® Arc™ A-Series Graphics utilizing IPEX, create a conda environment and use the commands below:++```+conda install libuv+pip install torch==2.3.1.post0+cxx11.abi torchvision==0.18.1.post0+cxx11.abi torchaudio==2.3.1.post0+cxx11.abi intel-extension-for-pytorch==2.3.110.post0+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/+```++For other supported Intel GPUs with IPEX, visit [Installation](https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu) for more information.++Additional discussion and help can be found [here](https://github.com/comfyanonymous/ComfyUI/discussions/476).+### NVIDIANvidia users should install stable pytorch using this command:@@ -177,17 +201,6 @@ After this you should have everything installed and can proceed to running Comfy### Others:-#### Intel GPUs--Intel GPU support is available for all Intel GPUs supported by Intel's Extension for Pytorch (IPEX) with the support requirements listed in the [Installation](https://intel.github.io/intel-extension-for-pytorch/index.html#installation?platform=gpu) page. Choose your platform and method of install and follow the instructions. The steps are as follows:--1. Start by installing the drivers or kernel listed or newer in the Installation page of IPEX linked above for Windows and Linux if needed.-1. Follow the instructions to install [Intel's oneAPI Basekit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html) for your platform.-1. Install the packages for IPEX using the instructions provided in the Installation page for your platform.-1. Follow the [ComfyUI manual installation](#manual-install-windows-linux) instructions for Windows and Linux and run ComfyUI normally as described above after everything is installed.--Additional discussion and help can be found [here](https://github.com/comfyanonymous/ComfyUI/discussions/476).-#### Apple Mac siliconYou can install ComfyUI in Apple Mac silicon (M1 or M2) with any recent macOS version.@@ -308,4 +321,3 @@ This will use a snapshot of the legacy frontend preserved in the [ComfyUI Legacy### Which GPU should I buy for this?[See this page for some recommendations](https://github.com/comfyanonymous/ComfyUI/wiki/Which-GPU-should-I-buy-for-ComfyUI)-