Home Creators Posts Import Register Favorites Logout

Downloads

Content

NEW UPDATE 3 (8th february) :THERE IS NOW A NEW STANDALONE INSTANTID CONTROLNET VERSION!Check the update video: https://youtu.be/8ljj3MYMYA4Use the newest 1-click installer to install it (INSTANTID-CONTROLNET_AUTO_INSTALL.bat)Unfortunately the --lowvram and --medvram argument don't work with the controlnet version because it still uses the same amount of vram to generate the new images.NEW UPDATE 2:YOU CAN NOW CHANGE MODELS FOR instantID!Check the update video: https://youtu.be/SMfML0P1g9YThat's right, you want to use your favorite sdxl model? You want more realistic results? Now you can!Thanks to the introduction of arguments!I made 6 different arguments for you to use inside the launcher:--inbrowser :  Automatically open the url in browser--server_port :   Choose a specific server port, default=7860 (example --server_port 420    so the local url will be:  http://127.0.0.1:420)--share : Creates a public URL--medvram : Medium vram settings, uses around 13GB, max image resolution of 1024--lowvram :  Low vram settings, uses a bit less than 13GB, max image resolution of 832and finally--model_path : Name of the sdxl model from huggingface   (the default model example: --model_path stablediffusionapi/juggernaut-xl-v8     diffuser model you can find here: https://huggingface.co/stablediffusionapi/juggernaut-xl-v8)If you want to change models, just input the repo name of the diffuser sdxl model you want to use (only works with sdxl models, not 1.5, instantid was trained on sdxl only) then open the launcher.bat file with notepad, and on line 3 add the argument so for example:python app.py --model_path stablediffusionapi/juggernaut-xl-v8then save the file before launching it!

DON'T FORGET TO DO A GIT PULL TO HAVE ACCESS TO THE LATEST VERSION!

UPDATE:1) NOW you can use instantID with less vram and ressources!If you have installed instantiD already, go inside the INSTID folder, click on the folder path, type  cmd  then press enter, inside the command prompt, type    git pull   then press enter and it will update it to the latest version.2) New Lowvram launcher added (LOWVRAM_LAUNCHER_INSTANTID.bat) dl it and then put it inside the INSTID folder and double click it to launch a version of instantID that uses less vram and is much faster to generate images3) The Google Colab doc now doesn't require a paid account anymore! So if you have a weak GPU or no GPU at all, click on this link: https://colab.research.google.com/drive/1wYdWZFQU0QzZ8cdnsp-I9evrKPCScUET?usp=sharingdo not forget to click on "connect" and then "change runtime type", make sure you select the T4 GPU then save before launching the doc.ENJOY! ;)Hey everyone! I've created a 1-click installer for the MINDBLOWING InstantID FaceGEN WebUI that allows you to generate new images of your subject from a single photo in only a few seconds WITHOUT TRAINING! You Absolutely need to try this out!

Watch the video about InstantID: https://youtu.be/jjRFa1JugA0 

The installer of course automates the entire install process!

Here's how it works:

1. Download the installer (INSTANTID_AUTO_INSTALL.bat) and the 2 launchers (LAUNCHER_INSTANTID.bat & LOWVRAM_LAUNCHER_INSTANTID.bat )

2. Create a new folder on your computer and place the installer inside

3. Launch the installer

4.???

5. Profit  😎

You can then put the launchers inside the newly created "INSTID" folder and double click one of them each time you want to launch InstantID!😉

You can also use the Google Colab doc to run InstantID:https://colab.research.google.com/drive/1wYdWZFQU0QzZ8cdnsp-I9evrKPCScUET?usp=sharing

This is some groundbreaking tech that will probably soon be implemented everywhere but right now you can use it to generate cool images of your subject or use that to make more images for Lora training, the sky is the limit!

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

Files

Comments

Brandon Gregg

LAUNCHER_INSTANTID.bat inside the new ISTID directory doesnt run anything

Aitrepreneur

it should, just tried it, was everything installed correctly?

Christian Samek

I had the same problem. I moved and renamed the installation folder after the installation. This may have caused the problem. I undid this and then everything worked again.

Gabriel Hautclocq

Damnit, I think it needs at least 16 GB GPU to run well. It is so slow with a 3080 Ti...

LtCzr

I ran the installer and it works however it didnt create the share link, it says : Could not create share link. Please check your internet connection or our status page: https://status.gradio.app. How do i create a share link? I want my family to be able to use it on their cell phones.

Logan Lambert

The issue I am having is that its constantly trying to install python and I already have it installed, it does not get past that , if I try to run the launcher nothing happens.. still trying a few variations..

Aitrepreneur

you have an antivirus or firewall blocking the connection, I had that on another pc as well, just simply disable it and try again

Gabriel Hautclocq

Actually at least 24 GB. After the 30 steps it doubles again the memory.

Brady A Mitchell

Mine has installed and then just closes. I put the launcher into a new folder on my desktop. click and CMD opens runs a few things and closes

DanO..

Mine sat there for a LONG time before I saw progress. Did you let it run for a long time?

DanO..

My 12G 3060 isn't working, buddy. Not enough memory. What amount of VRAM is necessary when you run it?

Esben Viborg

Mine did the same, i was because i was missing C++ build tools

Scruffy Scruffington

clicking the launcher opens up a command windows really fast but then goes away and nothing happens

Sascha Sponholz

When I run INSTANTID_AUTO_INSTALL in Powershell, I get the message "ModuleNotFoundError: no module named 'cv2'. If I just doubleclick the .bat files according to the instructions, then it doesn't run the program.

Plastico

My poor 3060ti, taking about 15 minutes to generate a single 30 step image 😢 amazing tech though, hope to see it further optimised if possible!

Esben Viborg

You need to install the c++ files before installing instantID. If you havent installed the it before you will get errors when installing InstantID

Esben Viborg

And you need to install the c++ files before installing instantID. If you havent installed the it before you will get errors when installing InstantID

jamzsam

I have the same Problem with the LAUNCHER_INSTANTID.bat file

Esben Viborg

I can run it on my 16G 4060, however it uses 4GB of additional shared vram

Plastico

Folder is 10.5GB for me

Mov

Same here, I tried moving into the INSTID folder to launch from there and that didn't work either.

DanO..

Thanks bro. Hopefully they can optimize it soon!

Gustavo Valenzuela

I installed but when i launch the cmd window open and close instantly... anyone know how to fix this? (Sorry if my english is kinda bad)

Dawid Koryciński

Yes, install Microsoft Visual C++ 14.0 or greater

Sascha Sponholz

Hi Esben, thank you so much, this link was super helpful for me. everything works fine now!

Aitrepreneur

Thanks Esben, I modified the installer to add that to the installation, already had this installed before so I didn't put it again

Aitrepreneur

You can try redonwloading the newest installer, I updated it to include C++ tools

Dawid Koryciński

I have an issue myself. For some reason, the only way I can start the app is to run the installer again. CMD is closing faster than OBS studio captures:D Maybe something in venvs?

Aitrepreneur

you might have an antivirus blocking the file maybe? Try disabling it and try again with the launcher. Or you can just do it manually, go inside the INSTID folder, click on the folder path, type cmd press enter, this will bring the command prompt window, inside type env\Scripts\activate press enter then type python app.py press enter

jamzsam

It's working for me now ;)

JCS

Any way to install this on RunPod?

robbiek

thank you sir, may the sun meet your crops each morning

robbiek

Also, thanks for being thoughtful with these scripts. Can't count how many times I've run similar batch files that kick off the Python installs without checking to see if it's installed first. Can be a goddam mess to clean up.

robbiek

If you open CMD and run "where python" what do you get back? (or "which python" on Linux). If it's not something with "Python310\python.exe" at the end, you have the wrong version of Python from a previous Python install. The auto install script will not install Python if you already have it. Whatever version you have can't handle the dependencies you need. If you need that other Python version, smallest headache might be manual install of InstantID. Not too difficult. Then you get a virtual environment. If you don't need the other Python, uninstall it and re-run the script.

