guoyww / AnimateDiff

Official implementation of AnimateDiff.
https://animatediff.github.io
Apache License 2.0
10.19k stars 827 forks source link

COMMAND LINE ARGS #366

Open KintCark opened 1 month ago

KintCark commented 1 month ago

We need memory optimization please add command line args everytime I try to load s new model or try to generate it crashes I'm testing it on android. Ik it can work cause I used animatediff on comfyui in android I think this is using fp32 we need commands for memory optimization.

KintCark commented 1 month ago

It working cause I added models that I had on my sd card now it's not crashing and I put cfg to 1 but it did crash on first launch when trying to download new models so it's best to download them yourself then put the models in the corresponding folders

KintCark commented 1 month ago

Well I waited 30 minutes for a video got to the very last one and it crashed, damit...

KintCark commented 1 month ago

Yeah loading new models crashes the app it uses too much memory

guoyww commented 1 month ago

We need memory optimization please add command line args everytime I try to load s new model or try to generate it crashes I'm testing it on android. Ik it can work cause I used animatediff on comfyui in android I think this is using fp32 we need commands for memory optimization.

Do you mean adding a --fp16 arg? And can you specify which line cause the crashing during model downloading?

KintCark commented 1 month ago

We need memory optimization please add command line args everytime I try to load s new model or try to generate it crashes I'm testing it on android. Ik it can work cause I used animatediff on comfyui in android I think this is using fp32 we need commands for memory optimization.

Do you mean adding a --fp16 arg? And can you specify which line cause the crashing during model downloading?

Its when i try to change my model to a new one inside the app and when it tryd to download a new model. Please add taesd decoder for vae it uses less ram i cant finidh my video cause it uses default autodecoderKL i need taesd tinyencoder/decoder. And yes please add fp16 and opt-split-attention And vae cpu args please

KintCark commented 1 month ago

After im done waiting on steps an extra 8, steps appear and the app crashes. Ik what it is we need taesd vae and args also add always offload vram arg please and enable smart memory thx

KintCark commented 1 month ago

Aftet im done wsiting on steps an ectra 8, steps appear snd the app crashes. Ik what it is we need taesd vae and args also add alwsys offlosd vram arg please and enable smart memory thx also the lora loader isnt showing thr motion loras its showing the checkpoints. Please fix that so i can use my motion lora. I installed this on my laptop it installed without any problems. But i still wanna try it on my phone once the next fix is released.

KintCark commented 1 month ago

Aftet im done wsiting on steps an ectra 8, steps appear snd the app crashes. Ik what it is we need taesd vae and args also add alwsys offlosd vram arg please and enable smart memory thx also the lora loader isnt showing thr motion loras its showing the checkpoints. Please fix that so i csn use my motion lora. I installed this on my laptop it installed without any problems. But i still wanna try it on my phone once the nes fic is released. Ok so after it generates the steps the app crashes on generating the animation legnth. On my phone. Hopefully when u add the args i can generate videos on my phone:)