Closed sumanthvisionify closed 10 months ago
π Hello @sumanthvisionify, thank you for your interest in YOLOv5 π! Please visit our βοΈ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a π Bug Report, please provide a minimum reproducible example to help us debug it.
If this is a custom training β Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.
Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
We're excited to announce the launch of our latest state-of-the-art (SOTA) object detection model for 2023 - YOLOv8 π!
Designed to be fast, accurate, and easy to use, YOLOv8 is an ideal choice for a wide range of object detection, image segmentation and image classification tasks. With YOLOv8, you'll be able to quickly and accurately detect objects in real-time, streamline your workflows, and achieve new levels of accuracy in your projects.
Check out our YOLOv8 Docs for details and get started with:
pip install ultralytics
@sumanthvisionify hi there! Thank you for reaching out. It sounds like the Triton Server may not be utilizing your GPU resources efficiently. We recommend checking the Triton Server documentation to ensure that the server is properly configured for optimal GPU memory usage.
You may also want to verify that your YOLOv5 models are being loaded and run on the GPU within Triton Server, as this could impact GPU memory utilization. Additionally, confirming that the ONNX format conversion for your YOLOv5 models is not causing any unexpected behavior is always a good idea.
Lastly, the Triton Server version you mentioned (nvcr.io/nvidia/tritonserver:23.10-py3) implies support for the NVIDIA A100 GPU. You may want to confirm compatibility with your NVIDIA A10-12Q GPU and explore any potential GPU-specific settings that could be impacting memory usage.
For more detailed help in configuring Triton Server, you can refer to the Ultralytics Docs at https://docs.ultralytics.com/yolov5/. I hope this helps to improve the GPU resource utilization for your YOLOv5 models with Triton Server!
π 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 β
Search before asking
YOLOv5 Component
Detection, Export, Other
Bug
I have trained YOLOv5 models and converted them to ONNX format. I am using Triton Server to serve these models for inference on a GPU with 12 GB . However, I've noticed that Triton Server is only utilizing around 2 GB of GPU memory, even when running multiple models(5) concurrently. This underutilization of GPU resources is impacting the overall inference performance and efficiency.
Triton docker logs
I1116 13:06:24.997288 1 server.cc:662] +--------------------------+---------+--------+ | Model | Version | Status | +--------------------------+---------+--------+ | model1 | 1 | READY | | model2 | 1 | READY | | model3 | 1 | READY | | model4 | 1 | READY | | model5 | 1 | READY | +--------------------------+---------+--------+
I1116 13:06:25.008435 1 metrics.cc:817] Collecting metrics for GPU 0: NVIDIA A10-12Q I1116 13:06:25.008586 1 metrics.cc:710] Collecting CPU metrics I1116 13:06:25.008858 1 tritonserver.cc:2458]
Triton Server is consistently utilizing only around 2 GB of GPU memory, regardless of the number of models running concurrently. This leads to underutilization of the GPU and suboptimal inference performance.
Note: This issue significantly impacts the inference performance of my application. I'm seeking assistance in resolving this problem to ensure efficient GPU resource utilization when serving multiple YOLOv5 models using Triton Server.
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?