Skip to content

dnn: cleanup of tengine backend#24122

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
fengyuentau:remove_tengine
Aug 9, 2023
Merged

dnn: cleanup of tengine backend#24122
asmorkalov merged 2 commits intoopencv:4.xfrom
fengyuentau:remove_tengine

Conversation

@fengyuentau
Copy link
Copy Markdown
Member

@fengyuentau fengyuentau commented Aug 8, 2023

🚀 Cleanup for OpenCV 5.0. Tengine backend is added for convolution layer speedup on ARM CPUs, but it is not maintained and the convolution layer on our default backend has reached similar performance to that of Tengine.

Tengine backend related PRs:

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@fengyuentau fengyuentau added category: dnn port to 5.x is needed Label for maintainers. Authors of PR can ignore this cleanup Code cleanup (e.g, drop legacy C-API, legacy unmaintained code) labels Aug 8, 2023
@fengyuentau fengyuentau added this to the 4.9.0 milestone Aug 8, 2023
@fengyuentau fengyuentau requested review from dkurt and vpisarev August 8, 2023 03:02
@dkurt
Copy link
Copy Markdown
Member

dkurt commented Aug 8, 2023

Can you please add a motivation into the PR description why Tengine going to be removed (not maintained or there are more efficient alternatives)?

@fengyuentau
Copy link
Copy Markdown
Member Author

The decision (and also the cleanup of Halide backend) was made in the internal meeting. We have already reached similar performance of convolution layers against Tengine.

@dkurt
Copy link
Copy Markdown
Member

dkurt commented Aug 8, 2023

@fengyuentau, I don't see any obstacles, this is just for commit history which includes complete message from PR description only.

@fengyuentau
Copy link
Copy Markdown
Member Author

this is just for commit history which includes complete message from PR description only.

Ok

@asmorkalov asmorkalov self-requested a review August 9, 2023 06:22
@asmorkalov asmorkalov assigned dkurt and unassigned vpisarev and asmorkalov Aug 9, 2023
Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

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

👍

@asmorkalov asmorkalov merged commit ba70ec9 into opencv:4.x Aug 9, 2023
@fengyuentau fengyuentau deleted the remove_tengine branch August 9, 2023 06:27
@asmorkalov asmorkalov mentioned this pull request Sep 11, 2023
thewoz pushed a commit to thewoz/opencv that referenced this pull request Jan 4, 2024
dnn: cleanup of tengine backend opencv#24122

🚀 Cleanup for OpenCV 5.0. Tengine backend is added for convolution layer speedup on ARM CPUs, but it is not maintained and the convolution layer on our default backend has reached similar performance to that of Tengine.

Tengine backend related PRs:
- opencv#16724
- opencv#18323

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
thewoz pushed a commit to thewoz/opencv that referenced this pull request May 29, 2024
dnn: cleanup of tengine backend opencv#24122

🚀 Cleanup for OpenCV 5.0. Tengine backend is added for convolution layer speedup on ARM CPUs, but it is not maintained and the convolution layer on our default backend has reached similar performance to that of Tengine.

Tengine backend related PRs:
- opencv#16724
- opencv#18323

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: dnn cleanup Code cleanup (e.g, drop legacy C-API, legacy unmaintained code) port to 5.x is needed Label for maintainers. Authors of PR can ignore this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants