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 (#1520)

sebaxakerhtc71ca60c7f09f
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index bbeded9fc69..d460432bbb5 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -48,9 +48,11 @@ pass
# And optimize pinning of memory
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = \
"expandable_segments:True,"\
- "roundup_power2_divisions:[32:256,64:128,256:64,>:32],"\
- "pinned_use_cuda_host_register:True,"\
- "pinned_num_register_threads:8"
+ "roundup_power2_divisions:[32:256,64:128,256:64,>:32]"
+
+# [TODO] Check why some GPUs don't work
+# "pinned_use_cuda_host_register:True,"\
+# "pinned_num_register_threads:8"
# Hugging Face Hub faster downloads
if "HF_HUB_ENABLE_HF_TRANSFER" not in os.environ: