You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please tell me how to launch Comfy UI Desktop with GPU 1? In the portable version, I did it like this: "set CUDA_VISIBLE_DEVICES=1", but I've been trying to figure it out on the desktop version for two days now, and none of the solutions I found online worked for me.
Hey @Lionnn107! 👋 I'm here to help you with any bugs, questions, or contributions you have. If you need assistance, feel free to ask!
The ComfyUI Desktop application does not have explicit documentation or command-line arguments for setting a specific GPU directly. However, you can try setting the CUDA_VISIBLE_DEVICES environment variable before launching the application, similar to what you did with the portable version. This environment variable is a standard way to specify which GPU to use in CUDA applications.
Here's how you can do it:
Open a terminal or command prompt.
Set the environment variable: set CUDA_VISIBLE_DEVICES=1 (on Windows) or export CUDA_VISIBLE_DEVICES=1 (on Linux/Mac).
Launch the ComfyUI Desktop application from the same terminal or command prompt.
This method should help the application recognize and use the specified GPU. If this doesn't work, it might be due to how the desktop application is packaged or executed, which could ignore the environment variable settings.
Hey @Lionnn107! 👋 I'm here to help you with any bugs, questions, or contributions you have. If you need assistance, feel free to ask!
The ComfyUI Desktop application does not have explicit documentation or command-line arguments for setting a specific GPU directly. However, you can try setting the CUDA_VISIBLE_DEVICES environment variable before launching the application, similar to what you did with the portable version. This environment variable is a standard way to specify which GPU to use in CUDA applications.
Here's how you can do it:
Open a terminal or command prompt.
Set the environment variable: set CUDA_VISIBLE_DEVICES=1 (on Windows) or export CUDA_VISIBLE_DEVICES=1 (on Linux/Mac).
Launch the ComfyUI Desktop application from the same terminal or command prompt.
This method should help the application recognize and use the specified GPU. If this doesn't work, it might be due to how the desktop application is packaged or executed, which could ignore the environment variable settings.
Could you please tell me how to launch Comfy UI Desktop with GPU 1? In the portable version, I did it like this: "set CUDA_VISIBLE_DEVICES=1", but I've been trying to figure it out on the desktop version for two days now, and none of the solutions I found online worked for me.
┆Issue is synchronized with this Notion page by Unito
The text was updated successfully, but these errors were encountered: