Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update __init__.py

Daniel Hane43babe76fce
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index 58c2a19814a..fdaf7b483a2 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -60,9 +60,13 @@ keynames = "\n" + "\n".join(os.environ.keys())
if "HF_XET_HIGH_PERFORMANCE" not in os.environ:
os.environ["HF_XET_HIGH_PERFORMANCE"] = "1"
pass
-if "\nCOLAB_" in keynames:
+# Disable XET cache sine it eats too much space
+if "HF_XET_CHUNK_CACHE_SIZE_BYTES" not in os.environ:
os.environ["HF_XET_CHUNK_CACHE_SIZE_BYTES"] = "0"
pass
+if "\nCOLAB_" in keynames:
+ os.environ["HF_XET_RECONSTRUCT_WRITE_SEQUENTIALLY"] = "0"
+pass
# Log Unsloth is being used
os.environ["UNSLOTH_IS_PRESENT"] = "1"