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

[BugFix][UMA] Protect target registration #13624

Merged
merged 1 commit into from
Dec 16, 2022
Merged

[BugFix][UMA] Protect target registration #13624

merged 1 commit into from
Dec 16, 2022

Conversation

cbalint13
Copy link
Contributor

@cbalint13 cbalint13 commented Dec 15, 2022

This PR address fixes for UMA target registration.


Changes:

  • Incorporates all proposed fixes from mentioned PR #12731
  • Address test case concerns and discussions from PR #12731
  • NEW: Already exiting target cannot be created, explicit error on this.
  • NEW: Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Cc: @areusch, @cgerum, @lhutton1, @manupak, @MichaelJKlaiber, please help with the review.

Thanks,
~Cristian

@tvm-bot
Copy link
Collaborator

tvm-bot commented Dec 15, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: bugfix, uma See #10317 for details

Generated by tvm-bot

@cbalint13 cbalint13 changed the title [BugFix][UMA] Protect target registration. [BugFix][UMA] Protect target registration Dec 15, 2022
@cgerum
Copy link
Contributor

cgerum commented Dec 15, 2022

Thank you very much @cbalint13 for taking over some UMA maintenance. The patch looks fine to me.

Copy link
Contributor

@manupak manupak left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests! Just one nit.

src/relay/backend/contrib/uma/targets.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

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

Thanks for picking these up @cbalint13, LGTM!

@lhutton1 lhutton1 merged commit 0eabbac into apache:main Dec 16, 2022
@lhutton1
Copy link
Contributor

Thanks @cbalint13, @cgerum, @manupak!

@lhutton1
Copy link
Contributor

lhutton1 commented Dec 16, 2022

@leandron, could this be a candidate for cherry-picking in the v0.11 release? (#13586)

@leandron
Copy link
Contributor

leandron commented Jan 3, 2023

@leandron, could this be a candidate for cherry-picking in the v0.11 release? (#13586)

Yes will do.

leandron pushed a commit to leandron/tvm that referenced this pull request Jan 19, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

(cherry picked from commit 0eabbac)
leandron pushed a commit to leandron/tvm that referenced this pull request Feb 2, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304 
* Continues stalled PR apache#12731 

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.
tqchen pushed a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304 
* Continues stalled PR apache#12731 

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.
tqchen pushed a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
tqchen pushed a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
tqchen added a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Co-authored-by: Balint Cristian <cristian.balint@gmail.com>
tqchen added a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
Co-authored-by: Balint Cristian <cristian.balint@gmail.com>
tqchen added a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
Co-authored-by: Balint Cristian <cristian.balint@gmail.com>
tqchen added a commit to tqchen/tvm that referenced this pull request Feb 20, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304
* Continues stalled PR apache#12731

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
Co-authored-by: Balint Cristian <cristian.balint@gmail.com>
tqchen added a commit that referenced this pull request Feb 20, 2023
[BugFix][UMA] Protect target registration (#13624) (#4)

This PR address fixes for UMA target registration.
* Fix the doc issue #13304
* Continues stalled PR #12731

Changes:
* Incorporates all proposed fixes from mentioned [PR #12731](#12731)
* Address test case concerns and discussions from [PR #12731](#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.

Signed-off-by: tqchen <tianqi.tchen@gmail.com>
Co-authored-by: Balint Cristian <cristian.balint@gmail.com>
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304 
* Continues stalled PR apache#12731 

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.
mikeseven pushed a commit to mikeseven/tvm that referenced this pull request Sep 27, 2023
This PR address fixes for UMA target registration.
* Fix the doc issue apache#13304 
* Continues stalled PR apache#12731 

Changes:
* Incorporates all proposed fixes from mentioned [PR apache#12731](apache#12731)
* Address test case concerns and discussions from [PR apache#12731](apache#12731)
* **NEW:** Already exiting target cannot be created, explicit error on this.
* **NEW:** Attributes having special/reserved scope cannot be created explicitly.

It also address proper test cases for all the above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants