From 111e17031d37f345006280c8391b258954d3c4b0 Mon Sep 17 00:00:00 2001 From: Sam Khoze <68170403+SamKhoze@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:40:33 -0700 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 66e0cfd..c89fb68 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Restart your ComfyUI ## For MAC users please set the environment variable before running it +Activate your Virtual Environment, Conda or Venv ### Install [Pytorch](https://pytorch.org/) [Here](https://developer.apple.com/metal/pytorch/) how to install and test your PyTorch @@ -47,6 +48,8 @@ Restart your ComfyUI This method has been tested on a M1 and M3 Mac, You must run the below code on your terminal window for Mac Metal Performance Shaders (MPS) Apple's specialized solution for high-performance GPU programming on their devices. Integrating closely with the Metal framework, MPS provides a suite of highly optimized shaders for graphics and computing tasks, which is particularly beneficial in machine learning applications. ## ⚠️⚠️⚠️ Important Steps (if you miss these steps it will not work) + +### Copy and paste the command below to your terminal window. ``` export PYTORCH_ENABLE_MPS_FALLBACK=1 ```