Merge remote-tracking branch 'origin/docker-blackwell-build' into pr-jupyter-studio-ux

# Conflicts:
#	docker/Dockerfile
This commit is contained in:
Daniel Han 2026-06-27 08:48:25 +00:00
commit 9cd19515ca
8 changed files with 140 additions and 18 deletions

View file

@ -16,6 +16,13 @@ try:
import unsloth_nb_compat
unsloth_nb_compat.register_ipython()
# Re-point the %pip / %uv line magics and `!python -m pip` at the same shim,
# so the in-process / module install paths cannot bypass the PATH shim and
# overwrite the baked torch/vLLM stack. Independent of the sidecar hook.
import unsloth_nb_pip_magic
unsloth_nb_pip_magic.register_ipython()
except Exception as _e: # never break a kernel because of the helper
import sys
print(f"[unsloth-nb] startup hook skipped: {_e!r}", file = sys.stderr)