The offical vLLM Ascend docker images
Maintained by: openEuler CloudNative SIG
Where to get help: openEuler CloudNative SIG, openEuler
Current vLLM docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
vLLM is a fast and easy-to-use library for LLM inference and serving.
Originally developed in the Sky Computing Lab at UC Berkeley, vLLM has evolved into a community-driven project with contributions from both academia and industry.
vLLM is fast with:
Read more about vLLM at vLLM paper (SOSP 2023) and explore the vLLM technical documentation at docs.vllm.ai
The tag of each vLLM docker image is consist of the version of vLLM and the version of basic image. The details are as follows
| Tags | Currently | Architectures |
|---|---|---|
| 0.23.0-oe2403sp4 | vllm 0.23.0 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| 0.23.0-oe2403sp3 | vllm 0.23.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 0.20.1-oe2403sp3 | vllm 0.20.1 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 0.18.0-oe2403sp3 | vllm 0.18.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 0.16.0-oe2403sp3 | vllm 0.16.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
| 0.6.3-oe2403lts | vLLM 0.6.3 on openEuler 24.03-LTS | amd64 |
| 0.8.3-oe2203sp4 | vLLM 0.8.3 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 0.8.3-oe2403lts | vLLM 0.8.3 on openEuler 24.03-LTS | amd64, arm64 |
| 0.8.4-oe2203sp4 | vLLM 0.8.4 on openEuler 22.03-LTS-SP4 | amd64 |
| 0.8.4-oe2403lts | vLLM 0.8.4 on openEuler 24.03-LTS | amd64 |
| 0.8.5-oe2203sp4 | vLLM 0.8.5 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 0.8.5-oe2403lts | vLLM 0.8.5 on openEuler 24.03-LTS | amd64, arm64 |
| 0.9.0-oe2203sp4 | vLLM 0.9.0 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 0.9.0-oe2403lts | vLLM 0.9.0 on openEuler 24.03-LTS | amd64, arm64 |
| 0.9.1-oe2203sp4 | vLLM 0.9.1 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 0.9.1-oe2403lts | vLLM 0.9.1 on openEuler 24.03-LTS | amd64, arm64 |
| 0.10.1-oe2203sp4 | vLLM 0.10.1 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 0.10.1-oe2403lts | vLLM 0.10.1 on openEuler 24.03-LTS | amd64, arm64 |
| 0.14.0-oe2403sp3 | vllm 0.14.0 on openEuler 24.03-LTS-SP3 | amd64, arm64 |
# Update the vllm image
docker run --rm --name vllm -p 8000:8000 -it --entrypoint bash openeuler/vllm-cpu:latest
You can use Modelscope mirror to speed up download:
export VLLM_USE_MODELSCOPE=true
With vLLM installed, you can start generating texts for list of input prompts (i.e. offline batch inferencing).
Try to run below Python script directly or use python3 shell to generate texts:
from vllm import LLM, SamplingParams
prompts = [
"Hello, my name is",
"The future of AI is",
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
# The first run will take about 3-5 mins (10 MB/s) to download models
llm = LLM(model="Qwen/Qwen3-8B")
outputs = llm.generate(prompts, sampling_params)
for output in outputs:
prompt = output.prompt
generated_text = output.outputs[0].text
print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.
Content type
Image
Digest
sha256:a544c4ee3…
Size
2.4 GB
Last updated
8 days ago
docker pull openeuler/vllm-cpuPulls:
2,385
Jul 6 to Jul 12