-
Notifications
You must be signed in to change notification settings - Fork 551
Add openEuler based container image for vLLM Ascend #489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/source/quick_start.md
Outdated
| ``` | ||
| :::: | ||
|
|
||
| ::::{tab-item} OpenEuler OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ::::{tab-item} OpenEuler OS | |
| ::::{tab-item} openEuler OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
Yikun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can click below readthedocs CI to prereview: https://vllm-ascend--489.org.readthedocs.build/en/489/quick_start.html
| -p 8000:8000 \ | ||
| -it $IMAGE bash | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing: ::::
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
ZhengZhenyu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments inline
Dockerfile.openEuler
Outdated
| ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" | ||
|
|
||
| # Define environments | ||
| ENV DEBIAN_FRONTEND=noninteractive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is useless for openEuler image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
Dockerfile.openEuler
Outdated
|
|
||
| FROM quay.io/ascend/cann:8.0.0-910b-openeuler22.03-py3.10 | ||
|
|
||
| ARG PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use Tsinghua mirror? Seems github action is faster with original mirror
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
| jobs: | ||
|
|
||
| build: | ||
| name: vllm-ascend image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rename to a new one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
| type=ref,event=branch | ||
| type=ref,event=pr | ||
| type=pep440,pattern={{raw}}-openeuler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this should also be changed.
type=ref,event=branch ----> v0.7.3-dev / main (this should be changed)
type=ref,event=pr ----> pr
type=pep440,pattern={{raw}}-openeuler ---> v0.7.3rc2-openeuler
| type=ref,event=branch,suffix=-openeuler | ||
| type=ref,event=pr,suffix=-openeuler | ||
| type=pep440,pattern={{raw}}-openeuler | ||
| type=raw,value=latest-openeuler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| type=ref,event=branch,suffix=-openeuler | |
| type=ref,event=pr,suffix=-openeuler | |
| type=pep440,pattern={{raw}}-openeuler | |
| type=raw,value=latest-openeuler | |
| type=ref,event=branch,suffix=-openeuler | |
| type=ref,event=pr,suffix=-openeuler | |
| type=pep440,pattern={{raw}}-openeuler |
we don't need a latest tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
| ## Setup environment using container | ||
|
|
||
| :::::{tab-set} | ||
| ::::{tab-item} Ubuntu OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ::::{tab-item} Ubuntu OS | |
| ::::{tab-item} Ubuntu |
| ``` | ||
| :::: | ||
|
|
||
| ::::{tab-item} openEuler OS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ::::{tab-item} openEuler OS | |
| ::::{tab-item} openEuler |
| build-args: | | ||
| PIP_INDEX_URL=https://pypi.org/simple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified
Yikun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if you can run succesfully: https://vllm-ascend--489.org.readthedocs.build/en/489/quick_start.html
Please add your test results: How was this patch tested?
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
Signed-off-by: Icey <1790571317@qq.com>
测试报告如下: 测试命令:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Post CI works as well (with
main-openeuler): https://github.com/vllm-project/vllm-ascend/actions/runs/14373846953/job/40301777097 -
Doc is also OK: https://vllm-ascend.readthedocs.io/en/main/quick_start.html
🎉🥳 Thanks! @wxsIcey
### What this PR does / why we need it? There was a bug when we release v0.8.4rc1 (openEuler image tag was wrong set to 0.8.4rc1), according doc of docker-meta-action, it should be append suffix: ``` tags: | type=pep440,enable=true,priority=900,prefix=,suffix=,pattern=,value= ``` This patch just fix openEuler image suffix to make pep440 tag rule work. This patch also remove the cache step because the cache step bring more than 10mins export, but reduce less time in next trigger. ### Does this PR introduce _any_ user-facing change? Yes, docker image tag set to right ### How was this patch tested? I test with in my fork repo by setting default branch: - release a tag: v0.7.88rc1 (pep440 tag) - The log show `--label org.opencontainers.image.version=v0.7.88rc1-openeuler` is right rule https://github.com/Yikun/vllm-ascend/actions/runs/14560411481/job/40842950165#step:9:205 Related: #489 Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
### What this PR does / why we need it? Provide users with openEuler-based vllm images, so modify the quick start readme ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? There is no need for performing any test. --------- Signed-off-by: Icey <1790571317@qq.com>
### What this PR does / why we need it? There was a bug when we release v0.8.4rc1 (openEuler image tag was wrong set to 0.8.4rc1), according doc of docker-meta-action, it should be append suffix: ``` tags: | type=pep440,enable=true,priority=900,prefix=,suffix=,pattern=,value= ``` This patch just fix openEuler image suffix to make pep440 tag rule work. This patch also remove the cache step because the cache step bring more than 10mins export, but reduce less time in next trigger. ### Does this PR introduce _any_ user-facing change? Yes, docker image tag set to right ### How was this patch tested? I test with in my fork repo by setting default branch: - release a tag: v0.7.88rc1 (pep440 tag) - The log show `--label org.opencontainers.image.version=v0.7.88rc1-openeuler` is right rule https://github.com/Yikun/vllm-ascend/actions/runs/14560411481/job/40842950165#step:9:205 Related: vllm-project#489 Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
### What this PR does / why we need it? Provide users with openEuler-based vllm images, so modify the quick start readme ### Does this PR introduce _any_ user-facing change? None ### How was this patch tested? There is no need for performing any test. --------- Signed-off-by: Icey <1790571317@qq.com>
### What this PR does / why we need it? There was a bug when we release v0.8.4rc1 (openEuler image tag was wrong set to 0.8.4rc1), according doc of docker-meta-action, it should be append suffix: ``` tags: | type=pep440,enable=true,priority=900,prefix=,suffix=,pattern=,value= ``` This patch just fix openEuler image suffix to make pep440 tag rule work. This patch also remove the cache step because the cache step bring more than 10mins export, but reduce less time in next trigger. ### Does this PR introduce _any_ user-facing change? Yes, docker image tag set to right ### How was this patch tested? I test with in my fork repo by setting default branch: - release a tag: v0.7.88rc1 (pep440 tag) - The log show `--label org.opencontainers.image.version=v0.7.88rc1-openeuler` is right rule https://github.com/Yikun/vllm-ascend/actions/runs/14560411481/job/40842950165#step:9:205 Related: vllm-project#489 Signed-off-by: Yikun Jiang <yikunkero@gmail.com>


What this PR does / why we need it?
Provide users with openEuler-based vllm images, so modify the quick start readme
Does this PR introduce any user-facing change?
None
How was this patch tested?
1. Run the image:
export DEVICE=/dev/davinci4export IMAGE=quay.io/ascend/vllm-ascend:main-openeulerdocker run --rm \ --name vllm-ascend \ --device $DEVICE \ --device /dev/davinci_manager \ --device /dev/devmm_svm \ --device /dev/hisi_hdc \ -v /usr/local/dcmi:/usr/local/dcmi \ -v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \ -v /usr/local/Ascend/driver/lib64/:/usr/local/Ascend/driver/lib64/ \ -v /usr/local/Ascend/driver/version.info:/usr/local/Ascend/driver/version.info \ -v /etc/ascend_install.info:/etc/ascend_install.info \ -v /root/.cache:/root/.cache \ -it $IMAGE bash2. Test offline script
3. Results