robbiek

How about "python --version"?

BuAuch

When opening the launcher, I keep getting a "Matching Triton is not available" , then a bunch of errors before it closes right away. I don't have any 3rd party antivirus and I added the folder as an exception in Windows Security. Not sure what the issue is.

Ali Kh

I have same error

Ali Kh

i finally able to run it but the speed is very slow , i have 3080 11GB and i9 processor

B

same error here, how did you fix it

Diggy Dre

Is anyone getting anything "realistic" from this?

ELRIX

The one click installer didn't work for me so I did it manually, but when I reached the part where I need to type: pip install -r requirements.txt - I got this error: ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Jean-Jacques Morda

Thank you for your work. Hum, seems 12 go of vram is not enough... but i run XL models in SD/Comfy with complex workflow without any problem. Where can we balance the usage of the vram ? torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 880.00 MiB. GPU 0 has a total capacty of 11.99 GiB of which 0 bytes is free. Of the allocated memory 10.03 GiB is allocated by PyTorch, and 512.43 MiB is reserved by PyTorch but unallocated

Jean-Jacques Morda

I think you have to go to the cloned repository before typing the pip install -r requirements.txt

Gustavo Valenzuela

Works one time but know i have this: "torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 474.00 MiB. GPU 0 has a total capacty of 8.00 GiB of which 0 bytes is free. Of the allocated memory 12.70 GiB is allocated by PyTorch, and 829.85 MiB is reserved by PyTorch but unallocated." ... Maybe is too much for my little 3060 Ti xD

Poor Tom

Can you add an option for Size of Batches and Number of Batches for generation in the UI so that we can do a bunch of itterations set and forget vs needing to press the generate button every time we want a new photo?

Daturaze

Same error - haven't been able to figure it out yet

Daturaze

Weirdly enough the models won't install if I used the INSTID folder, however it will load outside of the INSTID folder..

Virtamouse

Same here 3080fe 10gb i9 9900k painfully slow.

Adrian Munévar

Man, too much hype for this and it looks it is not as easy as you describe on your video... You need to fix it

Remmnever

3070ti and its extremely slow. what is the recommended GPU VRAM for this to be quicker?

Michael Lorne

Thanks for the files. Perhaps a warning for those of us on slow connections that this is going to slam you with almost 10gb worth of downloads. Knowing that, those of us who are bandwidth challenged can plan accordingly.

Umut Erikli

just wait it continues lol

Umut Erikli

300 seconds past and still step 3... bullshit

Tony Tonagel

I've downloaded it (V2), tried to run it, but it didn't worked. Even after installing python. What did i wrong?

Aitrepreneur

you don't need to type anything though, just simply use the installer

Aitrepreneur

the triton error is normal, what other errors you got next? Maybe try doing a recording and send it to me?

Aitrepreneur

Vram is king for ai tools, hopefully it gets optimized soon though

Aitrepreneur

Depends on how realistic you're talking about but I did, try playing around with the parameters and don't select any style for that

Aitrepreneur

As much as possible tbh, with my 3090 it takes between 18 and 25s to generate an image

Ronny J. Hantusch

Is there any tutorial on how to install it on Ubuntu 22.04? I always end on:: "CUDA out of memory. Tried to allocate 1.56 GiB. GPU 0 has a total capacty of 15.69 GiB of which 518.50 MiB is free. Including non-PyTorch memory, this process has 14.80 GiB memory in use. Of the allocated memory 12.81 GiB is allocated by PyTorch, and 1.69 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF" SDXL is running like a charm. What am I doing wrong? Cheers!

Umut Erikli

Im using 4060ti with 8gb vram but looks like everyone gets same result so its not about me or exactly vram amount rn

Ronny J. Hantusch

Thanks for your super-quick reply! I was sure a 4080 is capable, but I'll give it a shot.

BuAuch

I get a "ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host Then several Traceback errors

Aitrepreneur

oof yeah 8gb is way too little for instantid to work at a decent speed, you can try the google colab doc though

Daturaze

Whether manual or through the installer the results are the same.

Aitrepreneur

you'll run it no problem, might be slow though, vram is king for ai tools such as this one

Remmnever

Ok, with the 3070ti in my laptop it took at least 20 minutes to generate an image. I’ll try on my 3080. I’m waiting for prices to drop before I get a 3090 or 4090 for the vram upgrade.

Ronny J. Hantusch

just a little update: runs flawlessly and super-quick at win11, so it needs to be an Ubuntu-issue. Will dig a little deeper later, Thanks again!

Jim Gale

getting this from the 1-click installer: ... Looking in indexes: https://download.pytorch.org/whl/cu118 ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch Collecting diffusers==0.25.0 (from -r requirements.txt (line 1)) Obtaining dependency information for diffusers==0.25.0 from https://files.pythonhosted.org/packages/aa/0b/af1dd4b355accf28fa413d93c3b7df2c25922ebc3435eecc56818a3f8c1e/diffusers-0.25.0-py3-none-any.whl.metadata Downloading diffusers-0.25.0-py3-none-any.whl.metadata (19 kB) Collecting transformers==4.36.2 (from -r requirements.txt (line 2)) Obtaining dependency information for transformers==4.36.2 from https://files.pythonhosted.org/packages/20/0a/739426a81f7635b422fbe6cb8d1d99d1235579a6ac8024c13d743efa6847/transformers-4.36.2-py3-none-any.whl.metadata Downloading transformers-4.36.2-py3-none-any.whl.metadata (126 kB) ---------------------------------------- 126.8/126.8 kB 1.1 MB/s eta 0:00:00 Collecting accelerate (from -r requirements.txt (line 3)) Obtaining dependency information for accelerate from https://files.pythonhosted.org/packages/a6/b9/44623bdb05595481107153182e7f4b9f2ef9d3b674938ad13842054dcbd8/accelerate-0.26.1-py3-none-any.whl.metadata Downloading accelerate-0.26.1-py3-none-any.whl.metadata (18 kB) Collecting safetensors (from -r requirements.txt (line 4)) Obtaining dependency information for safetensors from https://files.pythonhosted.org/packages/7c/22/27ba66710dda4cdca147ad5d8666d9cf0e2035c0aecb5f4de4e6b0e1bc49/safetensors-0.4.2-cp312-none-win_amd64.whl.metadata Downloading safetensors-0.4.2-cp312-none-win_amd64.whl.metadata (3.9 kB) Collecting einops (from -r requirements.txt (line 5)) Obtaining dependency information for einops from https://files.pythonhosted.org/packages/29/0b/2d1c0ebfd092e25935b86509a9a817159212d82aa43d7fb07eca4eeff2c2/einops-0.7.0-py3-none-any.whl.metadata Downloading einops-0.7.0-py3-none-any.whl.metadata (13 kB) ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none) ERROR: No matching distribution found for onnxruntime [notice] A new release of pip is available: 23.2.1 -> 23.3.2 [notice] To update, run: python.exe -m pip install --upgrade pip Traceback (most recent call last): File "E:\ai-art\InstantId\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' (end)

Gustavo Valenzuela

Works! With the 3060ti, took 1000 secons (more or less) one image... but works. Thanks!

Tony Tonagel

It shows the cmd-window as you described and then inside the window appears an odd blue field with some yellow declaring-lines and yellow numbers upcounting and thats it. the first time that occurs it asked me to install python, what i did. After that only the cmd-window appears with the odd upcounting and that was it....no installing, nothing...i waited and waited....nothing more happened.

Aitrepreneur

what I would do first is completely uninstall python and C++ build tools. Then reinstall C++ build tools manually, look here: https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Then just to be sure I would reinstall python manually with this installer https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe and not forget to check the "add to path" checkbox Then try disabling any antivirus / firewall you got going on (or uninstall antivirus because no one needs it anymore tbh..) Then you can launch this installer: https://we.tl/t-3bUpuiBVGb Hopefully after all this it should be fine

Aitrepreneur

