Comfyui venv folder tutorial. Download a stable diffusion model.
Comfyui venv folder tutorial \main. After which you should be able to use it again. 0 --port 3000 Manual Step by Step Install Execute below commands 1 by 1 2 days ago · This tutorial introduces three different methods for image upscaling in ComfyUI: pixel resampling, SD secondary sampling upscaling, and using dedicated upscaling models. 2. Jan 6, 2023 · Activate Python venv environment. Thanks! Oct 3, 2023 · We will create a folder named ai in the root directory of the C drive under Windows and in the user’s home directory under Linux. On Mac: In the ComfyUI directory, run git pull followed by pip install -r requirements. (The installer creates a python venv named 'venv' in the base folder by default) Upgrade torch, use the command for your GPU vendor (similar to the install script): Apr 11, 2025 · ComfyUI has now released a ComfyUI Desktop version that can be installed like a regular software program. Copy the downloaded file and paste it into the ComfyUI folder, where the rest of the downloaded files are available. py Apr 20, 2024 · TLDR This tutorial guides users through installing ComfyUI, a flexible yet challenging node-based user interface for Stable Diffusion, and its Manager. For ComfyUI Desktop you can use the system uninstall function in Windows Settings to complete software uninstallation. …portable\\ComfyUI. 0. . 1, Hunyuan, and LTXV 0. 再安裝其他指定 packages:. It allows users to create and manage complex workflows for image generation by connecting various functional blocks called nodes. In the extensions folder delete: stable-diffusion-webui-tensorrt folder if it exists Delete the venv folder Open a command prompt and navigate to the base SD webui folder Run webui. sh 5 days ago · 📁ComfyUI_windows_portable ├── 📁ComfyUI // comfy UI主要文件夹 │ ├── . Start your image generation journey today! 1. \python_embeded\python. Explore in-depth tutorials, optimized workflows, and expert guides to enhance your AI workflow experience. ComfyUI is a powerful graphical user interface (GUI) designed specifically for Stable Diffusion workflows. Install Miniconda. 在虛擬環境上安裝 PyTorch:. just installing all those libraries by default. After another round of Google, it seems to be some Virtual environment or Something. Key python -m venv venv venv\Scripts\activate pip install comfy-cli comfy install Linux/OSX: python -m venv venv . I did the 2nd one to share all the PyTorch and Xformer library installs that Automatic1111 has done. 4 Using CPython 3. The desktop application comes bundled with: ComfyUI source code; ComfyUI-Manager; Electron, Chromium binaries, and node modules; Windows. Written by comfyanonymous and other contributors. sh into empty install directory ComfyUI will be installed in the subdirectory of the specified directory, and the directory will contain the generated executable script. My setup went fine, selected the old ComfyUI folder and it connected the links for the models folder and found the custom_nodes also. Open your downloaded optimized library archive and put them inside the library folder (overwriting if necessary): "C:\Program Files\AMD\ROCm\5. 0 license and offers two versions: 14B (14 billion parameters) and 1. Refresh the ComfyUI page and select the SVD_XT model in the Image Only Checkpoint Loader node. Furthermore, this extension provides a hub feature and convenience functions to access a wide range of information within ComfyUI. install and use ComfyUI for the first time; install ComfyUI manager; run the default examples; install and use popular custom nodes; run your ComfyUI workflow on Replicate; run your ComfyUI workflow with an API; Install ComfyUI. Master AUTOMATIC1111/ComfyUI/Forge quickly step-by-step. 113] [info] Creating ComfyUI directories in C:\Users\max-private\Local Documents\ComfyUI [2024-12-07 10:53:23. This will help you install the correct versions of Python and other libraries needed by ComfyUI. github // GitHub Actions 工作流文件夹 │ ├── 📁 comfy // │ ├── 📁 comfy_extras // │ ├── 📁 custom_nodes // comfyUI 自定义节点文件目录(插件安装目录) │ ├── 📁 input That's why you usually have a virtual environment (venv) for larger projects. Am I cruising for a bruising using Automatic1111's? Jan 29, 2023 · python -V python -m venv venv venv\Scripts\activate cd ComfyUI 1行目で python のバージョンを確認して、3. ComfyUI is a powerful and modular GUI and backend for stable diffusion models, featuring a graph/node-based interface that allows you to design and execute advanced stable diffusion workflows without any coding. This setup is tested on a server running on Google cloud with Tesla T4 GPU and Nvidia. 下載 stable diffusion model. 可從 civit ai 下載 Mar 15, 2025 · This is the link for the discrete Arc GPUs. The app will automatically update with stable releases of ComfyUI, ComfyUI-Manager, and the uv executable as well as some desktop specific features. Flexible. The objective is to use a Python Virtual Envionment (VENV) hosted on WSL2, on Windows, to run ComfyUI locally without the prebuilt standalone package. 1. 1 ComfyUI Workflow. 7\bin\rocblas", there would be a "library" folder, backup the files inside to somewhere else. Locate the "Models" folder and double-click to open it. Jul 10, 2023 · Here I dont see any venv folders and any activate. Apr 11, 2025 · 目前 ComfyUI 官方已推出 ComfyUI Desktop 版本,可以像普通软件程序一样安装,可以方便的进行安装,如果你是 Windows 用户,强烈建议你使用 ComfyUI Desktop 版本. py ", line 64, in < module > spec. ComfyUI installation or its Python virtual environment just keeps breaking all the damn time. Step 2: Upload an image Install the ComfyUI dependencies. Install Dependencies. Selecting a model. Dec 25, 2024 · ComfyUI features a node-based interface, which significantly enhances user flexibility when working with Stable Diffusion. Sep 10, 2024 · ComfyUI now runs in a VENV (virtual environment), so the dependencies are isolated from your system. Easy to share workflows. Unlock next-level video creation with Wan 2. As I built it with support for specifying the UID and GID, I made an Unraid version 2024-09-02: Approved for CA After installing the tool from Community Apps, and letting it How to Uninstall ComfyUI Desktop. 11 -y apt install python3. You don't actually have to activate the venv, you May 10, 2024 · Inside the comfy portable folder there's an embedded python and a venv. Download a stable diffusion model. 6 days ago · Wan2. Download the install-comfyui-venv-linux. 04. Apr 20, 2024 · Timestamps:0:00 [Intro] Scope of the tutorial and brief intro to ComfyUI0:25 [GitHub] We will be following the instructions but making sure to install depend I somehow got it to magically run with AMD despite to lack of clarity and explanation on the github and literally no video tutorial on it. xx であることを確認してください。 続いて 2 行目で仮想環境を作りましょう。そうすると venv というフォルダができていることがわかります。 ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= With Powershell: "path_to_other_sd_gui\venv\Scripts\Activate. 7\bin\rocblas , there would be a "library" folder, backup the files inside to somewhere else. Always use the start_comfyui. 7\bin\rocblas\library" Mar 29, 2024 · You signed in with another tab or window. Launch ComfyUI by running python main. - Comfy-Org/ComfyUI-Manager Go to folder "C:\Program Files\AMD\ROCm\5. py in your ComfyUI custom nodes folder; Start ComfyUI to automatically import the node; Add the node in the UI from the Example2 category and connect inputs/outputs; Refer to the video for more detailed steps on loading and using the custom node. log (22. The previous command should have created a folder named venv in your current directory, make sure you don't delete this folder. GPU acceleration should be enabled ("Using cuda:0" in the logs). Nov 26, 2023 · Restart ComfyUI completely and load the text-to-video workflow again. Let me know if you have any other questions! apt update apt install psmisc fuser -k 3000/tcp cd /workspace/ComfyUI/venv source bin/activate cd /workspace/ComfyUI python main. The most powerful and modular stable diffusion GUI and backend. exe" venv --python 3. 4. 3B (1. ComfyUI Desktop Installation Guide; ComfyUI Desktop version now natively supports English, Chinese, Russian, Japanese, and Korean Feb 11, 2025 · This tutorial describes how to convert a single generated image into a smooth, extended video using the Hunyuan model and custom LoRA setups in ComfyUI. Stable version of ComfyUI from releases; ComfyUI_frontend; ComfyUI-Manager; uv; On startup, it will install all the necessary python dependencies with uv and start the ComfyUI server. Each time you open a new terminal it will need to be re-activated if you want to use PyTorch or any other PIP packages. 3. Frequently Asked Questions AUTOMATIC1111 does not start after updating. 6. There should be no FFMPEG warnings. 12. Aug 28, 2024 · 4. bat file in the update folder. Download the SVD XT model. Dec 31, 2024 · It should be in ComfyUI's folder. This repository provides instructions for setting up and using ComfyUI in a Python environment and Jupyter notebooks. txt . exe -s ComfyUI\main. 2 KB). txt but comfyui still tips "ModuleNotFoundError: No module named 'ltx_video'", and I can't load the LTX nodes comfyui_8000. 5. Good for prototyping. bat" And then you can use that terminal to run Comfyui without installing any dependencies. Mar 10, 2011 · If I rarely find something that is supposed to help, all people talk about some VENV folder, but there is no such folder in the Comfy Directory. ComfyUI. log Cheers, funnily enough I had just sat down this morning to write a guide for using ZLuda to run Fooocus and then saw yours for Comfy - I like the idea of borrowing the venv (and seeing if it'll work for Fooocus) but it's now been all day and no further on. Is that a… bad idea? I certainly want ComfyUI to run under a venv vs. To activate this on Microsoft Window all you need to do is run a script that gets installed by venv, if you have created this in a directory known myenv, the command shall be as follows: Paul@ninja-ide:~#C:\Users\Paul> venv\Scripts\activate. Seems to have been some success: PS C:\Windows\System32> & "C:\Users\Gamers\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\uv\win\uv. Tips for Future Installations. In this guide you are going to learn how to install ComfyUI on Ubuntu 22. Run source venv/bin/activate to activate the Python virtual environment. ComfyUI is a highly efficient VRAM management tool. Nov 23, 2024 · After checking out the previous code, delete the venv folder and restart WebUI. Apr 20, 2024 · TLDR This tutorial guides viewers through the installation of ComfyUI, a flexible yet complex user interface for Stable Diffusion, which supports plugins and extensions. /venv/bin/pip install -r requirements. Community and Resources The venv folder should be inside the comfyui folder, and it should point to the Python version found when it is created, the first time you run comfyui. sh script into an empty directory where you want to install ComfyUI. Sep 11, 2024 · Prerequisites: python-is-python3, python3-venv, Git. By iteratively feeding the last output frames back into the process, you can generate practically unlimited video length while preserving the stylized details of your original image. Open your downloaded optimized library archive and put them inside the library folder (overwriting if necessary) : "C:\Program Files\AMD\ROCm\5. Apr 11, 2025 · How to Install ComfyUI on Linux. igaig guxgz luv xdonx xiuwa edgilgd agbzg zehnh bmfy vxxg xetq emdti wvlxbp gvr bygz