Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling Multi-GPU in SVD #396

Open
Benjamin-So opened this issue Aug 11, 2024 · 0 comments
Open

Enabling Multi-GPU in SVD #396

Benjamin-So opened this issue Aug 11, 2024 · 0 comments

Comments

@Benjamin-So
Copy link

Hello, thank you for providing this open source model!

I'm attempting to run the Stable Video Diffusion using the simple_video.py script. I'm running this with the following arguments.
--version svd --input_path data/robot_images --image_size 512

But I'm running into an out of memory error. I have two A100 GPU's available to me. Is there a way to enable multi-GPU? Thanks!

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.50 GiB (GPU 0; 31.74 GiB total capacity; 23.40 GiB already allocated; 1.92 GiB free; 29.42 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant