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

How to change the code if I wanna use two GPU #154

Open
graphic-zhang opened this issue Nov 1, 2024 · 2 comments
Open

How to change the code if I wanna use two GPU #154

graphic-zhang opened this issue Nov 1, 2024 · 2 comments

Comments

@graphic-zhang
Copy link

graphic-zhang commented Nov 1, 2024

One GPU will out of memory , and I have two GPU in my computer. Could someone kindly tell me how to change the code to use two GPU?
I have tried DataParallel, but GaussianModel is not inherit from nn.Module
Forgive me, this question may be foolish

@uy-seng
Copy link

uy-seng commented Nov 7, 2024

having the same issue, did you get it resolved?

@yangwen-1102
Copy link

as I understood, if you have multi-GPU you can assign the submodule to another device, e.g. frontend/backend/viewer don't need to be in one device

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

3 participants