unsloth/docker
Daniel Han 2c316862f8 docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim)
- docker-publish smoke + docker_confirm.sh probe Jupyter /login, not /api: the
  launcher always configures a password hash so /api returns 403 and curl -f
  would never flip the health flag (false build failure).
- entrypoint.sh CPU messaging: CPU mode covers Jupyter, GGUF tooling and
  llama.cpp (GGUF) Studio chat; training AND loading an Unsloth model
  (FastLanguageModel) still need a GPU, since from_pretrained runs CUDA probes.
- install_llama_prebuilt.py: rollback/activation moves used bare os.replace,
  which fails with EXDEV across overlayfs in a Docker build and fell back to a
  broken source build (no nvcc). Add is_cross_device_error + move_install_dir_aside
  (os.replace fast path, copy+remove on EXDEV; busy errors still re-raise).
- notebooks: %pip / %uv line magics and the `!python -m pip` form bypassed the
  PATH pip/uv shim and could overwrite the baked cu128 torch/vLLM stack. Add
  unsloth_nb_pip_magic.py to re-point them at the shim, wired via the IPython
  startup hook and installed into the venv site-packages.
2026-06-27 08:46:47 +00:00
..
.dockerignore docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +00:00
build.sh docker: track latest llama.cpp release + show its update banner in Studio 2026-06-24 01:21:17 +00:00
docker_confirm.ps1 docker_confirm: accept locally built images when pull fails 2026-06-12 18:06:40 +00:00
docker_confirm.sh docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +00:00
Dockerfile docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +00:00
Dockerfile.studio docker: address review round 3 (notebook -r filter, studio zoo ref, pinned notebooks commit) 2026-06-26 10:51:51 +00:00
entrypoint.sh docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +00:00
fetch_llama_prebuilt.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-26 05:42:43 +00:00
freeze.sh Add Docker build for Blackwell that runs on any NVIDIA GPU host 2026-05-24 06:52:58 +00:00
hf_pull.sh hf_{push,pull}.sh: use new hf CLI, fall back to deprecated huggingface-cli 2026-05-24 09:40:22 +00:00
hf_push.sh hf_{push,pull}.sh: use new hf CLI, fall back to deprecated huggingface-cli 2026-05-24 09:40:22 +00:00
run.sh docker: review fixes from the 8-reviewer pass and staging CI 2026-06-12 05:31:24 +00:00
setup_qemu.sh Add linux/arm64 (DGX Spark / Grace) support via QEMU at build time 2026-05-24 10:34:59 +00:00
smoke_test.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-12 04:35:41 +00:00
studio_launch.sh docker: optional Cloudflare tunnel for JupyterLab (UNSLOTH_JUPYTER_CLOUDFLARE) 2026-06-24 09:55:11 +00:00
supervisord.conf docker: optional Cloudflare tunnel for JupyterLab (UNSLOTH_JUPYTER_CLOUDFLARE) 2026-06-24 09:55:11 +00:00
test_locally.sh docker: review fixes from the 8-reviewer pass and staging CI 2026-06-12 05:31:24 +00:00
unsloth_ipython_startup.py docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +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: add unsloth-llama-update for in-place llama.cpp prebuilt updates 2026-06-24 06:41:33 +00:00
unsloth_nb_compat.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-15 03:13:48 +00:00
unsloth_nb_content_sig.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-16 03:49:07 +00:00
unsloth_nb_pip_magic.py docker: address review round 4 (jupyter probe, CPU messaging, llama EXDEV, %pip shim) 2026-06-27 08:46:47 +00:00
unsloth_pip_shim.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-26 11:42:14 +00:00
unsloth_run.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2026-06-15 03:13:48 +00:00
unsloth_studio_update.sh docker: address review follow-ups (pip-shim flags, sync ownership, tags, zoo ref, arch list) 2026-06-26 09:06:39 +00:00
unsloth_sync_notebooks.sh docker: address review follow-ups (pip-shim flags, sync ownership, tags, zoo ref, arch list) 2026-06-26 09:06:39 +00:00