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

Remove unnecessary operators registration #689

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

majing921201
Copy link
Contributor

@majing921201 majing921201 commented Aug 5, 2024

Explicit registration of scalar version operators leads to bypassing device agnostic code path, which furtherly lead to miss some necessary redispatching (ZeroTensor) for XPU backend and segmentation fault in XPU SYCL kernel due to zero pointer. Remove them to align with other backends.

@fengyuan14 fengyuan14 added this pull request to the merge queue Aug 6, 2024
Merged via the queue into main with commit 718bc42 Aug 6, 2024
2 checks passed
@fengyuan14 fengyuan14 deleted the majing/binary branch August 6, 2024 07:43
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.

2 participants