magic-animate icon indicating copy to clipboard operation
magic-animate copied to clipboard

Too much resource

Open bilalpinkrose opened this issue 1 year ago • 3 comments

Hi, thanks for this amazing project. I have issues about generating, when I use on RunPOD's cloud 80gb GPU I still can't get over 25 sampling steps. It gives this error on gradio: Error Unexpected token '<', " <!DOCTYPE "... is not valid JSON

this is terminal error: workspace/magic-animate/magicanimate/pipelines/pipeline_animation.py:624: FutureWarning: Accessing config attribute in_channels directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'. num_channels_latents = self.unet.in_channels

bilalpinkrose avatar Dec 05 '23 15:12 bilalpinkrose

Smth wrong. It consumes ~15GB at max for default resolution. Also those warnings do no harm and should not be related, I get plenty of similar ones.

Priestru avatar Dec 05 '23 15:12 Priestru

Hi, thanks for this amazing project. I have issues about generating, when I use on RunPOD's cloud 80gb GPU I still can't get over 25 sampling steps. It gives this error on gradio: Error Unexpected token '<', " <!DOCTYPE "... is not valid JSON

this is terminal error: workspace/magic-animate/magicanimate/pipelines/pipeline_animation.py:624: FutureWarning: Accessing config attribute in_channels directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'. num_channels_latents = self.unet.in_channels

It shouldn't consume over 80G GPU memory, did you install and enable xformer correctly?

zcxu-eric avatar Dec 07 '23 03:12 zcxu-eric

Hi, thanks for this amazing project. I have issues about generating, when I use on RunPOD's cloud 80gb GPU I still can't get over 25 sampling steps. It gives this error on gradio: Error Unexpected token '<', " <!DOCTYPE "... is not valid JSON this is terminal error: workspace/magic-animate/magicanimate/pipelines/pipeline_animation.py:624: FutureWarning: Accessing config attribute in_channels directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'. num_channels_latents = self.unet.in_channels

It shouldn't consume over 80G GPU memory, did you install and enable xformer correctly?

Thanks for your reply, I installed requirements.txt correctly, what do you mean by enabling xformer?

bilalpinkrose avatar Dec 08 '23 21:12 bilalpinkrose