Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Add lowering forbitwise_left_shift.#8865

Merged
ysiraichi merged 6 commits intomasterfromysiraichi/lower-left-shift
Mar 24, 2025

Conversation

ysiraichi
Copy link
Collaborator

This PR lowerstorch.bitwise_left_shift operation. It introduces the following changes:

  • Addbitwise_left_shift.Tensor tofull_codegen section ofnative_functions.yaml
  • Introduce the corresponding*OuputShape() and*::Lower() functions
  • Add test confirming that we don't fallback

@ysiraichiysiraichi added the loweringATen Operation lowering labelMar 20, 2025
@ysiraichiysiraichi requested review fromtengyifei andpgmoka and removed request fortengyifeiMarch 20, 2025 18:28
Copy link
Collaborator

@pgmokapgmoka left a comment

Choose a reason for hiding this comment

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

Could you add a link tohttps://github.com/pytorch/xla/blob/master/docs/source/contribute/codegen_migration.md as potential reference for what was done here?

Also, I had one question I was curious about. Depending on that, there might be changes I would suggest.

ysiraichi reacted with thumbs up emoji
@ysiraichiysiraichi merged commit46a7990 intomasterMar 24, 2025
23 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tengyifeitengyifeitengyifei approved these changes

@pgmokapgmokapgmoka approved these changes

@mikegre-googlemikegre-googleAwaiting requested review from mikegre-googlemikegre-google is a code owner

Assignees
No one assigned
Labels
loweringATen Operation lowering
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@ysiraichi@tengyifei@pgmoka

[8]ページ先頭

©2009-2025 Movatter.jp