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.

Ensure trust_remote_code propegates down to unsloth_compile_transformers (#2075)

Xander Hawthorne04bcab022c72
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index 1861a7107da..a417982faae 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -679,6 +679,7 @@ class FastModel(FastBaseModel):
import_from_cache = False,
disable = False,
return_logits = return_logits,
+ trust_remote_code = trust_remote_code,
)
pass