Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/ascend/Dockerfile.ascend_8.2.rc1_a2
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ RUN ARCH=$(uname -m) && \
cd vllm-ascend && pip install -v -e . && cd .. && \
# Install MindSpeed & Megatron
pip install -e MindSpeed && \
echo "export PYTHONPATH=\$PYTHONPATH:/Megatron-LM" >> ~/.bashrc && \
# Clear extra files
rm -rf /tmp/* /var/tmp/* && \
pip cache purge

ENV PYTHONPATH="/Megatron-LM${PYTHONPATH:+:${PYTHONPATH}}"

# Prepare and install verl (update frequently)
RUN git clone --depth 1 https://github.com/volcengine/verl.git && \
cd verl && pip install -r requirements-npu.txt && pip install -v -e . && cd .. && \
Expand Down
3 changes: 2 additions & 1 deletion docker/ascend/Dockerfile.ascend_8.2.rc1_a3
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ RUN ARCH=$(uname -m) && \
cd vllm-ascend && pip install -v -e . && cd .. && \
# Install MindSpeed & Megatron
pip install -e MindSpeed && \
echo "export PYTHONPATH=\$PYTHONPATH:/Megatron-LM" >> ~/.bashrc && \
# Clear extra files
rm -rf /tmp/* /var/tmp/* && \
pip cache purge

ENV PYTHONPATH="/Megatron-LM${PYTHONPATH:+:${PYTHONPATH}}"

# Prepare and install verl (update frequently)
RUN git clone --depth 1 https://github.com/volcengine/verl.git && \
cd verl && pip install -r requirements-npu.txt && pip install -v -e . && cd .. && \
Expand Down
3 changes: 2 additions & 1 deletion docker/ascend/Dockerfile.ascend_8.3.rc1_a2
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ RUN ARCH=$(uname -m) && \
cd vllm-ascend && pip install -v -e . && cd .. && \
# Install MindSpeed & Megatron
pip install -e MindSpeed && \
echo "export PYTHONPATH=\$PYTHONPATH:/Megatron-LM" >> ~/.bashrc && \
# Remove existing triton or triton-ascend installed by some third-party packages
pip uninstall -y triton triton-ascend && \
# Install mbridge
Expand All @@ -50,6 +49,8 @@ RUN ARCH=$(uname -m) && \
rm -rf /tmp/* /var/tmp/* && \
pip cache purge

ENV PYTHONPATH="/Megatron-LM${PYTHONPATH:+:${PYTHONPATH}}"

# Prepare and install verl (update frequently)
RUN git clone --depth 1 https://github.com/volcengine/verl.git && \
cd verl && pip install -r requirements-npu.txt && pip install -v -e . && cd .. && \
Expand Down
3 changes: 2 additions & 1 deletion docker/ascend/Dockerfile.ascend_8.3.rc1_a3
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ RUN ARCH=$(uname -m) && \
cd vllm-ascend && pip install -v -e . && cd .. && \
# Install MindSpeed & Megatron
pip install -e MindSpeed && \
echo "export PYTHONPATH=\$PYTHONPATH:/Megatron-LM" >> ~/.bashrc && \
# Remove existing triton or triton-ascend installed by some third-party packages
pip uninstall -y triton triton-ascend && \
# Install mbridge
Expand All @@ -50,6 +49,8 @@ RUN ARCH=$(uname -m) && \
rm -rf /tmp/* /var/tmp/* && \
pip cache purge

ENV PYTHONPATH="/Megatron-LM${PYTHONPATH:+:${PYTHONPATH}}"

# Prepare and install verl (update frequently)
RUN git clone --depth 1 https://github.com/volcengine/verl.git && \
cd verl && pip install -r requirements-npu.txt && pip install -v -e . && cd .. && \
Expand Down
Loading