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

multi GPU train #282

Closed
1 task done
modu82 opened this issue May 21, 2023 · 3 comments
Closed
1 task done

multi GPU train #282

modu82 opened this issue May 21, 2023 · 3 comments
Labels
enhancement New feature or request Stale

Comments

@modu82
Copy link

modu82 commented May 21, 2023

Search before asking

  • I have searched the HUB issues and found no similar feature requests.

Description

I have multiple GPUs, but when using Ultralytics, only one graphics card was called, which forced me to choose other methods to train the model

Use case

I have multiple GPUs, but when using Ultralytics, only one graphics card was called, which forced me to choose other methods to train the model

Additional

n

@modu82 modu82 added the enhancement New feature or request label May 21, 2023
@github-actions
Copy link

👋 Hello @modu82, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more, and see our ⭐️ HUB Guidelines to quickly get started uploading datasets and training YOLO models.

If this is a 🐛 Bug Report, please provide screenshots and steps to recreate 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!

@glenn-jocher
Copy link
Member

@modu82 thank you for your question about utilizing multiple GPUs in Ultralytics HUB. By default, YOLOv3 and YOLOv5 can support training on multiple GPUs with data parallelism and model parallelism.

To train on multiple GPUs with data parallelism, you can set the batch_size parameter to be the total batch size across all GPUs. Ultralytics' --multi-scale training flag automatically scales the input image size for improved performance, which can be used in combination with multiple GPUs as well.

To train on multiple GPUs with model parallelism, you can use the --device flag to specify which GPUs to train on and which parts of the model to place on each GPU.

Please let us know if you have any further questions, and we appreciate your interest in our HUB!

@github-actions
Copy link

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

@github-actions github-actions bot added the Stale label Jun 21, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

2 participants