From 95e80ceea55264157bb9606d800cafb44ff4e374 Mon Sep 17 00:00:00 2001 From: Xander Hawthorne <167850078+CuppaXanax@users.noreply.github.com> Date: Mon, 17 Mar 2025 13:56:35 -0700 Subject: [PATCH] Ensure trust_remote_code propegates down to unsloth_compile_transformers --- unsloth/models/loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 44475780af..af526b5184 100644 --- a/unsloth/models/loader.py +++ b/unsloth/models/loader.py @@ -644,6 +644,7 @@ def from_pretrained( import_from_cache = False, disable = False, return_logits = return_logits, + trust_remote_code = trust_remote_code, ) pass