When you add a diffuser model, it will ask you directly to put a vae. :) If you add a safetensor/checkpoint, you first have to add it, then click on the "edit" button next to the model in the model list. Then you can add your vae there. :)
Hi, thanks for reaching out! :) You have to rename your "Invoke AI" folder to "InvokeAI". The space in between kills the program. :3 Sorry for the inconvenience!
Hey! I tried installing it on itch.io, but it clearly seems within the files installing was as trojan called Blababindi... I did some research, it's pretty dangerous, and I wonder how it could have gotten inside these files... Fortunately Windows Defender quarantined it, but still... Would you have an explanation (no it's not a bug there was indeed Blababindi!ml inside of it)
To be exact here's the address from the itch folder in %appdata% : "itch\apps\invokeai\invokeai_2_3_0_standalone\invokeai\models\hub\models--CIDAS--clipseg-rd64-refined\snapshots\583b388deb98a04feb3e1f816dcdb8f3062ee205\pytorch_model.bin"
Hmmh ... Maybe.... I don't doubt your honesty, since it's all open source, but scary stuff though, I think I'll install it on a VM. Just to be sure. And not from itch.io
I can't run the program for some reason, it keeps spitting out this error: OSError: [Errno 22] Invalid argument: 'D:\\itch\\invokeai\\invokeai_2_3_0_standalone\\invokeai\\models\\hub\\models--runwayml--stable-diffusion-v1-5\\snapshots\\ded79e214aa69e42c24d3f5ac14b76d568679cc2\\safety_checker\\pytorch_model.bin'
i don't know what to do. If i ignore the error and procede to launch the program, it'll start and open the web ui but i cannot do anything on it or it'll crash. i've reinstalled it 5 times at this point.
i have a 10700K and an RTX3050.
edit:
If i reinstall the models as suggested it gives this error instead:
CacheNotFound: Cache directory not found: D:\itch\invokeai\invokeai_2_3_0_standalone\invokeai\models\diffusers. Please use `cache_dir` argument or set `HUGGINGFACE_HUB_CACHE` environment variable.
Sadly not. :( The 16xx have a bug that can only be circumvented with additional vram usage. The 1650 is the only model that doesn't have enough vram for this fix.
I wonder in cases of VRAM limits, doesn't windows as well as many videocards allow for shared memory use? Seen it done in other areas but not with things like stable diffusion Basically if shared memory can be used, then core functions can still work even if it will be really slow.
For example, allowing things as far as a worst of all worlds memory setup (cursed image of a GTX970), as soon as a task starts to need more than 4GB it can gradually stop using that last 512MB pool to avoid context switching there, and start using a bunch of system RAM.
If you use the itch app, it will update automatically. If you don't use it, download the new version and copy your output folder from the old version to the new one. After you copied your output folder (or made a backup of it), you can delete the old version.
I tried to launch the application but it did not load or run the application at all. I am using rtx 2060 graphic card and AMD CPU ryzen 5600G, is there anything that I am missing?
Thanks for reaching out! :) Are you probably using a vpn?
(As background: To display your IP, the starter has to contact api.ipify.org. This doesn't work if you're behind a vpn. It definitely shouldn't crash because of that and that will be fixed with the next patch. You can test if it's crashing because of that by just running the helper.bat file in the invokeai folder. :3)
I think it will be possible. On linux it works on AMD and there is a plugin for the auto1111 ui which supports amd gpus, apparently. The latter one is harder to install, though. :/
But I really cannot tell how long it'll take until we get an AMD gpu version. I thought it would have been done much sooner, but there's now this plugin for another UI... so - as far as I know - it might be just a few weeks away or several months. :/
On my 10 year old FX 8350 cpu, it took 8 minutes to generate a 512x512 image. On yours maybe 3-4 minutes, but I don't know.
So it won't be super fun, but if you take a good model/prompt from civitai and leave it running while doing something else, it miiiight be okayish.
Ok, great. I figured it wasn't because I'm only getting 7-8it/s on my brand new machine with a 4090. I noticed others reporting 13-14 on reddit with the same card. Do you have any suggestions on optimization settings?
Thanks for the convenient InvokeAI version, is it possible in future versions to reduce the number of installed models from 4 to 1 or even 0? The weight of four models is too big, I think it would be convenient to provide a light archive
Hm... we could go from 21.4 GB to 14.4 if we only leave 1.5 (no 1.5 inpainting, no 2.1 models). I tried to pack all the models that would require a huggingface api key to download.
Btw. you should be able to delete those models to save up space. :3
It'll work anyway. If you got some time for testing, you can poke me on Discord (Sunija#6598). We couldn't find anyone with this bug and it would help greatly to remove it. :3
Go to the invokeai folder. Make a copy of "helper.bat". Open your copy in a text editor and in the last long line, remove "--web". Save. Then double click your copy. :)
is it possible that this installation also sets up system Hotkeys?
CTRL + Shift + N is usually "New Folder" but since I installed this pack it instead starts this everytime I try to create a new Folder.
EDIT: it does. It creates a Shortcut on the Desktop that is set up with this Hotkey in it and therefore overtaking this already occupied default windows shortcut.
Atm, there is a bug that causes a crash if you got a AMD graphics card. The bug will be fixed around tuesday. Though, even with the bug fixed, it can only generate images on your CPU, so image generation will be slow. :(
It *should* work with the updated version now. :) If not, just post about it here or poke me on Discord (Sunija#6598), so we can investigate the problem.
I have tried running both the requirements checker and full on 2 computers and keep getting an error: Faulting module name: KERNELBASE.dll, version: 10.0.19041.2546, time stamp: 0xe8e9ac9b Running Windows 10 22H2 I have an AMD RX 6080 XT.
Thanks for reaching out! :) As the error message says: Your path to the standalone contains a space. Please rename all folders above the standalone to not contain spaces. (e.g. NOT "my folder" but instean "myfolder").
however some scripts are fixated on your Setup as it seems. E.G. I tried to use the "install models" function and got multiple errors at some point that prompts: WinError 5 access denied: 'C:\\Users\\Sunija'" ... Needless to say I don't have a User "Sunija" in my system.
1) Does it blur out NSFW images? Otherwise it's not the NSFW checker. 2) Did you disable the NSFW checker *before* clicking start? Settings are only applied on restart.
And finally there is only one thing this tool needs is ControlNet(or some other tool to control poses), for exmaple by using following addont to Blender: https://toyxyz.gumroad.com/l/ciojz
← Return to tool
Comments
Log in with itch.io to leave a comment.
How I can put in custom vae?
When you add a diffuser model, it will ask you directly to put a vae. :)
If you add a safetensor/checkpoint, you first have to add it, then click on the "edit" button next to the model in the model list. Then you can add your vae there. :)
Thank you, great work. I really satisfied with AI. Can't wait for the lora though) wish you best of luck. (Bad English alert)
Hi, I cant run the program. It starts to run then I get :
model stable-diffusion-1.5 could not be loaded: [Errno 22] Invalid argument
then
** trying to reload previous model
>> Loading diffusers model from runwayml/stable-diffusion-v1-5
| Using faster float16 precision
| Loading diffusers VAE from stabilityai/sd-vae-ft-mse
Fetching 15 files: 100%|███████████████████████████████████████████████████████████████████████| 15/15 [00:00<?, ?it/s]
| Calculating sha256 hash of model files
** An error occurred while attempting to initialize the model: "[Errno 22] Invalid argument:
** This can be caused by a missing or corrupted models file, and can sometimes be fixed by (re)installing the models.
Do you want to run invokeai-configure script to select and/or reinstall models? [y/N]:
I have tried the reinstall and I get the same error.
Thank you for reaching out! :)
Can you send me a screenshot of your error and your starter on Discord (Sunija#6598)?
Hi, I can't run the program. :(
This is what shows the CMD when I click Start.
"G:\Programas\Invoke" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
G:\Programas\Invoke AI\invokeai\invokeai_2_3_0_standalone/env/python.exe: can't open file 'G:\\Programas\\Invoke': [Errno 2] No such file or directory
Hi, thanks for reaching out! :)
You have to rename your "Invoke AI" folder to "InvokeAI". The space in between kills the program. :3 Sorry for the inconvenience!
Thanks, solved
is it normal when winows defenders find trojans and other threats when installing this?
Yes, this is a false warning and can be dismissed. Registering the program (so this false warning disappears) would sadly cost a lot of money. :/
The starter is open source, so if there was a virus included, people could easily find out. Source code: https://github.com/GothaB/invokeai_starter
Hey! I tried installing it on itch.io, but it clearly seems within the files installing was as trojan called Blababindi... I did some research, it's pretty dangerous, and I wonder how it could have gotten inside these files... Fortunately Windows Defender quarantined it, but still... Would you have an explanation (no it's not a bug there was indeed Blababindi!ml inside of it)
To be exact here's the address from the itch folder in %appdata% : "itch\apps\invokeai\invokeai_2_3_0_standalone\invokeai\models\hub\models--CIDAS--clipseg-rd64-refined\snapshots\583b388deb98a04feb3e1f816dcdb8f3062ee205\pytorch_model.bin"
And the Defender patch note : Backdoor:Win32/Bladabindi!ml threat description - Microsoft Security Intelligence
Most likely a mistake of Windows Defender. If you upload the file to virustotal, no other virus scanner detects it as a virus: https://www.virustotal.com/gui/file/dd9308225b8314bb7236f207e6ea72b22db5d90dba03...
I'll check how to contact Microsoft to figure that out.
good luck, when i made something on visual studio i contacted Microsoft and they got it rid in the next security intelligence update
Hmmh ... Maybe.... I don't doubt your honesty, since it's all open source, but scary stuff though, I think I'll install it on a VM. Just to be sure. And not from itch.io
This is being discussed on Github too. Different detection in a different release of pytorch_model.bin, but same problem.
hi!
I can't run the program for some reason, it keeps spitting out this error: OSError: [Errno 22] Invalid argument: 'D:\\itch\\invokeai\\invokeai_2_3_0_standalone\\invokeai\\models\\hub\\models--runwayml--stable-diffusion-v1-5\\snapshots\\ded79e214aa69e42c24d3f5ac14b76d568679cc2\\safety_checker\\pytorch_model.bin'
i don't know what to do. If i ignore the error and procede to launch the program, it'll start and open the web ui but i cannot do anything on it or it'll crash. i've reinstalled it 5 times at this point.
i have a 10700K and an RTX3050.
edit:
If i reinstall the models as suggested it gives this error instead:
CacheNotFound: Cache directory not found: D:\itch\invokeai\invokeai_2_3_0_standalone\invokeai\models\diffusers. Please use `cache_dir` argument or set `HUGGINGFACE_HUB_CACHE` environment variable.
please help me before i lose my mind.
thanks in advance.
Thanks for reaching out! :)
Can you send me a screenshot of the full error on discord (Sunija#6598)? :)
Sure thing, I’ll contact you tomorrow.
Btw i think what you do is amazing.
Not sure if it helps diagnosing the issue, but I ran across this because I'm experiencing the same, also installed on `D:` on windows. Using RTX 3080
Your virus scanner is probably removing pytorch_model.bin as soon as it's downloaded. It may be a false positive. See this thread.
ugh, you're right. Windows didn't notify me, but it removed it. Adding an exclusion for InvokeAI worked for me. Thanks!
Is it possible on 1650
Sadly not. :( The 16xx have a bug that can only be circumvented with additional vram usage. The 1650 is the only model that doesn't have enough vram for this fix.
Is it not possible as well on GTX 1650 Super?
It also won't work on the GTX 1650 Super, because that one also only has 4 GB of VRAM (and it would need at least 6). :(
Does it works on RTX 2060?
I wonder in cases of VRAM limits, doesn't windows as well as many videocards allow for shared memory use? Seen it done in other areas but not with things like stable diffusion
Basically if shared memory can be used, then core functions can still work even if it will be really slow.
For example, allowing things as far as a worst of all worlds memory setup (cursed image of a GTX970), as soon as a task starts to need more than 4GB it can gradually stop using that last 512MB pool to avoid context switching there, and start using a bunch of system RAM.
i love the ui... thankyou
how do I fix the error: ModuleNotFoundError: No module named 'ldm'
Thanks for reaching out! :)
Can you send me a screenshot of the whole error on Discord (Sunija#6598)? :)
Will you add the opportunity to use lora models? And if yes, do you already know when this could be implemented?
Loras will be added with the next InvokeAI update, but sadly I don't know when this will happen. :(
Thats good enough news for me :) Thank you for this wonderful software
there goes me with my gtx 1650
are u ever gonna make a verison for amd or is it not possible
Will this be upgraded to InvokeAI-2.3.2?
The newest version is already on 2.3.2. :3
If you use the itch app, it will update automatically. If you don't use it, download the new version and copy your output folder from the old version to the new one. After you copied your output folder (or made a backup of it), you can delete the old version.
Thank you.
Can we use loRa models?
Sadly, not yet. :3
Thanks for reaching out! :)
Are you probably using a vpn?
(As background: To display your IP, the starter has to contact api.ipify.org. This doesn't work if you're behind a vpn. It definitely shouldn't crash because of that and that will be fixed with the next patch. You can test if it's crashing because of that by just running the helper.bat file in the invokeai folder. :3)
I got the following error
Rename the folder "F:\New folder" to "F:\New_folder". :)
When can we expect it to run on amd gpu, if ever :( ?
Edit: Also will the performance be bearable on r7 5800h ?
I think it will be possible. On linux it works on AMD and there is a plugin for the auto1111 ui which supports amd gpus, apparently. The latter one is harder to install, though. :/
But I really cannot tell how long it'll take until we get an AMD gpu version. I thought it would have been done much sooner, but there's now this plugin for another UI... so - as far as I know - it might be just a few weeks away or several months. :/
On my 10 year old FX 8350 cpu, it took 8 minutes to generate a 512x512 image. On yours maybe 3-4 minutes, but I don't know.
So it won't be super fun, but if you take a good model/prompt from civitai and leave it running while doing something else, it miiiight be okayish.
You know what ? Maybe I just use linux then! Will it work if I have both OS on my system, like in dual boot ? Or will I have to uninstall windows ?
You won't have to uninstall windows. :3
Though, this standalone only works with windows. :( So for Linux you have to follow the automatic installer guide: https://invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-th... and the rocm (= "AMD cuda") guide https://invoke-ai.github.io/InvokeAI/installation/030_INSTALL_CUDA_AND_ROCM/#wal...
It's not crazy hard, but it's obviously a bit trickier. :)
hell yeah, unlimited cat girls!
How do we install xformers for this version of invoke?
It comes pre-installed.
Ok, great. I figured it wasn't because I'm only getting 7-8it/s on my brand new machine with a 4090. I noticed others reporting 13-14 on reddit with the same card. Do you have any suggestions on optimization settings?
safetensors?
They work. If that's the question.
Thanks for the convenient InvokeAI version, is it possible in future versions to reduce the number of installed models from 4 to 1 or even 0? The weight of four models is too big, I think it would be convenient to provide a light archive
i feel you
Hm... we could go from 21.4 GB to 14.4 if we only leave 1.5 (no 1.5 inpainting, no 2.1 models). I tried to pack all the models that would require a huggingface api key to download.
Btw. you should be able to delete those models to save up space. :3
Is there a way to launch this app with a 2gb video memory?
It will not use your graphics card but your CPU then. That will be a lot slower than running it on the graphics card (a couple of minutes per image).
The AI already takes 2.5 GB in your video memory, and the image would take some more then. So 2 GB is not enough to run it on the graphics card.
the requirement checker says I have no dedicated gpu and shows the intel integrated gpu, even though I have a 3050Ti for my laptop
Thanks for the report! :)
It'll work anyway. If you got some time for testing, you can poke me on Discord (Sunija#6598). We couldn't find anyone with this bug and it would help greatly to remove it. :3
ImportError: DLL load failed while importing cv2: Can not find specified module
Do i need to install some other prerequisites?
Thanks for reaching out! :)
You should not. Can you send me a screenshot of the error on Discord (Sunija#6598)?
Just wondering, can I use the developer console somehow? Like in the normal installation
Go to the invokeai folder. Make a copy of "helper.bat". Open your copy in a text editor and in the last long line, remove "--web". Save. Then double click your copy. :)
It does not work, it bring the command line console, not the developer environment console.
Invokeai_starter crashes after hitting Accept License.
Thanks for the report! :)
This was fixed with the latest patch.
thank you
Would it make a difference if downloaded on a HDD instead of SSD?
SSD will load the model much faster on start. Image generation should be at same speed.
Some HDDs are apparently so slow that it doesn't load at all, but that is really rare.
is it possible that this installation also sets up system Hotkeys?
CTRL + Shift + N is usually "New Folder" but since I installed this pack it instead starts this everytime I try to create a new Folder.
EDIT: it does. It creates a Shortcut on the Desktop that is set up with this Hotkey in it and therefore overtaking this already occupied default windows shortcut.
Jep, that's a bug that will be fixed with the patch on tuesday. :)
Thanks for the report!
Hi ,
I am on a laptop, with double gpu, one amd (weak one ) and one with nvidia ( 3060 )
How do i make it recognize the nvidia one instead ?
Thank you
It should automatically detect the right one. :3
If it tells you it it found the weak one, don't mind. It should still use the 3060.
If it doesn't (e.g. image generation takes more than 10s), poke me again and we'll take a closer look. :3
Thank you for replying :) Have a nice day sir .
The launcher is buggy as hell, but once you get it running it works great. Just you have to try over and over, to get it to launch.
Unfortunately it doesn't work for me. I tried both itch and local download - both just automatically close after I click " Accept License" .
The requirements checker couldn't start as well.
I tried to disable the firewall - same results.
It's a new laptop, running win 11 . any idea what might be wrong?
Atm, there is a bug that causes a crash if you got a AMD graphics card. The bug will be fixed around tuesday.
Though, even with the bug fixed, it can only generate images on your CPU, so image generation will be slow. :(
Thanks for your reply, Sunija!
I'm not really a tech savvy person, by from what I understand that graphic card is.... Intel Arc A370M Graphics
Does this count under the category that will be fixed around tuesday or perhaps it's another issue?
It *should* work with the updated version now. :)
If not, just post about it here or poke me on Discord (Sunija#6598), so we can investigate the problem.
The app keeps crashing the moment I click accept license.
Atm, there is a bug that causes a crash if you got a AMD graphics card. The bug will be fixed around tuesday.
Though, even with the bug fixed, it can only generate images on your CPU, so image generation will be slow. :(
ok :(
will the time come when AMD gpus on windows will be supported?
I have tried running both the requirements checker and full on 2 computers and keep getting an error: Faulting module name: KERNELBASE.dll, version: 10.0.19041.2546, time stamp: 0xe8e9ac9b Running Windows 10 22H2 I have an AMD RX 6080 XT.
"Requires a Nvidia Graphics Card (except GTX 1650)"(at beginning of this page). Unfortunately AMD RX 6080 XT is not NVIDIA
Thanks the link that brought me here clamed this one worked with AMD as well
This doesn't work for me somehow. Any ideas?
Thanks for reaching out! :)
As the error message says: Your path to the standalone contains a space. Please rename all folders above the standalone to not contain spaces. (e.g. NOT "my folder" but instean "myfolder").
Hi, I just would like to say thank you very much for sharing with us.
When I press Ctrl+Shift+N, which is the hotkey to create new folders in Windows Explorer, Invoke AI starts. Where can I disabled this behaviour?
[edit] Nvm, I found the desktop icon with the hotkey/shortcut defined in it. Don't have desktop icons on so totally missed that :p
Probably not good to hijack known Windows hotkeys though.
Thank you so much! <3 I was so confused where this was coming from. I'll remove it with the next patch.
Love this,
however some scripts are fixated on your Setup as it seems. E.G. I tried to use the "install models" function and got multiple errors at some point that prompts: WinError 5 access denied: 'C:\\Users\\Sunija'" ... Needless to say I don't have a User "Sunija" in my system.
Thanks for the report! :)
I'll try to fix it with the next patch.
It refuses to allow my models to make NSFW even with the nsfw filter off
1) Does it blur out NSFW images? Otherwise it's not the NSFW checker.
2) Did you disable the NSFW checker *before* clicking start? Settings are only applied on restart.
Awsome project!
Brilliant work!
And finally there is only one thing this tool needs is ControlNet(or some other tool to control poses), for exmaple by using following addont to Blender: https://toyxyz.gumroad.com/l/ciojz
i love playing with this.
and now i dont have to pay for credits on the cloud services!
thanks so much for making this.