Add -y flag to pip uninstall pynvml for non-interactive Docker build
This commit is contained in:
@@ -198,7 +198,7 @@ RUN wget ${NSYS_URL}${NSYS_PKG} && dpkg -i $NSYS_PKG && rm $NSYS_PKG
|
||||
RUN apt install -y --no-install-recommends tmux cmake
|
||||
|
||||
# Deprecated cleanup
|
||||
RUN pip uninstall pynvml && pip install nvidia-ml-py
|
||||
RUN pip uninstall -y pynvml && pip install nvidia-ml-py
|
||||
|
||||
# API server entrypoint
|
||||
# ENTRYPOINT ["vllm", "serve"]
|
||||
|
||||
Reference in New Issue
Block a user