We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e794fbe commit e5566f9Copy full SHA for e5566f9
Dockerfile.cuda
@@ -97,6 +97,10 @@ RUN rm /app/.venv/bin/python3.12 && ln -s /usr/local/bin/python /app/.venv/bin/p
97
# Place executables in the environment at the front of the path
98
ENV PATH="/app/.venv/bin:$PATH"
99
100
+# HuggingFace Hub timeouts (defaults are 10s which causes issues on slow networks)
101
+ENV HF_HUB_ETAG_TIMEOUT=500
102
+ENV HF_HUB_DOWNLOAD_TIMEOUT=300
103
+
104
# Use entrypoint for setup (ulimit, etc) but default to sleep infinity for K8s
105
ENTRYPOINT ["/app/docker-entrypoint.sh"]
106
CMD ["sleep", "infinity"]
0 commit comments