[GH-ISSUE #229] Issue 1: Missing Imports in setup.py #178

Closed
opened 2026-10-26 09:55:55 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @PrinceSajjadHussain on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/229

The setup.py file lacks necessary imports like torch which are required to correctly build the extension, specifically when using torch.utils.cpp_extension. This can lead to build errors.

Originally created by @PrinceSajjadHussain on GitHub (Jun 19, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/229 The `setup.py` file lacks necessary imports like `torch` which are required to correctly build the extension, specifically when using `torch.utils.cpp_extension`. This can lead to build errors.
Author
Owner

@alpha-baby commented on GitHub (Jun 20, 2025):

github.com/deepseek-ai/DeepEP@9d4f7ef8ee/setup.py (L4)

already import torch torch.utils.cpp_extension

<!-- gh-comment-id:2989700397 --> @alpha-baby commented on GitHub (Jun 20, 2025): https://github.com/deepseek-ai/DeepEP/blob/9d4f7ef8eeedd9970c2bb8efe998e07e7bb9df5b/setup.py#L4 already import torch `torch.utils.cpp_extension`
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#178
No description provided.