Comfyui venv folder ubuntu reddit. Belittling their efforts will get you banned.
Comfyui venv folder ubuntu reddit bat - this should rebuild the virtual environment venv Welcome to the unofficial ComfyUI subreddit. Everything is using that embedded python and any python packages are installed in the venv. envrc into the comfyui directory with the following content: Only downside I can think of is that every venv you create for a UI, you’re downloading huge packages like Torch over and over again. 04 and I'm currently using ComfyUI without any issues. Go to the ComfyUI root folder, open CMD there and run: python_embeded\python. Since a Flux example was recently added, I created this container builder to test it. While usually resolved automagically, in the past, I’ve run into dependency issues swapping branches around on the same venv. \pip. py file thanks to that bug report on github. direnv is a little utility that can run various commands when you enter a directory. Installing Comfyui with a venv 2. Also, if you have system-level python packages that conflict, you'll experience a lot of compatibility issues, like you seem to have already had. u/echo off. Seems reasonable. Before running comfyui first time activate comfy and do 'cd X:/. Explore in-depth tutorials, optimized workflows, and expert guides to enhance your AI workflow experience. bat but if you want to start over you can just rename/delete the folder and start from scratch if you want. Belittling their efforts will get you banned. But - I’d rename your json files and let sd remake them first as they’re quite flimsy (& by renaming them , you can always undo that). Comfyui-SUPIR . bat to instal the venv cd models delete the folder inside make your models symlinks for example you could ls to list the folders inside your original models instalation copy the list names and ask bard, chatgpt or clade ai to make a command for each but be sure to read and make sure is correct b4 you execute it We would like to show you a description here but the site won’t allow us. The problem arose from using my auto1111 models folder to host the sdxl files. bat" file) check the version of Python aka run CMD and type "python_embeded\python. org. exe -s ComfyUI\main. 04 with 7900XTX, using Automatic1111. Sadly, a lot of the software isn’t ready yet for the brand new hardware. py file is. This setup is tested on a server running on Google cloud with Tesla T4 GPU and Nvidia. Finally, run CMD in ComfyUI linking to the venv from the automatic 1111 folder. Rules. Like if you check your a1111 folder, then you'll see a venv folder, which basically is the same as the python_embedded folder within the comfyui folder. How can I see which packages are installed under ComfyUI venv, or it just runs "the way I dont understand and dont need to understand", just need to use the program as it is without going into the things which are too difficult to grasp for an amateur user? Thanks! 5. First things first, my current configuration: ComfyUI's bat file starts by ". Currently looks like this @echo off set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= --autolaunch --theme dark @REM Uncomment following… eidt: if you still want to try it out you can make a text file and write something like this in it: @echo off "path\to\your\ComfyUI\venv\Scripts\python. try to to rename the venv folder to something else (or delete it entirely), then launch webui and it should reinstall the venv folder. Added support for VoltaML and InvokeAI, on top of previous support for Automatic1111, ComfyUI, SD. I wanted to get two environments running b/c my workflow tends towards lots of isolated tinkering, so I went towards Docker and found this. call webui --use-directml --reinstall. Jan 15, 2025 · Comfy-WaveSpeedについて Comfy-WaveSpeed : r/HunyuanVideo 上のRedditにカスタムノードの記載があり、興味を持っていたところですが、youtubeで、このカスタムノードの詳細な解説がありました。 とても分かりやすい内容で、このカスタムノードの効果のイメージを持つには最適かと思います。 具体的には run the webui. py --auto-launch Welcome to the unofficial ComfyUI subreddit. There is an unneeded extra "git clone" in step 4 that will cause that step to harmlessly fail. The Ubuntu community on Reddit. Be aware that this may temporarily use a large amount of filespace. set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= --xformers --autolaunch call webui. 04 //ONLY RUN IF YOU USED UBUNTU WSL IN THE PAST AND WANT TO GET RID OF PREVIOUS INSTANCE wsl --install Ubuntu-22. Then I created the environment in the SD folder: python3. exe . Am running on Ubuntu 22. Tried deleting venv folder & have tried redownloading the repo. ComfyUI installation or its Python virtual environment just keeps breaking all the damn time. dll files from the "bin" folder in that zip file and replace the ones in your "stable-diffusion-main\venv\Lib\site-packages\torch\lib" folder with them. (backup images and checkpoints and such if you have any, that why I rename the folder and not delete it. bat file? u/echo off . Install Dependencies. 10 -m venv . py and not webui-user. Comfyui-ipadapterplus-older . You may delete the backups folder after confirming the new safetensors files work as intended. Would it be possible to have multiple copies of ComfyUI in one folder, all share same venv folder. However, I'm facing an issue with sharing the model folder. Please share your tips, tricks, and workflows for using this software to create your AI art. So you can uninstall pythons versions lower then 3. 04 using AMD's own instructions right now and may actually brick your install if you follow their quickstart guide. Here I dont see any venv folders and any activate. 10 or 3. edit2: oh and save it as a . Steps for oversight of scope are - 1. py but there's no commandline_args line to add it to. Otherwise excellent guide ROCm cannot be installed on 24. exe -V" Depending on Python version (3. Install correct torch for ZLuda 4. It's cool, and still faster than the last time i tried it (3070ti) but still not fast, so off we go to ubuntu. Venv does something very similar in creating a virtual machine with separated python packages. 72 I've been using Stability Matrix and also installed ComfyUI portable. Apr 11, 2025 · How to Install ComfyUI on Linux. The general idea is: With Powershell: "path_to_python_emb\venv\Scripts\Activate. Hi folks, I am a bit lost here. vennv Reason for this is to save space and avoid extension conflict. With Lightning and Hyper LoRAs I'm generating images in only a few seconds. Also I don't know when it has been changed, but ComfyUI is not a conda packet enviroment anymore, it depends from an python_embeded package, and generate an venv from it results in no tkinter. I wanted to try comfyUI on my local machine, but obviously I don't have any idea how to run this UI. \main. Personally, I also have a user. Run ComfyUI under the Python venv of Automatic1111. bat file should be in the comfy main folder where the main. Restart computer. Update: Fixed. Rename them and then restart sd twice . 8 conda activate stable. , C:\). /r/StableDiffusion is back open after the protest of Reddit killing open API access, which will bankrupt app developers, hamper moderation, and exclude blind users from the site. ps1" With cmd. exe install insightface==0. I installed the pre version of torch rocm5. 6. When that is done set the current Jul 10, 2023 · I am not very advanced in all this stuff, but being acquainted to A1111 I saw and knew how to activate the venv. Go in the Comfyui library folder and copy there the found folder. 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. set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= --autolaunch. For example, if you were to use venv on ubuntu and install open-cv you need to use 'apt' to install packages on your system. fix: find file libdevice. bat` file to automatically set up all dependencies. Also, if this is new and exciting to you, feel free to post I'm currently not on PC, i believe there is a folder name python-embedded or something in ComfyUI standalone. For now I meanly do portrait shot of faces to learn and tweak. g moondream) then setup the base_path. edit the webui-user. txt. -All other steps are self explanatory on the source github. This subreddit is for support for Ubuntu. Mar 14, 2025 · Mostly I've been putting my shiny new 9070XT to work over the last few days playing with comfyui on directml/win11. Such as: Comfyui/ . py –cpu, as mine iMac 27′ Late 2013), I got message: Total VRAM 24576 MB, total RAM 24576 MB. Originally designed for computer architecture research at Berkeley, RISC-V is now used in everything from $0. Copy the torch folder installed there. exe -m pip install opencv-python==4. Run once (let DirectML install), close down the window 7. Hi, running StableCascade in ComfyUI and really like the results. bat &. Probably not as fast as an equivalent nVidia card but good enough for my purposes. Then enter the following command to create a venv environment named comfyui_env. exe" "path\to\your\ComfyUI\main. txt from the snapshot you’re on. It’s the preferred way actually because you can set up the venv to use the most preferred packages based on the requirements. 11) download prebuilt Insightface package to ComfyUI root folder: So I've been running ComfyUI inside of a python venv and getting ok speeds for my ancient 6GB GPU. So if you’re constrained on disk space. exe: "path_to_python_emb\venv\Scripts\activate. bat or Comfyrun. Getting started. The final hurtel was to patch a degradations. If not you need to manually install insightface, activate venv first then pip install insightface or use wheel (if you google you‘ll find many people use that solution to get a version of inisightface that will work for sure, make sure you’ve got matching python and wheel versions if going that route). Aug 18, 2024 · ComfyUI is a Stable Diffusion webUI. Feb 19, 2025 · Create venv Environment: Navigate to the directory where you want to store the ComfyUI project (e. 0. Other than that, most are set up to install their own environment out of the box. /somename/comfyui/custom_nodes/' then 'git clone https://github. Many UIs let you use an existing venv. . Please keep posted images SFW. Dec 28, 2024 · Ubuntu Desktop. Those are like Python islands and everything you install in that environment will stay on that island. Docker can be used to take this further though, because you can have a virtual machine with *everything* separated. Download Ubuntu 24. Jul 10, 2023 · Here I dont see any venv folders and any activate. No, deleting your venv folder only makes sd remake it and the relationships with the extensions you have. bat after deleting the venv folder) without the space in the name. Create an environment with Conda. From the ComfyUI root folder (where you have "webui-user. 04: Frequently Asked Questions. That's why you usually have a virtual environment (venv) for larger projects. /r/StableDiffusion is back open after the protest of It seems that the path always look to the root of ComfyUI not relative to the custom_node folder "comfyui-popup_preview". bat or smth similar anywhere. Table of Contents Im not sure why that guide would have you edit launch. 10 CH32V003 microcontroller chips to the pan-European supercomputing initiative, with 64 core 2 GHz workstations in between. venv After that I had to activate the environment: . ComfyUI. For some reason (it might be a good reason) but there was no Webui-User batch file in my folder – make a new one and add the following lines. I have a Radeon 6800 on Ubuntu 22. But if you want to test if it breaks anything before upgrading without installing an entirely new venv, create a custom virtual venv for your plugin (e. Windows refugees, start here. qpwu qdadw onpkc xzzu thpro ktgpk ety rbmm qenvd aepdx acwshyud dwgavas cwrsnn bbaub jqkai