Comments (10)
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.
I am sorry. But (60~80 second / frame) infers to the ddim phase speed.
from rerender_a_video.
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.
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.
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.
rerender.py also performs bad. I test another rep (fresco)
from rerender_a_video.
https://github.com/williamyang1991/Rerender_A_Video/blob/main/inference_playground.ipynb
You can see the recorded speed in my inference_playground.ipynb
from rerender_a_video.
thanks for your patient resp
from rerender_a_video.
from rerender_a_video.
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)
- 如何配置GPU HOT 2
- 那天我这种小白也能用上就好了,不会Python,要是有个人会封装.exe,我会感谢他。 HOT 2
- add option to use LCM lora or sdxl turbo support this will speed up generation by 10x
- ebsynth issues HOT 2
- pinokio HOT 3
- Will there be a usable model or pipeline in Diffusers? HOT 2
- Error: `Please generate the first key image before generating all key images` HOT 1
- Readapting the Diffusers pipeline to the img2img setting HOT 2
- How to install gmflow for Diffusers pipeline? HOT 7
- Increasing Frame resolution bigger than 768 ? HOT 1
- How to use with SD-2.1
- blender not found
- 闪烁问题 HOT 10
- i can't find 'deps.ControlNet.share'
- Error
- Thank you, thank you, TQVM
- ERROR: Exception in ASGI application HOT 3
- How to NOT use the first frame, only use pre_result? HOT 2
- DDIM sampling do not use x0_strength, and always iterate for ddim_steps=20, time consuming.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rerender_a_video.