From d35cf1633a6b1e91eaf11bbf855a3f8a125344f4 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 1 Jul 2025 02:49:48 -0700 Subject: [PATCH] Update vision.py --- unsloth/models/vision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index 39ff1fd2bb..ed9b7be620 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -364,8 +364,8 @@ class FastBaseModel: correct_dtype = bnb_compute_dtype custom_datatype = _custom_datatype # Execute code as well - if len(execute_code.strip()) != 0: - exec(execute_code) + # if len(execute_code.strip()) != 0: + # exec(execute_code) else: custom_datatype = None correct_dtype = None