kinda need the specific errors you are getting, dm me some screenshots and pc specs

Alex Graham

Could it be used for face swapping? How?

AnNyeong

Normal settings and lowvram setting both take the same amount of vram for me for some reason? 12gb crashes (cuda overload)

Aitrepreneur

maybe once it's implemented inside auto1111 but not in the current demo

Aitrepreneur

make sure you have dl the latest nvidia drivers

RongenNo1

hello overlord, if you have time , maybe you can rewrite the inscrutions for dummies like me, whem i do all points of the install, exactly nothing happens at the end. if i run the launcher_instandid, a small cmd window opens for about 1 millisecond thats all, nothing happens. the install itself works i think, my pc downloaded a bunch of files and program´s, but it will not start at the end

RongenNo1

i fix it, i used the installer again, it downloaded a loot more files, and now it works

lilartroom

I'm having the same issues when i do all points of the install, exactly nothing happens at the end. if i run the launcher_instandid, a small cmd window opens for about 1 millisecond thats all, nothing happens.

Kinex Design

It took 10 minutes on my 3090. Not workable for me at this speed. Although if I see you render it on your 3090 it takes about 10 sec?

Gustavo Valenzuela

My 3060ti have the image done in 600 sec. In the previous version took 1100 sec. Thanks!!! No issues this time. Great job!

DanO..

So close! It ran through the 30 steps and then ran out of memory. (3060 12GB) I shutdown and started up again and noticed it was at 10.8GB before I even tried to generate an image. I get this warning at the very start in the CMD window"A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton'" I don't know if this helps.

DanO..

The Collab doesn't work for me either. Errors out. Last thing it prints is: RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'

Aitrepreneur

you just need to select a GPU, just click on the connect arrow option, change runtime type, under Hardware accelerator check the T4 GPU then click save. Then run the cells.

Aitrepreneur

for the local install the error is normal, just dl the latest nvidia drivers and make sure you have system memory fallback activated (it's activated by default)

Aitrepreneur

it takes around 12-14s with the newest launcher to generate an image with my 3090, are you sure everything installed correctly?

DanO..

That worked! I still get that error but it's working now. I hate updating drivers because I've been burned so many times in the past (3 decades). When I went to update the driver I saw they have a game driver and a studio driver. I loaded the studio driver and that worked! I think somewhere they say it's a good idea to change the model to one you like. Do you know how to do that? [And... thanks!]

Brumfondl Majikthise

Getting this error no matter whether I use the normal or the lowVRAM launcher on an 3080 10GB: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB. GPU 0 has a total capacty of 10.00 GiB of which 0 bytes is free. Of the allocated memory 9.00 GiB is allocated by PyTorch, and 307.01 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF I am also getting the 'matching triton not available' error. Any ideas?

Brumfondl Majikthise

Thanks for the reply. I thought I had the fallback turned back on but it turned out that I had not :/ Having a play now and we shall see how horrendously slow it is :D

Mike Menders

Since the style_template.py file is part of the project, how can I add my own styles so that I can update them later? Also, can you include it so that the Auto1111 style.csv file can be used underneath? Could you integrate it to automatically launch the local address in the browser? Update 1: Thank you for --inbrowser option in latest update! 💖

Keiron Gulrajani

It seems to run very slowly on my nvidia 3080 (8gb card) on my laptop, I have plenty of ram (32gb) will the lower vram launcher work quicker?

Josh Jones

Big fan of your work! I launched the low vram version and it worked! But for some reason processing one image seems to take 15 minutes. My computer can handle SDXL on Comfy and seems to be able to put out four images in a couple minutes on that, for context. My specs are HP Envy Desktop Bundle PC, NVIDIA GeForce RTX 3070 Graphics,12th Generation Intel Core i9 Processor, 16 GB SDRAM, 1 TB SSD, Windows 11 Home OS, Wi-Fi & Bluetooth (TE02-0042, 2022). I just can't figure out if this is an optimization issue or if my computer just cant do it? So any help for this novice is appreciated.

The Capn

I've been trying for days, updated python, did clean installs, and the installer just isn't working, it says it cant find a version that satisfies the requirement onnxruntime (from versions: none), and the same for torch I tried manually following the tut and the same thing happens when trying to install torch/torchvision/torchaudio...

Mark Sutherland

Thanks for the file and your hard work. It seemed to install and work fine then suddenly stopped making the images look like the face in the reference photo, any ideas, cause I have no idea why it stopped working as it should. Card is a 16GB rtx4000

Aitrepreneur

use the --lowvram argument but 8gb is still very little to run this at a quick speed try using the google colab doc instead

Aitrepreneur

you have 8 gb of vram, you can use the --lowvram argument in the launcher but again 8gb is still very little to run this at a quick speed you can try using the google colab doc instead

Aitrepreneur

you probably have a bad initial python install. what I would do first is completely uninstall python and C++ build tools. Then reinstall C++ build tools manually, look here: https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Then just to be sure I would reinstall python manually with this installer https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe and not forget to check the "add to path" checkbox Then try disabling any antivirus / firewall you got going on (or uninstall antivirus because no one needs it anymore tbh..) Then you can launch this installer: https://we.tl/t-3bUpuiBVGb

Aitrepreneur

try updating the repo with git pull, watch my last update video

Garion128

Hi and thanks ! I did a new install with your V2 installer, and the laucher is working when I use "normal" instant ID. But, when I add the --inbrowser --model_path stablediffusionapi/juggernaut-xl-v8 He doesn't download juggernaut at all. I got : Arguments currently in use: inbrowser: True Keyword arguments {'safety_checker': None} are not expected by StableDiffusionXLInstantIDPipeline and will be ignored. Loading pipeline components...: 100%|█| 7/7 [00:00<00:00, 8.66steps/s] Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. The file is up to date and everything is working fie except that. Do yo ugot an idea ? And as always, thanks for the hard work !

Solar Zaffiro

not sure why, but V1/last time i installed this it took around 10-15 minutes to generate. Now on V2 it's close to taking an hour to generate.. I'm on a 5900x and a 3080rtx (10gbVram). I don't think it should be taking this long to generate. I tried messing with the --lowvram and the --medram, yeah they help a little.. but I was running it on full default setting on V1 and it generated much quicker.

Carl

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. The system cannot find the file C:\Users\Name\AppData\Local\Temp\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle.

Carl

Full error: [WARN] Winget is not installed on this system. [INFO] Installing Winget... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. The system cannot find the file C:\Users\Name\AppData\Local\Temp\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle. [INFO] Winget installed successfully. Python already installed. Git already installed. [INFO] Installing Microsoft.VCRedist.2015+.x64... 'winget' is not recognized as an internal or external command, operable program or batch file. [INFO] Installing Microsoft.VCRedist.2015+.x86... 'winget' is not recognized as an internal or external command, operable program or batch file. [INFO] Installing vs_BuildTools... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. [ERROR] Download failed. Please restart the installer Press any key to continue . . .

proteus

I've altered your app.py a bit and now I can load .safetensors (by using the gradio sample from the original repo) , this should be something interesting to add too... I think it's working but I need to test after waking up in the morning =/ at this point my own bio NN might be hallucinating stuff

Jordan Nachev

I have the exact same issue .. and the .bat file closes itself without any continuation

Metatron

I'm looking for a solution to handle a batch of them.

Jordan Nachev

Anybody has a solution to this LAUNCHER.bat " --inbrowser --model_path stablediffusionapi/juggernaut-xl-v8 He doesn't download juggernaut at all. I got : Arguments currently in use: inbrowser: True Keyword arguments {'safety_checker': None} are not expected by StableDiffusionXLInstantIDPipeline and will be ignored. Loading pipeline components...: 100%|█| 7/7 [00:00 " and the cmd closes itself ... what could be the issue "" after running a fresh install of the new _V2 file

KROW

i got the same one too

KROW

i have exact same issue too

Gerrit Meivogel

Good morning friend, I have an RTX 2080 8 GB and started the launcher with the --lowvram option, but it's still extremely slow. I can buy another RTX 2080 8GB for 250 euros and link them together with a bridge. What do you think? Is it worth the effort and money to do that?

KROW

nope i doesnt work that way u cant combine amount of vram im afraid

Mark Sutherland

Thanks for the reply. I looked into the models folder and didn't see the onx128 file, which I believe is the faceswap model. Copied it in and it worked. No idea how it got deleted. I have watched your last video, great as always and will use the git pull to update etc it would prob have noticed and replaced it anyway, just odd how it got deleted. Was literally working fine, then stopped swapping the face, up and running now and thanks again for the fantastic videos on INSTANTID great results with it.

Xrp

Can not install properly . When i launch frist application cmd window run and it download python and disappeared . Whats wrong ??? What are the minimum requirements to run this application . Help me . Thanks

jacinta ligon

the one button install is not down loading properly, can you give more step by step instructions,

jacinta ligon

it keeps saying it isn't commonly downloaded and won't open

jacinta ligon

I am so confused, I don't understand code that's why I paid to have a "one click" and do nothing else experience.

Aitrepreneur

that's because the juggernaut-xl-v8 is the model is downloads by default so if you launched the newest installer without any arguments first, it automatically dl the juggernaut model. In the video I used the --model_path argument because it was a new install and I was lazy to look up another model to dl xD If you go to C:\Users\YOURUSERNAME\.cache\huggingface\hub folder you can see what models you have dl already, the models--stablediffusionapi--juggernaut-xl-v8 folder should be there already If some of you have the bat file closing upon launch, it's usually either because of an antivirus/firewall blocking the file and/or the fact that you don't have microsoft cpp tools installed. So disable the antivirus/firewall and try again and you can also dl the Cpp tools by following this guide https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Or launch the installer, it will automatically install Cpp tools too

Aitrepreneur

yes that's because it's now using the juggernaut V8 model, so the quality is better but takes longer to generate, so if you want to use the oldest model, you can use the --model_path wangqixun/YamerMIX_v8 to use the oldest model

Aitrepreneur

that's because the juggernaut-xl-v8 is the model is downloads by default so if you launched the newest installer without any arguments first, it automatically dl the juggernaut model. In the video I used the --model_path argument because it was a new install and I was lazy to look up another model to dl xD If you go to C:\Users\YOURUSERNAME\.cache\huggingface\hub folder you can see what models you have dl already, the models--stablediffusionapi--juggernaut-xl-v8 folder should be there already

Aitrepreneur

yeah no, either use the google colab doc or get a Nvidia GPU with more vram (as much as you can)

Aitrepreneur

If you have the bat file closing upon launch, it's usually either because of an antivirus/firewall blocking the file and/or the fact that you don't have microsoft cpp tools installed. So disable the antivirus/firewall and try again and you can also dl the Cpp tools by following this guide https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Or launch the installer, it will automatically install Cpp tools too You can also try this installer: https://we.tl/t-cDVpmfAp7F

KROW

what about "no triton module found" is that going to affect generating image time?

Aitrepreneur

Triton is only available on linux so if you have windows you can't use it anyway

Devin Blair

\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' I get this error, what am I missing?

proteus

Tcs, I could verify it works, but there are some dependency conflicts, I'm going to try to find some time tomorrow(I'm in the middle of a project for a client and spare time is... Sparse) at least push a sample to a fork and send you a link ...

