Giter VIP home page Giter VIP logo

Comments (10)

williamyang1991 avatar williamyang1991 commented on June 15, 2024

I suppose that's the ebsynth part (not fully GPU-based, mostly CPU-based). Ebsynth is not implemented by us. If you are interested, you can improve the Ebsynth part to make a high gpu-util.

Our diffusion part does not have low gpu-util.

from rerender_a_video.

SongYxing avatar SongYxing commented on June 15, 2024

I am sorry. But (60~80 second / frame) infers to the ddim phase speed.

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on June 15, 2024

But in my case, on V100 32G, the speed is much faster than your case. (512x512 videos, take about 14.23s per frame)
Did you use very large video resolution?

from rerender_a_video.

SongYxing avatar SongYxing commented on June 15, 2024

I also fixed the 512 x 512 resolution. And varm cost about 10g.
In my case, we spend about 200s to load the model and inference per frame cost 60s. I first though it work in the CPU, but i check it work in CUDA:4 (I set it through torch.set.cuda).
And it is difficulty to set gpu id in weiui.py. CUDA_VISIA... and os cmd are not working. It only work when i set it in front of the per process_x.

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on June 15, 2024

I remember that I can set the GPU by CUDA_VISIBLE_DEVICES=0 python webUI.py.
The slow speed might also caused by WebUI? You can try to use rerender.py instead to test the speed.
If rerender.py is also slow, then I think there may be something wrong with your hardware or software.

from rerender_a_video.

SongYxing avatar SongYxing commented on June 15, 2024

rerender.py also performs bad. I test another rep (fresco)

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on June 15, 2024

https://github.com/williamyang1991/Rerender_A_Video/blob/main/inference_playground.ipynb
You can see the recorded speed in my inference_playground.ipynb

image

from rerender_a_video.

SongYxing avatar SongYxing commented on June 15, 2024

thanks for your patient resp

from rerender_a_video.

SongYxing avatar SongYxing commented on June 15, 2024

this image shows the speed
491714035079_ pic

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on June 15, 2024

I cannot help you with it. I think it is not the problem of my code.
Your hardware or software or setting or environment may have some problem that slow down the code.

from rerender_a_video.

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.