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

Multiple GPUs Inference #13

Open
BigShuiTai opened this issue Aug 25, 2024 · 4 comments
Open

Multiple GPUs Inference #13

BigShuiTai opened this issue Aug 25, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@BigShuiTai
Copy link

Hello, is there any way to run a inference with 2 or more GPUs?

@wesselb
Copy link
Contributor

wesselb commented Aug 29, 2024

Hey @BigShuiTai! Thanks for opening an issue.

I'm guessing that you want to split a single version of the model across multiple GPUs, possibly to be able to run the model on GPU with less memory.

Unfortunately, this is not supported by the version of Aurora in this repository. Aurora, however, is just a plain PyTorch model, so model parallelism (I believe the kind that you're referring to) would be possible to implement.

@wesselb wesselb added the enhancement New feature or request label Sep 3, 2024
@luiservela
Copy link

yes - lets make this happen!

@firatozdemir
Copy link

@wesselb is this something you are looking into in a near-future?
Was this not implemented for the original training in the paper (i.e., was Aurora simply trained with Data parallelism + activation checkpointing for the Swin3D backbone)?

@wesselb
Copy link
Contributor

wesselb commented Dec 3, 2024

@firatozdemir, model parallelism is unfortunately not something we intend to implement in the near future.

For the original training, we indeed simply used DDP (FSDP, to be precise) with activation checkpointing.

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

No branches or pull requests

4 participants