Aitrepreneur

have you put the launcher in the correct folder?

Devin Blair

I believe so, it belongs in the instid folder right?

Aitrepreneur

yes, was everything installed correctly? Send me a few screenshots if you can

Virtamouse

Where is the low memory bat download?

Solar Zaffiro

last question, if this saves the photos locally, what folder is it?

Aitrepreneur

C:\Users\USERNAME\AppData\Local\Temp\gradio

Solar Zaffiro

🙏🏼You are the man! Thank you for this and everything you are doing!

Khoa Vo

Is it possible to use my own SDXL models located on my computer? Or ones from CivitAi? How come the model path only expects models from hugging faces?

Jordan Nachev

Yes, you are correct ... now .. wont the LAUNCHER.bat file be used to start the model in my browser ? How to i gain access to the GUI if the launcher open's gets to that 7/7 and then it closes itself .. How should we resolve this and gain access to the tool. ( Seems like a few other people are like me .. stuck and cant do anything. Please HELP OP :D

Carl

sigh. sadly none of this works. i don't have time to debug this. I've successfully installed AUTO111, ComfyUI, ReActor, and Oobabooga with no problems. I've tried multiple installation methods from 3 differnt YouTubers. None work. Will just have to wait until someone fixes this shit.

LtCzr

Is it possible to have multiple launchers? To have one for each model that I plan on using or do I just need to change the model each time i want to switch?

Salvador Fonseca

I don't know why but for some reason it's not working on my desktop. It seems like it runs and installs them just closes then when I try to run it, my command windows pop up and closes again. Also does it work with arm64 processors?

LtCzr

also im getting an error that says missing triton

Jordan Nachev

Soo I wiped all , did a fresh install , Disabled Win Defender , OFFed Firewall , added even Exclusions folders JUST IN CASE xD ... i know the .bat script installs its own VisualStudio and Phyton thats great ... Had to run Windows 11 in Develeper Mode ... Ready to plug in the LAUNCHER.bat fire in the folder ... launch it ... does the who 7/7 promt and closes itself .. instead of opening a tab in browser with the application running ... ... OP help xD

Aitrepreneur

might be possible to use local models I need to check on that yet, it's just the way it was setup since it uses diffusers format

Aitrepreneur

You can just copy and paste the launcher, modify the argument inside and rename it to the model name yes

Aitrepreneur

If you have the bat file closing upon launch, it's usually either because of an antivirus/firewall blocking the file and/or the fact that you don't have microsoft cpp tools installed. So disable the antivirus/firewall and try again and you can also dl the Cpp tools by following this guide https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Or launch the installer, it will automatically install Cpp tools too You can also try this installer: https://we.tl/t-cDVpmfAp7F

Aitrepreneur

I mean once again, If you have the bat file closing upon launch, it's usually either because of an antivirus/firewall blocking the file and/or the fact that you don't have microsoft cpp tools installed. So disable the antivirus/firewall and try again and you can also dl the Cpp tools by following this guide https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst Or launch the installer, it will automatically install Cpp tools too You can also try this installer: https://we.tl/t-cDVpmfAp7F

LtCzr

Is the generation generally tied to just what the image shows? if its just a head it doesnt really seem to generate a full body unless i either use a reference image or prompt it very heavily. Is this normal?

Aitrepreneur

Yes? That's how it works, if you only put 1 reference image it will take all data from that image only, that's why you have the second image field for the pose and aspect ratio

LtCzr

oh ok thanks

LtCzr

Sorry one last question, how do i change the settings for how big the image is? is it tied with the second reference image?

Peter

i do need reinstall v2 to switch models?

LtCzr

I downloaded all of the models by duplicating the launcher but changing the model, where are they found? since I can still switch between them but the folder with instantid hasnt grown much

Johnny Cheng

i couldn get the public URL up and running, it keep showing "Could not create share link. Please check your internet connection or our status page: https://status.gradio.app."

BadgerWi Johnson

Where do I get the Low Ram Launcher I just see the Launcher.bat?

Zophael Ray

the new launcher takes arguments. Open it up and add --lowvram to the following line python app.py --inbrowser So it would looke like python app.py --inbrowser --lowvram or when you run the LAUNCHER.bat from the CMD you can do the following LAUNCHER.bat --lowvram

amazingghost

Trying to use the collab and not getting a public URL - it just finishes playing with the last lines "Keyword arguments {'safety_checker': None} are not expected by StableDiffusionXLInstantIDPipeline and will be ignored. Loading pipeline components...: 100% 7/7 [00:03<00:00, 2.17steps/s]" I did notice an error as it was installing "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lida 0.0.10 requires kaleido, which is not installed. llmx 0.0.15a0 requires cohere, which is not installed. llmx 0.0.15a0 requires openai, which is not installed. llmx 0.0.15a0 requires tiktoken, which is not installed. tensorflow-probability 0.22.0 requires typing-extensions<4.6.0, but you have typing-extensions 4.9.0 which is incompatible."

