mirror of
https://github.com/deepseek-ai/DeepSeek-VL2.git
synced 2026-11-05 01:07:23 +00:00
[GH-ISSUE #52] torch==2.0.1 missing #42
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/DeepSeek-VL2#42
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 @huangturen on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/52
安装时提示torch的2.0.1版本不存在
ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from deepseek-vl2) (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.6.0)
ERROR: No matching distribution found for torch==2.0.1
@HubHop commented on GitHub (Feb 7, 2025):
On Linux/Windows/MacOS, you can install by
Please check the official doc of PyTorch: https://pytorch.org/get-started/previous-versions/
@niktheod commented on GitHub (Mar 19, 2025):
I had the same issue when I ran
pip install -e .in an environment with python 3.12 (I thought it should be fine since they say python >= 3.8). But then I created a new environment with python 3.8 and it worked just fine.@CanIChangeName commented on GitHub (May 20, 2025):
have you resolved the issue?
@AbrarAhmad001 commented on GitHub (Jan 17, 2026):
anyone managed to resolve the issue?
@jmunetong commented on GitHub (Mar 5, 2026):
Here is what worked for me. I went to the
pyproject.tomlfile in the repository and then removed the required Pytorch version under dependencies to look like something as follows:dependencies = [ "torch", "transformers==4.38.2", "timm>=0.9.16", "xformers>=0.0.21", "accelerate", "sentencepiece", "attrdict", "einops", ]once I removed the required pytorch version, i ran
pip install -e .This solved the issue for me