Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

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

(1 edit) (+1)

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!