Skip to content

update ascend dockerfile#1679

Merged
tastelikefeet merged 1 commit into
modelscope:masterfrom
addsubmuldiv:master
Apr 17, 2026
Merged

update ascend dockerfile#1679
tastelikefeet merged 1 commit into
modelscope:masterfrom
addsubmuldiv:master

Conversation

@addsubmuldiv
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 07:02
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docker/Dockerfile.ascend
Comment thread docker/Dockerfile.ascend
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.ascend to (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, .bashrc sourcing, WORKDIR, and default CMD).

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.

Comment thread docker/Dockerfile.ascend
Comment thread docker/Dockerfile.ascend
@tastelikefeet tastelikefeet merged commit 55af6ce into modelscope:master Apr 17, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants