From 0738eac901b36270c1e4a54ada2bf566cdca0050 Mon Sep 17 00:00:00 2001 From: Xander Hawthorne <167850078+CuppaXanax@users.noreply.github.com> Date: Mon, 17 Mar 2025 21:43:47 -0700 Subject: [PATCH] Ensure trust_remote_code propegates down to unsloth_compile_transformers (#2075) --- unsloth/models/loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 1861a7107d..a417982faa 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