mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 04:01:10 +01:00
fix swift docker
This commit is contained in:
@@ -353,7 +353,7 @@ class SwiftImageBuilder(LLMImageBuilder):
|
||||
extra_content = extra_content.replace('{python_version}',
|
||||
self.args.python_version)
|
||||
extra_content += """
|
||||
RUN pip install --no-cache-dir deepspeed==0.14.5 --no-deps \
|
||||
RUN pip install --no-cache-dir deepspeed==0.14.5 --no-deps && \
|
||||
pip install --no-cache-dir -U icecream soundfile pybind11 && \
|
||||
SITE_PACKAGES=$(python -c "import site; print(site.getsitepackages()[0])") && \
|
||||
CUDNN_PATH=$SITE_PACKAGES/nvidia/cudnn CPLUS_INCLUDE_PATH=$SITE_PACKAGES/nvidia/cudnn/include \
|
||||
|
||||
Reference in New Issue
Block a user