From 01d3794828dd07c733405f8b53e6816af99b8958 Mon Sep 17 00:00:00 2001 From: DoubleMathew Date: Fri, 7 Nov 2025 16:16:35 -0600 Subject: [PATCH] add trust_remote_code kwarg (#3564) --- unsloth/models/vision.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index b64e50b542..137f23919c 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -640,6 +640,7 @@ class FastBaseModel: model_name, token = token, attn_implementation = "sdpa" if supports_sdpa else "eager", + trust_remote_code = trust_remote_code, ) verify_fp8_support_if_applicable(model_config)