mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #178] ModuleNotFoundError: No module named 'torch._custom_ops' #139
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/Janus#139
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?
Originally created by @ChrisGitHubIcon on GitHub (Feb 18, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/178
According to requirements.txt, I installed torch as 2.0.1, but it failed as "ModuleNotFoundError: No module named 'torch._custom_ops'".
Seaching from internet, it says torch==2.2.1 will have such module, but again it failed as torchvision version.
Is there anyone having same problem? Or anyone can help? Thanks in advance.
@ChrisGitHubIcon commented on GitHub (Feb 18, 2025):
By
torch==2.1.0
torchvision==0.16.0
Issue closed.