Giter VIP home page Giter VIP logo

Comments (7)

Doubiiu avatar Doubiiu commented on August 18, 2024 1

请问你是用的local gradio demo吗,可以试一下最新的代码看看能否成功推理

您好,我使用comfy ui进行生成,16G显存显示OOM,请问有办法解决吗

Did you use the ComfyUI here? They have the pruned version of the model weights, which supports image animation at a resolution of 1024x576 using only 10GB memory.

from dynamicrafter.

OstwindDDR avatar OstwindDDR commented on August 18, 2024 1

请问你是用的local gradio demo吗,可以试一下最新的代码看看能否成功推理

您好,我使用comfy ui进行生成,16G显存显示OOM,请问有办法解决吗

Did you use the ComfyUI here? They have the pruned version of the model weights, which supports image animation at a resolution of 1024x576 using only 10GB memory.

Thanks dude, it works!

from dynamicrafter.

Doubiiu avatar Doubiiu commented on August 18, 2024

请问你是用的local gradio demo吗,可以试一下最新的代码看看能否成功推理

from dynamicrafter.

didoll-john avatar didoll-john commented on August 18, 2024

可以成功推理了!感谢!

from dynamicrafter.

yishuaidu avatar yishuaidu commented on August 18, 2024

why I have this?

File "/data2/home/dev_mf/DynamiCrafter/lvdm/modules/attention.py", line 118, in forward
sim = sim.softmax(dim=-1)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 25.31 GiB. GPU 0 has a total capacity of 79.15 GiB of which 7.39 GiB is free. Process 2615231 has 7.30 GiB memory in use. Process 2632653 has 7.30 GiB memory in use. Process 2633258 has 7.30 GiB memory in use. Including non-PyTorch memory, this process has 49.83 GiB memory in use. Of the allocated memory 23.36 GiB is allocated by PyTorch, and 25.96 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.

from dynamicrafter.

OstwindDDR avatar OstwindDDR commented on August 18, 2024

请问你是用的local gradio demo吗,可以试一下最新的代码看看能否成功推理

您好,我使用comfy ui进行生成,16G显存显示OOM,请问有办法解决吗

from dynamicrafter.

FilippFedotchenko avatar FilippFedotchenko commented on August 18, 2024

why I have this?

File "/data2/home/dev_mf/DynamiCrafter/lvdm/modules/attention.py", line 118, in forward sim = sim.softmax(dim=-1) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 25.31 GiB. GPU 0 has a total capacity of 79.15 GiB of which 7.39 GiB is free. Process 2615231 has 7.30 GiB memory in use. Process 2632653 has 7.30 GiB memory in use. Process 2633258 has 7.30 GiB memory in use. Including non-PyTorch memory, this process has 49.83 GiB memory in use. Of the allocated memory 23.36 GiB is allocated by PyTorch, and 25.96 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.

Try install library xformers

from dynamicrafter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.