mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #522] Fix compatibility with torch2.10 #608
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#608
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepEP/pull/522
Author: @elfiegg
Created: 12/16/2025
Status: 🔄 Open
Base:
main← Head:fix📝 Commits (1)
e9f0b7cCompatibility of torch2.10📊 Changes
1 file changed (+9 additions, -36 deletions)
View changed files
📝
csrc/deep_ep.cpp(+9 -36)📄 Description
PyTorch 2.10 introduced stricter validation on tensor metadata operations. Specifically, when
tensor.record_stream()is called, PyTorch 2.10+ internally callsset_stride()or similar metadata operations. If that tensor was created from.detach()upstream, PyTorch now strictly forbids these metadata modifications.So only call
record_stream()on tensors it creates and owns, not on input tensors passed by the caller🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.