Closed Laughing-q closed 4 days ago
Your pull request is modifying functions with the following pre-existing issues:
π File: ultralytics/engine/exporter.py
Function | Unhandled Issue |
---|---|
__call__ |
AssertionError: ERROR βοΈ argument 'int8' is not supported for format='onnx' ultralytics.engin... Event Count: 1 |
__call__ |
RuntimeError: [enforce fail at alloc_cpu.cpp:117] err == 0. DefaultCPUAllocator: can't allocate memory: you tri... ... Event Count: 1 |
__call__ |
SyntaxError: /content/drive/MyDrive/weedai_yolo/runs/detect/train/args.yaml 'train:' key missing β. ... Event Count: 1 |
Did you find this useful? React with a π or π
π Hello @Laughing-q, thank you for submitting an ultralytics/ultralytics
π PR! To ensure a seamless integration of your work, please review the following checklist:
ultralytics/ultralytics
main
branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull
and git merge main
locally.π Additionally: It looks like your PR focuses on improving support for NVIDIA Deep Learning Accelerator (DLA) devices, which is an exciting enhancement! π For clarity and completeness, if there are any edge cases or additional behavior that your code addresses (e.g., specific scenarios involving DLA devices), you may want to include them in your testing or documentation updates.
For more guidance, please refer to our Contributing Guide. An Ultralytics engineer will review your PR soon and provide further feedback if necessary. Donβt hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! β‘
Attention: Patch coverage is 33.33333%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 73.09%. Comparing base (
84a8b06
) to head (e25d9b5
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
ultralytics/nn/autobackend.py | 0.00% | 3 Missing :warning: |
ultralytics/engine/exporter.py | 50.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@Laughing-q thanks for the support here! I have tested on Jetson and it all works now! @glenn-jocher this should be good to go.
@glenn-jocher a fix of this PR.
In this PR it'll automatically save the dla
in our metadata
when exporting a engine format model within dla
specified and directly use it in AutoBackend
class so model gets to know the correct dla device. No need to specify device
while inference.
@Laughing-q looks good! @lakshanthad can you review? Do we need any Docs updates after this?
π₯³ Amazing work, team! Huge thanks to @Laughing-q for leading this fantastic PR and to @glenn-jocher and @lakshanthad for the collaborative efforts behind the scenes. Merging this is a big step forward for improved compatibility and usability, especially for our NVIDIA Jetson community. π
As Henry Ford once said, "Coming together is a beginning, staying together is progress, and working together is success." This PR embodies that spirit, combining teamwork and innovation to unlock new potentials for DLA-specific workflows.
Your hard work and dedication continue to inspire. Thank you for your meaningful contributions! β€οΈ
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
This PR updates the CI workflow, adds detailed NVIDIA Jetson DLA hardware information, and improves TensorRT export functionality for better device compatibility. π
π Key Changes
ubuntu-24.04-arm
from test matrix due to temporary issues.dla:0
/dla:1
).8.3.71
to8.3.72
.π― Purpose & Impact
π These updates collectively improve the developer and user experience, particularly for NVIDIA Jetson users leveraging DLA hardware.