Closed cucumber5252 closed 1 year ago
Attention optimization should not drastically change your output quality. Even if you choose not to optimize, you will get nothing in your case. Please improve your prompts.
Attention optimization should not drastically change your output quality. Even if you choose not to optimize, you will get nothing in your case. Please improve your prompts.
Thanks for your help but I have two more questions.
First Is it only compatible with checkpoints based on SD v1.5??
Also, please tell me why the "CUDA ERROR" occured when I use AnimateDiff with xformers and how can I solve it.
THANKS FOR YOUR HELP
CUDA ERROR is because of a bug in xformers. It has nothing to do with AnimateDiff. See https://github.com/facebookresearch/xformers/issues/845
AnimateDiff is only available for SD1.5. SDXL has HotShotXL, whose layers are almost identical to AnimateDiff, but it does not mean that you can mix them together.
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
I use it on WebUI but it create only a mosaic-like image.
Steps to reproduce the problem
When I set "Settings"=>"AnimateDiff">"When you have --xformers in your command line args, you want AnimateDiff to" {to Optimize attention layers with xformers} (I'll call this case "case A"),
it occured CUDA error.
so when I changed it to {Optimize attention layers with sdp (torch >= 2.0.0 required)} or {Do not optimize attention layers} (I'll call this case "case B"), my WebUI just create only a mosaic-like GIF.
What should have happened?
it should create normal GIF.
Commit where the problem happens
webui: https://github.com/TheLastBen/fast-stable-diffusion extension: https://github.com/continue-revolution/sd-webui-animatediff
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Console logs
Additional information
=====using parameter===== (best quality, ultra high resolution),(masterpiece),1girl, (collarbone),earring, necklace, (beach),(full body), , smile,, Steps: 20, Sampler: DPM++ 2M SDE Karras, CFG scale: 7, Seed: 3986890625, Size: 512x512, Model hash: 6ce0161689, Model: v1-5-pruned-emaonly, AnimateDiff: "enable: True, model: mm_sd_v15_v2.ckpt, video_length: 16, fps: 8, loop_number: 0, closed_loop: R-P, batch_size: 16, stride: 1, overlap: 4, interp: Off, interp_x: 10, mm_hash: 69ed0f5f", Version: v1.6.0
=====using checkpoint===== AOM3_orangemixs.safetensors [d124fc18f0]