You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN cd /workspace/ktransformers/ktransformers/website/public && rm -rf config.js && wget https://github.com/IAMJOYBO/ktransformers/raw/refs/heads/main/config.js
@@ -68,24 +41,20 @@ RUN CPU_INSTRUCT=${CPU_INSTRUCT} \
68
41
TORCH_CUDA_ARCH_LIST="8.0;8.6;8.7;8.9;9.0+PTX" \
69
42
pip install . --no-build-isolation --verbose
70
43
71
-
RUN pip install third_party/custom_flashinfer/
72
-
# 清理 pip 缓存
73
-
RUN pip cache purge
44
+
RUN pip install third_party/custom_flashinfer/ && pip cache purge
74
45
75
46
# 拷贝 C++ 运行时库
76
47
RUN cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/conda/lib/
77
48
78
-
# 安装部分个人使用的工具
79
-
RUN apt install -y net-tools tree vim curl git git-lfs neofetch
80
49
# apt修改为国内源
81
50
RUN rm -rf /etc/apt/sources.list && wget https://github.com/IAMJOYBO/ktransformers/raw/refs/heads/main/sources-20.04.list -O /etc/apt/sources.list
82
51
RUN pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
83
52
84
53
# 预下载的配置文件
85
-
RUN pip install huggingface_hub modelscope
86
-
RUN huggingface-cli download deepseek-ai/DeepSeek-R1 --exclude *.safetensors --local-dir /app/model/DeepSeek-R1
87
-
RUN huggingface-cli download deepseek-ai/DeepSeek-V3-0324 --exclude *.safetensors --local-dir /app/model/DeepSeek-V3-0324
88
-
RUN huggingface-cli download deepseek-ai/DeepSeek-V2-Lite-Chat --exclude *.safetensors --local-dir /app/model/DeepSeek-V2-Lite-Chat
54
+
# RUN pip install huggingface_hub modelscope
55
+
# RUN huggingface-cli download deepseek-ai/DeepSeek-R1 --exclude *.safetensors --local-dir /app/model/DeepSeek-R1
56
+
# RUN huggingface-cli download deepseek-ai/DeepSeek-V3-0324 --exclude *.safetensors --local-dir /app/model/DeepSeek-V3-0324
57
+
# RUN huggingface-cli download deepseek-ai/DeepSeek-V2-Lite-Chat --exclude *.safetensors --local-dir /app/model/DeepSeek-V2-Lite-Chat
0 commit comments