Carl

Hello everyone, answering my own issue I was having with installing this. I uninstalled Avast and disabled Windows Defender. I also uninstalled my current version of python, and then installed the specific version of Python mentioned in Aitrepreneur's first install video (3.10.6). Then I followed the manual directions in that video, and I was able to install it.

NilsWranglesAI

This is insanely good. Just saying thanks again and for reference, I have this working on a Mac Studio M1; uses about 32GB Ram and takes around 100seconds to generate a 30step image.

Badbutton

I'm trying to use the Juggernaut model but it never DLs as in the video: My Launch.bat looks like this: @echo off CALL env\Scripts\activate python app.py --inbrowser --model_path stablediffusionapi/juggernaut-xl-v8 this is correct right? Thanks BTW for the Great Videos and Tutorials

Aitrepreneur

The max resolution can be changed by modifying the app.py file but I already did that, tested the most optimal resolution so to change it you can use the --medvram or --lowvram argument inside the launcher. medvram will give a max image resolution of 1024 while lowvram will give a max image resolution of 832

Aitrepreneur

no just watch my latest update video and use the --model_path argument to dl and use a specific model

Aitrepreneur

They are downloaded in the C:\Users\YOURUSERNAME\.cache\huggingface\hub folder

Aitrepreneur

That's because you have an antivirus/firewall blocking the connection, disable them then try again

Aitrepreneur

Check the latest update video for a complete explanation

LtCzr

if I dont add these arguments and leave it blank, does it default to a higher resolution? I have a rtx 4090 so it tends to use 22gb of vram without those arguements. Should I just use the medvram if it gives the same level of output? Or does it slow down with less vram usage?

Aitrepreneur

that's because it's the model by default, so no need to even put that argument inside the launcher, I did that in the video just as an example. If you go to the C:\Users\YOURUSERNAME\.cache\huggingface\hub folder you will see a models--stablediffusionapi--juggernaut-xl-v8 folder that's where the model is only put the --model_path argument with another model you want to use as I showed in the video

Aitrepreneur

Yes, max resolution of 1280, so with your 4090 don't use any arguments for a higher res image, the higher res, the longer it takes to generate though

Dice

Thanks Overlord. I had the same issue as Badbutton and this explains it. I expected the model to be placed in /models but did not see it so was confused. Now i see it's being downloaded by hub and now i understand where hub actually places it's models!

Waub Amik

Is there a folder that images output too? Or do you need to save each one?

Aitrepreneur

It's saved here: C:/Users/USERNAME/AppData/Local/Temp/gradio

V/AI /MK

Everything installed without any problems. the in LAUNCHER.bat is inside the new created folder. But whenever I tried to launch it it immediately shuts down. little help?

R S

Appreciate you bro, I need to chat with you about a project I am trying to wrap up but am stuck on some particulars...

amazingghost

Are you using a certain browser? Just tried again and it stops right before the URL is created unless it’s hidden for some reason.

Xrp

Tried many ways but still can not launch this . disable the antivirus/firewall... reinstall windows ,, but still have the above problem .help me .

ProudChinaLover

Is there any auto "generate forever' option? I don't want to click submit 1 by 1

amazingghost

I figured out my mistake - do not forget to click on "connect" and then "change runtime type", make sure you select the T4 GPU then save before launching the doc.

amazingghost

So I am using the google collab and none of the styles are applying - any idea why? Or if they do its very minimal - not like the examples at all - comparing results from https://huggingface.co/spaces/InstantX/InstantID vs this google collab are drastically different - any suggestions? It looks like the huggingface interface may be a newer version but outside that I dont really see any differences

V/AI /MK

A small update: I run the installer again. It seems it doesn't finishes but it just quits without any notification. Everything is updated. But the installer never finishes the installation. I checked my antivirus and everything but no joy. I probably am doing something wrong but a little help is appreciated.

Aitrepreneur

Look at the command prompt window at the end, it should give you at least an error on what's going on (you can screen record it just in case) once again make sure you disabled completely the antivirus and firewall before launching the installer in a new folder

Aitrepreneur

do you have some examples? it works the same on my side

Xrp

Tried many ways but still can not launch this . disable the antivirus/firewall... reinstall windows ,, but still have the above problem cannot launch the application .help me .

Steffen T-Hansen

F:\AI\InstantIDAuto>INSTANTID_AUTO_INSTALL_V2.bat [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer. <- just getting a error message Antivirus is disabled .. the python program is downloaded and i can is install the pyton program.. but still gives the same error message if i click on the INSTANTID_AUTO_INSTALL_V2.bat

Steffen T-Hansen

it downloads the pyton program but still gives the error message, i can manually install the pyton program and install it but still gives the error message if i click on INSTANTID_AUTO_INSTALL_V2.bat

Steffen T-Hansen

i have disabled the antivirus and it still gives the error message

Aitrepreneur

do you have any error code? What's your pc specs?

Bree

Or I guess the better question would be how do I download this ..?Hey new to All this! Ready to learn I am on an iPad though. Can I download this?

Steffen T-Hansen

thanks for the answer . i got i to work, im using windows 11 latest version : in windows system : about : Advance system settings i had to put Git path, python and python script path in Open the Control Panel. Click System and Security, then System Click Advanced system settings on the left Inside the System Properties window, click the Environment Variables… button. then under Systemvariables , double click on path and i added in my case it was C:\Users\PC\AppData\Local\Programs\Python\Python310 C:\Users\PC\AppData\Local\Programs\Python\Python310\Scripts C:\Program Files\Git\cmd and that seams to have fixed the issues for me

Aitrepreneur

you can't download and use that on the ipad no, you need a powerful computer gpu for that but you can use the free Google colab doc I prepared and use that on your Ipad though

Aitrepreneur

Nice usually the installer installs all of that automatically but on some systems the security settings can block the connection from the file, glad it worked for you ;)

itzpacoo

can i run this in RTX 2080 super 16GB?

Aitrepreneur

should work ok, make sure that you are running the latest nvidia drivers though

성범 이

I got error about module triton... tried everything in github but still module named triton is not found. would you help me about this problem?

Aitrepreneur

the triton error is completely normal on windows, this module is only available on linux no worries about that

Ulises Pena

every time i double click the launcher the cmd window pops up briefly and closes :\

Vanhemelrijck Dims

I have this error when I launch it with cmd. The launcher just closes and ,nothing starts. I have disabled AV and threats for this to work F:\SDXL\Instant ID\INSTID>python app.py Traceback (most recent call last): File "F:\SDXL\Instant ID\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2'

Ulises Pena

