Skip to content

[custom_op] Support string default values in schema - #129179

Closed
zou3519 wants to merge 2 commits into
gh/zou3519/1012/basefrom
gh/zou3519/1012/head
Closed

zou3519 wants to merge 2 commits into
gh/zou3519/1012/basefrom
gh/zou3519/1012/head

Conversation

@zou3519

@zou3519 zou3519 commented Jun 20, 2024 •

Copy link
Copy Markdown
Contributor

Test Plan:
- new tests

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jun 20, 2024 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/129179

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 0fa800e with merge base 54b0006 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Test Plan:
- new tests

[ghstack-poisoned]
@zou3519 zou3519 added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 21, 2024

@albanD albanD left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

SGTM

@zou3519 zou3519 added the release notes: composability release notes category label Jun 21, 2024
@zou3519

zou3519 commented Jun 21, 2024

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Jun 23, 2024
This PR:
- moves some of the dtype-string utilities into ScalarType.{h, cpp}
- adds a new utility to get a mapping from dtype name to the C++ dtype
- the perser now checks if the string is a dtype name; if it is then it
  pulls the c++ dtype from the mapping.

Test Plan:
- new tests
Pull Request resolved: #129189
Approved by: https://github.com/albanD
ghstack dependencies: #129177, #129178, #129179
@github-actions
github-actions Bot deleted the gh/zou3519/1012/head branch July 23, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: composability release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants