unsloth/docker
Daniel Han f19ef1cfd2 docker: detach the notebook network refresh from container startup
The GitHub refresh phase ran synchronously in the entrypoint's notebook
sync, so an offline or slow network could hold container startup for up
to two fetch timeouts (ls-remote + clone, about two minutes at the
defaults) despite the sync being described as non-blocking. The local
template populate and the categorized view still run in the foreground;
the refresh now re-enters itself as a detached child (guarded by a flag
so it forks once), whose phase-1 pass no-ops via the hash state and
whose finalize is idempotent. Verified with an unreachable remote and
an 8 second timeout: the parent returns in under a second with the
notebooks populated while the child owns the waiting.
2026-07-20 06:04:49 +00:00
..
jupyter docker: tighten comments 2026-07-19 15:32:20 +00:00
.dockerignore docker: Colab-grade JupyterLab and Studio UX for the Unsloth image (#6681) 2026-07-06 08:27:00 -07:00
build.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
Dockerfile docker: tighten comments 2026-07-19 15:32:20 +00:00
Dockerfile.studio docker: tighten comments 2026-07-19 15:32:20 +00:00
entrypoint.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
fetch_llama_prebuilt.py docker: tighten comments 2026-07-19 15:32:20 +00:00
NOTICE docker: Colab-grade JupyterLab and Studio UX for the Unsloth image (#6681) 2026-07-06 08:27:00 -07:00
run.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
smoke_test.py docker: tighten comments 2026-07-19 15:32:20 +00:00
studio_launch.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
supervisord.conf docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_colab_compat.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_ipython_startup.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_jupyter_tunnel.sh docker: optional Cloudflare tunnel for JupyterLab (UNSLOTH_JUPYTER_CLOUDFLARE) 2026-06-24 09:55:11 +00:00
unsloth_llama_update.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_nb_compat.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_nb_content_sig.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_nb_pip_magic.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_nb_strip_colab.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_nb_view.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_pip_shim.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_run.py docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_studio_update.sh docker: tighten comments 2026-07-19 15:32:20 +00:00
unsloth_sync_notebooks.sh docker: detach the notebook network refresh from container startup 2026-07-20 06:04:49 +00:00