update ascend dockerfile#1679
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the Dockerfile.ascend to utilize a prebuilt vllm-ascend base image and optimizes the build process by configuring environment variables and refining dependency installation steps. The feedback focuses on consolidating multiple pip install commands and using absolute paths for editable installations to reduce build overhead and improve maintainability.
There was a problem hiding this comment.
Pull request overview
Updates the Ascend Docker image build to reuse a prebuilt vllm-ascend base image and simplifies the Ascend Dockerfile by removing previously inlined stack builds/installs and adding only the extra repositories/dependencies needed on top.
Changes:
- Switch Ascend default base image to
quay.io/ascend/vllm-ascend:v0.14.0rc1-a3. - Refactor
docker/Dockerfile.ascendto (a) set bash as the default shell, (b) install system deps, and (c) clone/install only required repos (MindSpeed, Megatron-LM, ms-swift, mcore-bridge). - Add runtime conveniences (env vars,
.bashrcsourcing,WORKDIR, and defaultCMD).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docker/build_image.py | Updates Ascend builder default base image to a prebuilt vllm-ascend image. |
| docker/Dockerfile.ascend | Reworks Ascend Dockerfile to build on the new base image and reduce rebuild steps by adding only needed components. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.