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

Update yolov5 integration to accomodate upstream push #1322

Merged
merged 11 commits into from
Jan 19, 2023

Conversation

KSGulin
Copy link
Contributor

@KSGulin KSGulin commented Jan 13, 2023

This PR updates the yolov5 integration files in line with the yolov5 upstream push and fork update as outlined here. There are basically two changes included here:

Removal of data files, configs, and scripts (support files)
As SparseML will now be supported natively in YOLOv5, users will be able to use our tools across both SparseML and the YOLOv5 repos. There is a need to maintain a level of consistency in experience between the two interfaces. Maintaining a copy of the support files within SparseML poses a challenge, as it will be one of three sources for these files which will need to be kept in sync. By removing the files, we're able to track changes to supports files and keep them in sync through straightforward upstream syncs on our YOLOv5 fork.

The support files were originally included in SparseML because at any given time the NM integration of yolov5 was typically a few releases behind the upstream and it was important to expose to the user the exact model architectures, configs, etc. they were using. With the upstream push, our support files will be in sync with the ones on ultralytics/yolov5 and users can reference them there.

Removal of val_onnx
val_onnx was a script added to neuralmagic/yolov5 for quick DeepSparse base validation of our sparsified models. With the upstream push this functionality is now built into the nominal validation flow.

Test Plan
Testing covered in neuralmagic/yolov5#156

@KSGulin KSGulin requested a review from a team January 13, 2023 15:01
@KSGulin KSGulin self-assigned this Jan 13, 2023
@KSGulin KSGulin requested review from bfineran, rahul-tuli and corey-nm and removed request for a team January 13, 2023 15:01
bfineran
bfineran previously approved these changes Jan 13, 2023
dbogunowicz
dbogunowicz previously approved these changes Jan 17, 2023
@KSGulin KSGulin dismissed stale reviews from dbogunowicz and bfineran via aa878f6 January 18, 2023 15:46
rahul-tuli
rahul-tuli previously approved these changes Jan 18, 2023
Copy link
Member

@rahul-tuli rahul-tuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rahul-tuli
rahul-tuli previously approved these changes Jan 18, 2023
bfineran
bfineran previously approved these changes Jan 18, 2023
@KSGulin KSGulin dismissed stale reviews from bfineran and rahul-tuli via 9c4e74a January 18, 2023 22:57
@KSGulin KSGulin requested a review from bfineran January 19, 2023 13:06
@KSGulin KSGulin merged commit ecdd33c into main Jan 19, 2023
@KSGulin KSGulin deleted the yolov5_upstream_merge branch January 19, 2023 14:48
bfineran pushed a commit that referenced this pull request Jan 24, 2023
* [Layer Wise Distillation] Minor fixes (#1317)

* Update yolov5 integration to accomodate upstream push (#1322)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants