lmdeploy[all]==0.3.0安装是否只能在linux下进行

Open
#630 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, pytorch

Research direction

No source files or tests are named in the issue. Start by inspecting the lmdeploy 0.3.0 dependency metadata and the Windows installation path, focusing on the triton requirement; done means establishing whether Windows is supported and documenting or implementing a supported installation path.

Written by the indexing model from the issue text.

Description

你好,lmdeploy[all]==0.3.0安装是否只能在linux下进行?windows下报这个错,然后我从网上找到的triton都是linux版本的

(lmdeploy) PS D:\pythonworkspace\MyPET> pip install lmdeploy[all]==0.3.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting lmdeploy==0.3.0 (from lmdeploy[all]==0.3.0)
Downloading https://mirrors.aliyun.com/pypi/packages/2e/7c/b616d7485c4b81b2fe0a6a734548697d25293d5468210aafbf371d24a790/lmdeploy-0.3.0-cp310-cp310-win_amd64.whl (56.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 5.3 MB/s eta 0:00:00
Requirement already satisfied: fastapi in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.110.1)
Requirement already satisfied: fire in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.6.0)
Requirement already satisfied: mmengine-lite in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.10.3)
Requirement already satisfied: numpy in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (1.26.4)
Collecting peft<=0.9.0 (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0)
Downloading https://mirrors.aliyun.com/pypi/packages/08/87/3e7eb34ac06d3f4ac72e2302e9e69bef12247a8a627c59a4d8a498135727/peft-0.9.0-py3-none-any.whl (190 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.9/190.9 kB 3.9 MB/s eta 0:00:00
Requirement already satisfied: pillow in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (10.3.0)
Requirement already satisfied: protobuf in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (4.25.3)
Requirement already satisfied: pydantic>2.0.0 in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (2.6.4)
Requirement already satisfied: pynvml in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (11.5.0)
Requirement already satisfied: safetensors in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.4.2)
Requirement already satisfied: sentencepiece in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.2.0)
Requirement already satisfied: shortuuid in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (1.0.13)
Requirement already satisfied: tiktoken in d:\program\anaconda\envs\lmdeploy\lib\site-packages (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0) (0.6.0)
Collecting torch<=2.1.2,>=2.0.0 (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0)
Downloading https://mirrors.aliyun.com/pypi/packages/16/bf/2ba0f0f7c07b9a14c027e181e44c58824e13f7352607ed32db18321599a2/torch-2.1.2-cp310-cp310-win_amd64.whl (192.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 192.3/192.3 MB 7.3 MB/s eta 0:00:00
Collecting transformers<=4.38.2,>=4.33.0 (from lmdeploy==0.3.0->lmdeploy[all]==0.3.0)
Downloading https://mirrors.aliyun.com/pypi/packages/b6/4d/fbe6d89fde59d8107f0a02816c4ac4542a8f9a85559fdf33c68282affcc1/transformers-4.38.2-py3-none-any.whl (8.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.5/8.5 MB 7.7 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of lmdeploy to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement triton<=2.2.0,>=2.1.0 (from lmdeploy) (from versions: none)
ERROR: No matching distribution found for triton<=2.2.0,>=2.1.0

Dominant language
Python
Stars
2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InternLM/Tutorial

All issues in InternLM/Tutorial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.