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 use RTX 4090 *2 running train #35

Open
Fucapisun opened this issue Nov 20, 2024 · 2 comments
Open

How to use RTX 4090 *2 running train #35

Fucapisun opened this issue Nov 20, 2024 · 2 comments

Comments

@Fucapisun
Copy link

Fucapisun commented Nov 20, 2024

When I train with two GPUs using CUDA, I get a memory error message, torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 416.00 MiB (GPU 0; 23.64 GiB total capacity; 21.07 GiB already allocated; 405.69 MiB free; 22.77 GiB reserved in total by PyTorch)indicating that only one GPU is being called. Is there any way to train with two GPUs simultaneously?

@wozuicai
Copy link

May I ask which size of model you are using: base, medium, or large? And what is the input size? I hope to use this model on other datasets, but I am currently concerned about the VRAM usage

@Fucapisun
Copy link
Author

I used base model to train.And I follow nnUNet to preprocess my dataset.

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

2 participants