-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple GPU support #48
Comments
Hello @HaxThePlanet, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@HaxThePlanet good news: yolov5 supports multi-gpu out of the box. Some examples: python train.py # will use ALL available cuda resources found on system
python train.py --device 0,1 # specify devices
python train.py --device 0 # specify 1 device
python train.py --device cpu # force cpu usage test.py works exactly the same way. detect.py accepts a |
Excellent, thanks for the fast response and hard work. This thing is amazing! |
when I type the command: bug report as below: |
@AIFAN-Lab thanks for the bug report. I tested on two GPUs today and everything worked well. Can you try to reproduce this in our docker image to see if it's an environment issue?
|
Ok. I will test the Docker. And report later. |
Is it still necessary to train the first 1000 or so iterations on a single GPU? |
@HaxThePlanet that's never been necessary. |
would you pls support multi-gpus while using detect.py ? |
@liangshi036 we don't have the resources to implement suggestions, but you can do this yourself and submit a PR! |
馃殌 Feature
Multiple GPU support
Motivation
Increased performance!
Pitch
I just bought a 3-way p100 box, come on please :)
Alternatives
Google Compute TPU support?
Additional context
The text was updated successfully, but these errors were encountered: