-
Notifications
You must be signed in to change notification settings - Fork 527
[Example] Yolo12 Detection sample with OpenVINO/XNNPACK backend #10156
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10156
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit b3e69c5 with merge base 85485b8 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
FYI On the mlock error, you can try switching the load mode in the Module constructor (or data loader) to Mmap (from Mlock). IMO that should be the default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think some sanity checking needs to be added to this example.
@@ -88,7 +88,7 @@ def set_ignored_scope( | |||
names: Optional[List[str]] = None, | |||
patterns: Optional[List[str]] = None, | |||
types: Optional[List[str]] = None, | |||
subgraphs: Optional[List[Tuple[List[str], List[str]]]] = None, | |||
subgraphs: Optional[List[nncf.Subgraph]] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you manage subgraphs
without changing the function signature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
This helped, thanks! |
cbf970d
to
853a16e
Compare
4c302d6
to
60d9cfb
Compare
@lucylq, @jackzhxng, could you please take a look? |
Summary
Ultralytics Yolo12 Detection sample to expand example models with the detection task:
Changes in the OpenVINO backend:
Test plan
Warning:
OpenCV should be installed in the environment.
OpenVINO:
XNNPACK:
Issues:
CC: @ynimmaga @suryasidd @alexsu52