mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #111] ImportError: cannot import name 'is_torch_greater_or_equal_than_1_13' from 'transformers.pytorch_utils' #94
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-R1#94
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 @Jiadalee on GitHub (Jan 28, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/111
I'm using python 3.12, pytorch2.5.1, and tried the transformers 4.37.2, 4.44.2, and 4.48 versions, but still got this error (as titled)
The error points to the code block shown below:
I'm suspecting the deepseek-r1 API in Huggingface has a compatibility issue with the python or transformer versions. Pls help check it out. thanks
@Jiadalee commented on GitHub (Jan 28, 2025):
I already fixed this issue. Pls refer to my comments at issue #55
@github-actions[bot] commented on GitHub (Mar 1, 2025):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
@github-actions[bot] commented on GitHub (Apr 9, 2025):
false