MyGit

v0.4.2

InternLM/lmdeploy

版本发布时间: 2024-05-27 16:56:15

InternLM/lmdeploy最新发布版本:v0.6.0a0(2024-08-26 17:12:19)

Highlight

Quantization

lmdeploy lite auto_awq OpenGVLab/InternVL-Chat-V1-5 --work-dir ./InternVL-Chat-V1-5-AWQ

Inference with quantized model

from lmdeploy import pipeline, TurbomindEngineConfig
from lmdeploy.vl import load_image

pipe = pipeline('./InternVL-Chat-V1-5-AWQ', backend_config=TurbomindEngineConfig(tp=1, model_format='awq'))

img = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
out = pipe(('describe this image', img))
print(out)
from lmdeploy import pipeline, TurbomindEngineConfig
from lmdeploy.vl import load_image

pipe = pipeline('OpenGVLab/InternVL-Chat-V1-5', backend_config=TurbomindEngineConfig(tp=2))

img = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
out = pipe(('describe this image', img))
print(out)

What's Changed

🚀 Features

💥 Improvements

🐞 Bug fixes

📚 Documentations

🌐 Other

New Contributors

Full Changelog: https://github.com/InternLM/lmdeploy/compare/v0.4.1...v0.4.2

相关地址:原始地址 下载(tar) 下载(zip)

1、 lmdeploy-0.4.2+cu118-cp310-cp310-manylinux2014_x86_64.whl 70.59MB

2、 lmdeploy-0.4.2+cu118-cp310-cp310-win_amd64.whl 48.61MB

3、 lmdeploy-0.4.2+cu118-cp311-cp311-manylinux2014_x86_64.whl 70.61MB

4、 lmdeploy-0.4.2+cu118-cp311-cp311-win_amd64.whl 48.61MB

5、 lmdeploy-0.4.2+cu118-cp312-cp312-manylinux2014_x86_64.whl 70.62MB

6、 lmdeploy-0.4.2+cu118-cp312-cp312-win_amd64.whl 48.61MB

7、 lmdeploy-0.4.2+cu118-cp38-cp38-manylinux2014_x86_64.whl 70.61MB

8、 lmdeploy-0.4.2+cu118-cp38-cp38-win_amd64.whl 48.61MB

9、 lmdeploy-0.4.2+cu118-cp39-cp39-manylinux2014_x86_64.whl 70.59MB

10、 lmdeploy-0.4.2+cu118-cp39-cp39-win_amd64.whl 48.6MB

查看:2024-05-27发行的版本