it also says UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:263.) hidden_states = F.scaled_dot_product_attention(

Aitrepreneur

try this, in the cmd prompt inside the folder (click on the folder path, cmd then press enter) type: env\Scripts\activate then press enter then type: python app.py --inbrowser then press enter and see if you get an error

Link Hearth

Do I have to download the image generated every time? I cant find an output folder in the instid folder

Aitrepreneur

It's saved here: C:/Users/USERNAME/AppData/Local/Temp/gradio

Link Hearth

Thank you, i realised that every images created are here, do you know for how long? i mean it takes space, and the images i want to keep are already stored elsewhere. Do I have to delete these files from time to time?

Aitrepreneur

yes you can delete them whenever you want, that's just where they are automatically saved

Stephen Fullmer

Launcher.bat not functioning. When it is launched a command prompt opens and immediately closes. I have tried with and without arguments

LtCzr

I am not sure if its released yet but their gradio demo now has a controlnet slider, are we able to update to this feature?

Aitrepreneur

open a command prompt window and drag and drop the launcher inside then press enter, this should at least give you an error message so that we can understand what's wrong

LtCzr

will it be in a update video or just an announcement?

성범 이

then is there no ways to run instantid on windows?

Aitrepreneur

The Triton error doesn't matter, as I show in my videos, it runs on windows without problems, Triton is just an optimization module

Aitrepreneur

Ok I just tried it on my computer, the newest version is working now and....let's just say that if you had trouble running instantid before, now it's even worse because the new controlnet version uses around 19-20gb of vram, so only people with a 3090 will be able to run this. At this point it's better to use it inside the SD webui.... Let me know if you or someone else wants to use it anyway but yeah...

LtCzr

I would like it, how do i install it? Also i have a rtx 4090 so should be fine

Aitrepreneur

I'll make a video, maybe tomorrow if I have time

Dave Spicer

I see there are updates to InstantID at Github. How do I pull them into my Windows installation of it?

Nathan Blake

I'm getting this error: \INSTANTID-CONTROLNET_AUTO_INSTALL.bat [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer.

Nathan Blake

Hmm no dice, I have firewall and antivirus completely off as a testing measure \INSTANTID-CONTROLNET_AUTO_INSTALL - debug.bat" 'git' is not recognized as an internal or external command, operable program or batch file. 'git' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified. Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. The system cannot find the path specified. 'pip' is not recognized as an internal or external command, operable program or batch file. 'pip' is not recognized as an internal or external command, operable program or batch file. Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

Aitrepreneur

yes because you don't have python and git installed, try relaunching the initiale installer with antivirus and firewall off

glendaion

i have the same error after put this commands. is it possible to run it with 10gb VRAM?

Nathan Blake

Tried that, got "INSTANTID-CONTROLNET_AUTO_INSTALL.bat [INFO] Winget is already installed. Installing Python 3.10.6... Failed to download Python installer." again. I tried manually downloading git and python, and it still says that, so I'm assuming it just doesn't know where python is.

Stephen Fullmer

Traceback (most recent call last): File "C:\Users\Username\Desktop\InstantID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2'

amir2k

My system has low RAM for graphics and the time to produce photos is very slow for me. Is there a way to generate photos faster ؟

amir2k

I can't find the launcher link for low RAM!

Aitrepreneur

can't, it uses more vram so you need to pay for the colab subscription, you can use the official huggingface demo though, less people are using it nowadays so it's quicker, if you want to use the older version then use the colab

Aitrepreneur

well unless you have a better GPU with more vram you can't no

A C

Same error. Microsoft Windows [Version 10.0.19045.3930] (c) Microsoft Corporation. All rights reserved. C:\InstantID\INSTID>env\Scripts\activate (env) C:\InstantID\INSTID>python app.py --inbrowser Traceback (most recent call last): File "C:\InstantID\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' (env) C:\InstantID\INSTID>Python3 app.py --inbrowser Traceback (most recent call last): File "C:\InstantID\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' (env) C:\InstantID\INSTID>

A C

Seems like I'm having to install a few dependencies (cv2, diffusers, etc.). I expected everything would be included in the initial install.

Wakariah

I used the installed in automatic a1111 but keep getting AssertionError: InstantID control model should follow ipadapter model.

Wakariah

E:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\transform.py:68: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`. P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4 2024-02-09 23:27:36,315 - ControlNet - INFO - Loading model from cache: control_instant_id_sdxl [c5c25a50] 2024-02-09 23:27:36,317 - ControlNet - INFO - Using preprocessor: instant_id_face_keypoints 2024-02-09 23:27:36,317 - ControlNet - INFO - preprocessor resolution = 512 *** Error running process: E:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "E:\Stable Diffusion\stable-diffusion-webui\modules\scripts.py", line 718, in process script.process(p, *script_args) File "E:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1143, in process self.controlnet_hack(p) File "E:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1128, in controlnet_hack self.controlnet_main_entry(p) File "E:\Stable Diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 1106, in controlnet_main_entry assert i > 0, "InstantID control model should follow ipadapter model." AssertionError: InstantID control model should follow ipadapter model.

Wakariah

love your videos do you know how to fix that

Manuel Gaus

I have reinstalled everything 3 times now at the beginning when i started the LAUNCHER.bat file it closed instantly and now im at the point where I start it something begins to dowload and after a while it just crashes. Any suggestions?

Aitrepreneur

make sure that you use the face embedding with the ip adapter model and the face keypoints with the other instantid model Watch my last video (I show everything at the end)

Aitrepreneur

I would need to see the full error code, try opening a random windows command prompt window and drag and dropping the launcher.bat file inside the window and press enter, if there is an error it should show it to you now

Manuel Gaus

C:\Users\ManuG>python: can't open file 'C:\\Users\\ManuG\\app.py': [Errno 2] No such file or directory The command "python:" is either misspelled or could not be found.

Manuel Gaus

I also turned off all anti virus

Aitrepreneur

Have you correctly put the launcher.bat file inside the instantid folder like I show in the video?

Beto Matias

It also started to open the launcher then sudenly closes, I see one of the errors is related to not reaching the Hugging Face, maybe is there a validation being done that when it does not pass it closes? this is one of the errors here (hugging face is under maintenance) Cloning into 'models'... fatal: unable to access 'https://huggingface.co/Aitrepreneur/models/': The requested URL returned error: 503 Looking in indexes: https://download.pytorch.org/whl/cu118

Ron Harris-White II

Been getting errors around Triton not being found. A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "E:\aiart\InstantID\InstantID-Controlnet\env\Lib\site-packages\xformers\__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\aiart\InstantID\InstantID-Controlnet\env\Lib\site-packages\xformers\triton\softmax.py", line 11, in import triton ModuleNotFoundError: No module named 'triton' E:\aiart\InstantID\InstantID-Controlnet\env\Lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.

Aitrepreneur

well yeah it doesn't work now BECAUSE hugging face is under maintenance so it can't reach the server, try again later once huggingface is up

Aitrepreneur

yes the triton error is completely normal on windows, it will work without it

Tyler Shaw

Where are the most recent installers? Including: INSTANTID-CONTROLNET_AUTO_INSTALL.bat

Tyler Shaw

Ugh, I could not find it here last night! Nevermind, thank you. Maybe it was too late in the day.

So You Think You’re an Artist

I'm having the same issue here I start the launcher file and then it crashes. I found the error - it is an out of memory error. Cuda is trying to allocate 20GB and I only have a 16GB card. @manuel First cd into the InstantID-ControlNet folder, then drag the launcher.bat file into the window and hit enter. You have to be already in the directory or it won't find the app.py file

amir2k

Is it possible to use the canny and pose options in the version installed in Google Collab? I could not find these options there! Thank you for guiding me

Aitrepreneur

no that version requires more vram than what the free google colab version allows

Coup1

I get this error when I try to generate an image from a prompt: Traceback (most recent call last): File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\queueing.py", line 495, in call_prediction output = await route_utils.call_process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\route_utils.py", line 233, in call_process_api output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\blocks.py", line 1608, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\blocks.py", line 1188, in call_function prediction = await utils.async_iteration(iterator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\utils.py", line 513, in async_iteration return await iterator.__anext__() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\utils.py", line 506, in __anext__ return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\utils.py", line 489, in run_sync_iterator_async return next(iterator) ^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\env\Lib\site-packages\gradio\utils.py", line 672, in gen_wrapper response = next(iterator) ^^^^^^^^^^^^^^ File "F:\Cascade\Stable-Cascade\app.py", line 94, in generate previewer.eval().requires_grad_(False).to(device).to(dtype) ^^^^^^^^^ NameError: name 'previewer' is not defined. Did you mean: 'Previewer'? Edit: I also discovered this error during the install: Collecting torchaudio Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp312-cp312-win_amd64.whl (3.9 MB) ERROR: Could not find a version that satisfies the requirement xformers (from versions: none) ERROR: No matching distribution found for xformers

Aitrepreneur

This is for stable cascade, not instantid but basically it's a bad python install error. You need to first make sure that there is no python installs, or uninstall all of them in the add/remove programs, then use the python installer to install python https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe (by checking the add to path checkbox), then go to the environment variables, and make sure that python was indeed correctly added to path, then disable any antivirus/firewall that may block the connection, and also try to use this installer: https://we.tl/t-IpUILB3ufh Make sure to NOT INSTALL THIS inside a Onedrive folder but directly on your pc folder (desktop, documents, etc) a looooot of people do this and it ends in error also.

Coup1

yeah I installed both and got it mixed up. Thanks :D

GrindBird

I have a 3070 when I try to launch the standalone v3 launcher I get an error that says CUDA out of memory GPU 0 has a total capacity of 8 GB of which 0 bytes is free. Unallocated memory is large try setting pytorch_cuda_alloc_conf=expandable_segements:True to avoid fragmentation. Would changing that fry my pc lol, should I just stick with v2 standalone or SD WEB UI.

GrindBird

cancel that looks like I need more than 14 GB VRAM

Aitrepreneur

hi, you don't need that much vram but if you have less than 16gb it will be slower, how slow depends on how much vram you got

amir2k

Hello dear, I have a problem. Due to the fact that I placed the location of the installation file in a separate folder of my Windows C drive and run it. But in the end, the installation folder does not have a large volume, but instead it has filled a large volume of my C drive. How can I delete the files related to this webui that are located on my Windows drive, because I want to use the Net Control Launcher that you have just installed? . Is there a way to completely uninstall?

Aitrepreneur

the files installed on the C drive are probably the model, if you want to run the newest controlnet it's gonna be the same model so the install will actually be faster

pravin khetan

J:\instant-id\InstantID-Controlnet>J:\instant-id\InstantID-Controlnet\LAUNCHER.bat Traceback (most recent call last): File "J:\instant-id\InstantID-Controlnet\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' (env) J:\instant-id\InstantID-Controlnet>pip install opencv-python Collecting opencv-python Using cached opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl (38.6 MB) Requirement already satisfied: numpy>=1.17.3 in j:\instant-id\instantid-controlnet\env\lib\site-packages (from opencv-python) (1.26.3) Installing collected packages: opencv-python Successfully installed opencv-python-4.9.0.80 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: python.exe -m pip install --upgrade pip (env) J:\instant-id\InstantID-Controlnet>J:\instant-id\InstantID-Controlnet\LAUNCHER.bat Traceback (most recent call last): File "J:\instant-id\InstantID-Controlnet\app.py", line 14, in import diffusers ModuleNotFoundError: No module named 'diffusers'

Marco Santos

Hi Aitrepreneur, I have run the 1-click installer but i am unable to run it i have windows 10, 16gb vram the error is something about triton not having a wheel? it crashes before i can copy it, but this is the initial traceback error before it crashes: A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "D:\AI\InstantID-Controlnet\env\lib\site-packages\xformers\__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa File "D:\AI\InstantID-Controlnet\env\lib\site-packages\xformers\triton\softmax.py", line 11, in import triton ModuleNotFoundError: No module named 'triton' D:\AI\InstantID-Controlnet\env\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. torch.utils._pytree._register_pytree_node( D:\AI\InstantID-Controlnet\env\lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. torch.utils._pytree._register_pytree_node( D:\AI\InstantID-Controlnet\env\lib\site-packages\controlnet_aux\segment_anything\modeling\tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_5m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. return register_model(fn_wrapper) D:\AI\InstantID-Controlnet\env\lib\site-packages\controlnet_aux\segment_anything\modeling\tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_11m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. return register_model(fn_wrapper) D:\AI\InstantID-Controlnet\env\lib\site-packages\controlnet_aux\segment_anything\modeling\tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_224 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected. return register_model(fn_wrapper) D:\AI\InstantID-Controlnet\env\lib\site-packages\controlnet_aux\segment_anything\modeling\tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_384 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected. return register_model(fn_wrapper) D:\AI\InstantID-Controlnet\env\lib\site-packages\controlnet_aux\segment_anything\modeling\tiny_vit_sam.py:654: UserWarning: Overwriting tiny_vit_21m_512 in registry with controlnet_aux.segment_anything.modeling.tiny_vit_sam.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected. return register_model(fn_wrapper) Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\glintr100.onnx recognition ['None', 3, 112, 112] 127.5 127.5 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\scrfd_10g_bnkps.onnx detection [1, 3, '?', '?'] 127.5 128.0 set det-size: (640, 640) And then it crashes. Help would be appreciated. thanks.

Corentin Pajot (edited)

Comment edits

2026-09-08 20:00 Replace launchr by CALL env\Scripts\activate python app.py --model_path RunDiffusion/Juggernaut-XL-v8 REM List of possible arguments REM --inbrowser Automatically open the url in browser, if --share is used, the public url will be automatically open instead REM --server_port Choose a specific server port, default=7860 (example --server_port 420 so the local url will be: http://127.0.0.1:420) REM --share Creates a public URL REM --model_path Name of the sdxl model from huggingface (the default model example: --model_path stablediffusionapi/juggernaut-xl-v8 diffuser model you can find here: https://huggingface.co/stablediffusionapi/juggernaut-xl-v8 REM --medvram Medium vram settings, uses around 13GB, max image resolution of 1024 REM --lowvram Low vram settings, uses a bit less than 13GB, max image resolution of 832
2024-03-26 17:16

Aitrepreneur

the triton error is normal on windows but other than that I can't see any error, try opening a command prompt window and drag and dropping the installer inside then press enter, this will avoid the window to close automatically so you can check what error it gives us for the troubleshoot

Aitrepreneur

Indeed, looks like the other model was nuked from huggingface...I updated the launcher with the new adress thanks!

Alpha Ghost 47

The face alwayys seems to be very blurry and poor quality regardless of what I do

Aitrepreneur

what model are you using? What prompt? Is your reference image of high quality? Have you tried with other images?

Steve Marchi

Hitting the following error when running INSTANTID-CONTROLNET_AUTO_INSTALL.bat Seems as if "https://huggingface.co/api/models/stablediffusionapi/juggernaut-xl-v8" throws an error, but "https://huggingface.co/api/models/stablediffusionapi/juggernaut-xl-v9" is available. Note the 9, could that be the issue? find model: ./models\antelopev2\scrfd_10g_bnkps.onnx detection [1, 3, '?', '?'] 127.5 128.0 set det-size: (640, 640) Couldn't connect to the Hub: 401 Client Error. (Request ID: Root=1-662c28fa-492338a437a03cf175fe1bd5;4c87a40f-ea85-45f8-8089-077422a38f96) Repository Not Found for url: https://huggingface.co/api/models/stablediffusionapi/juggernaut-xl-v8. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.. Will try to load from local cache. Traceback (most recent call last): File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\utils\_errors.py", line 286, in hf_raise_for_status response.raise_for_status() File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/stablediffusionapi/juggernaut-xl-v8 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1656, in download info = model_info(pretrained_model_name, token=token, revision=revision) File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\hf_api.py", line 2085, in model_info hf_raise_for_status(r) File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\utils\_errors.py", line 323, in hf_raise_for_status raise RepositoryNotFoundError(message, response) from e huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-662c28fa-492338a437a03cf175fe1bd5;4c87a40f-ea85-45f8-8089-077422a38f96) Repository Not Found for url: https://huggingface.co/api/models/stablediffusionapi/juggernaut-xl-v8. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Steve\InstantID-Controlnet\app.py", line 158, in pipe = StableDiffusionXLInstantIDPipeline.from_pretrained( File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1096, in from_pretrained cached_folder = cls.download( File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "C:\Users\Steve\InstantID-Controlnet\env\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1905, in download raise EnvironmentError( OSError: Cannot load model stablediffusionapi/juggernaut-xl-v8: model is not cached locally and an error occured while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

Aitrepreneur

yes it's normal you are probably using an older version of the launcher, dl the new one, the reason is because that particular huggingface repo was removed, but if you really want to use the v8 you can use the newlauncher (dl from here) or just use the V9 it's pretty similar anyway

Killy_Blame

Well looks like the Launcher isn't functional anymore.

Aitrepreneur

Have you downloaded the new one? The previous huggingface repo was removed, which is why made a new launcher for another repo for the juggernaut V8

Killy_Blame

I have loaded the last one, I see the pipeline getting load and then nothing happens.

Killy_Blame

G:\INSTID\env\Lib\site-packages\transformers\utils\generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. _torch_pytree._register_pytree_node( G:\INSTID\env\Lib\site-packages\transformers\utils\generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. _torch_pytree._register_pytree_node( G:\INSTID\env\Lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. torch.utils._pytree._register_pytree_node( G:\INSTID\env\Lib\site-packages\diffusers\utils\outputs.py:63: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. torch.utils._pytree._register_pytree_node( Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\glintr100.onnx recognition ['None', 3, 112, 112] 127.5 127.5 Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}} find model: ./models\antelopev2\scrfd_10g_bnkps.onnx detection [1, 3, '?', '?'] 127.5 128.0 set det-size: (640, 640) Current resolution settings: max_side = 1280, min_side = 1024 Arguments currently in use: inbrowser: True model_path: UnfilteredAI/NSFW-gen-v2 Keyword arguments {'safety_checker': None} are not expected by StableDiffusionXLInstantIDPipeline and will be ignored. Loading pipeline components...: 0%| | 0/7 [00:00

Aitrepreneur

DM me instead, patreon has a charater limit

Killy_Blame

No worries that's was all I could see, before the window closed... The pipeline was about to load a then nothing.

Glen

I have the same problem.. the launcher file dont work for me

Glen

I have the same problem, what was the solution? 👀

Aitrepreneur

I modified the repo, try again in a new folder

Killy_Blame

So there is a new Install.bat ??

Aitrepreneur

No, i modified the repository itself, the installer stays the same

Killy_Blame

I have tried it and it's the same problem as before. Could it be, that it has a problem with W11.

Bill G.

Hi.. Okay.. So I followed your directions with 2 of your 1 click installs.. This one.. Stand alone ID and Instant Style.. neither one will work. CMD ran the programing fully and then just shut down after install... moved bat files into the folders as directed, ran both bat files, CMD ran, shut down automatically. Hmmmm.. Now what? What the hell can I be doing wrong? HELP. Thanks.

Aitrepreneur

Already responded to the other comment but same thing: could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Bill G.

Not sure why ai got this error I have an Nvidia GPU, I switched from AMD recently , is this caused that maybe I still have ROCm on my system? somewhere?

Bill G.

OSE Error: Building PyTorch extensions using ROCm and windows is not supported.

Bill G.

Sorry disregard the last messages, i found the ROCm removing it, and reinstalling Python as you suggested, shall see what happens before I bother you again. Thanks for your support.

Bill G.

Okay, then, I found the ROCm issue, and all then went smoothly, Your 1 clicks are fantastic! Worth every penny, you earn,. great job, Keep the video coming and the work that you do, Thanks for your reply, and I look forward to more Vids.. thanks again.

Bossmang

Anyone got this error? RuntimeError: Failed to import diffusers.models.controlnet because of the following error (look up to see its traceback): Failed to import diffusers.loaders.single_file because of the following error (look up to see its traceback): cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub' (I:\miniconda3\envs\test2\InstantID-Controlnet\env\Lib\site-packages\huggingface_hub\__init__.py)

Aitrepreneur

I recently updated the installer for that issue, dl the v4 installer and reinstall it

Arthur van Andel

Ive got this error: B:\AI\INSTANTID\INSTID>B:\AI\INSTANTID\INSTID\LAUNCHERV2.bat Traceback (most recent call last): File "B:\AI\INSTANTID\INSTID\app.py", line 13, in import diffusers File "B:\AI\INSTANTID\INSTID\env\lib\site-packages\diffusers\__init__.py", line 5, in from .utils import ( File "B:\AI\INSTANTID\INSTID\env\lib\site-packages\diffusers\utils\__init__.py", line 37, in from .dynamic_modules_utils import get_class_from_dynamic_module File "B:\AI\INSTANTID\INSTID\env\lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in from huggingface_hub import cached_download, hf_hub_download, model_info ImportError: cannot import name 'cached_download' from 'huggingface_hub' (B:\AI\INSTANTID\INSTID\env\lib\site-packages\huggingface_hub\__init__.py)

Aitrepreneur

try going inside the B:\AI\INSTANTID\INSTID\env\lib\site-packages\diffusers\utils folder and edit the dynamic_modules_utils.py file and remove the cached_download from the import line in the file, then save and relaunch

Arthur van Andel

Thanks for the reply! also, appreciate all your content and work man! Ive tried that, now the command line does this: G:\AI\INSTANTID\INSTID>G:\AI\INSTANTID\INSTID\LAUNCHERV2.bat Traceback (most recent call last): File "G:\AI\INSTANTID\INSTID\app.py", line 2, in import cv2 ModuleNotFoundError: No module named 'cv2' (env) G:\AI\INSTANTID\INSTID> I only get that because i put the LAUNCHERV2 in a CMD i open from the same folder and press enter

Aitrepreneur

this means something went wrong during install. you can try this though see if it goes further: go inside the Instid folder, click on the folder path, type cmd press enter, which will open a cmd windows inside that folder and there type: CALL env\Scripts\activate press enter pip install cv2 press enter then relaunch see what it tells you

Arthur van Andel

Thanks again. I have reinstalled it before but the same error came up now thats why i commented. now i did this: (upgraded) G:\AI\INSTANTID\INSTID>CALL env\Scripts\activate (env) G:\AI\INSTANTID\INSTID>pip install cv2 ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2 [notice] A new release of pip is available: 23.0.1 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip (env) G:\AI\INSTANTID\INSTID>--upgrade pip '--upgrade' is not recognized as an internal or external command, operable program or batch file. (env) G:\AI\INSTANTID\INSTID>python.exe -m pip install --upgrade pip Requirement already satisfied: pip in c:\users\arthur\appdata\local\programs\python\python310\lib\site-packages (23.0.1) Collecting pip Using cached pip-24.3.1-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-24.3.1 (env) G:\AI\INSTANTID\INSTID>pip install cv2 ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2 (env) G:\AI\INSTANTID\INSTID>

Aitrepreneur

ok so instead of pip install cv2 try: pip install opencv-python

Arthur van Andel

Tried that, it downloaded it, and now it says: G:\AI\INSTANTID\INSTID>G:\AI\INSTANTID\INSTID\LAUNCHERV2.bat Traceback (most recent call last): File "G:\AI\INSTANTID\INSTID\app.py", line 5, in import torch ModuleNotFoundError: No module named 'torch' (env) G:\AI\INSTANTID\INSTID>

James Hanggi

When attempting to load pytorch, recieved this error "could not find a version that satisfies the requirement torch (from torch versions: none) Error: no matching distribution found for torch"

James Hanggi

Where is the low vram launcher please? It is not listed in the d/l link section. Also, are both the INSTANTID_AUTO_INSTALL_V4.bat and INSTANTID-CONTROLNET_AUTO_INSTALL.bat installations needed? Thanks for your continued support and understanding.

Killy_Blame

Traceback (most recent call last): File "D:\Ai\INSTID\app.py", line 13, in import diffusers File "D:\Ai\INSTID\env\Lib\site-packages\diffusers\__init__.py", line 5, in from .utils import ( File "D:\Ai\INSTID\env\Lib\site-packages\diffusers\utils\__init__.py", line 37, in from .dynamic_modules_utils import get_class_from_dynamic_module File "D:\Ai\INSTID\env\Lib\site-packages\diffusers\utils\dynamic_modules_utils.py", line 28, in from huggingface_hub import cached_download, hf_hub_download, model_info ImportError: cannot import name 'cached_download' from 'huggingface_hub' (D:\Ai\INSTID\env\Lib\site-packages\huggingface_hub\__init__.py). Did you mean: 'hf_hub_download'? Drücken Sie eine beliebige Taste . . .