-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Model parallelization for inference on large images #720
Comments
👋 Hello @tonyreina, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix. If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. We try to respond to all issues as promptly as possible. Thank you for your patience! |
Hi Tony, Thank you for reaching out and for your detailed question! To address your need for handling large 8k images with YOLO while managing memory and latency issues, model parallelism across multiple GPUs is indeed a viable approach. However, implementing this requires careful consideration and setup. Steps to Achieve Model Parallelism:
Important Considerations:
If you encounter any issues or need further assistance, please provide a minimum reproducible code example. This will help us better understand your setup and provide more targeted support. You can refer to our minimum reproducible example guide for more details. Feel free to reach out with any more questions or updates on your progress! |
Search before asking
Question
I've got images that are 8k and larger in size. I'd like to use the entire image in the Yolo model but of course that leads to memory and latency issues in the inference.
Is anyone aware of doing inference for Yolo where they employ model parallelism across say 4 GPUs (NVLinked on same node) to handle 4 sections of the image (or 4 sections of the model) simultaneously and then stich them back together at the end?
Is there anyway to do something like this with Ultralytics?
Thanks.
Best.
-Tony
Additional
No response
The text was updated successfully, but these errors were encountered: