Skip to content

Implement XPU queue_push torchbind kernel#3732

Draft
jkosnox wants to merge 1 commit into
intel:mainfrom
jkosnox:jkosnox/xpu/3477
Draft

Implement XPU queue_push torchbind kernel#3732
jkosnox wants to merge 1 commit into
intel:mainfrom
jkosnox:jkosnox/xpu/3477

Conversation

@jkosnox
Copy link
Copy Markdown
Contributor

@jkosnox jkosnox commented May 21, 2026

Add a native boxed implementation for _TorchScriptTesting::queue_push on XPU
and register it for both XPU and AutocastXPU dispatch keys.

The new kernel mirrors CPU behavior by validating the TorchBind object,
calling its push method, and cloning the tensor before enqueueing to avoid
aliasing issues.

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.

1 participant