Nightmare-n / DepthAnyVideo

Depth Any Video with Scalable Synthetic Data
https://depthanyvideo.github.io
Apache License 2.0
413 stars 27 forks source link

CUDA out of memory on RTX4090 #16

Closed teidenzero closed 1 month ago

teidenzero commented 1 month ago

Hello, I'm trying to run the software on the wooly_mammoth demo but I'm getting a CUDA error: out of memory on my RTX 4090 using the command python run_infer.py --data_path ./demos/wooly_mammoth.mp4 --output_dir ./outputs/ --max_resolution 960 any idea why this might be happening?

Thank you

Ssecant commented 1 month ago

I have this problem as well.

Nightmare-n commented 1 month ago

Please take a look at #9. You might also consider using full fp16 to further decrease memory usage.