Update vision.py

This commit is contained in:
Daniel Han 2025-07-01 02:49:48 -07:00
commit d35cf1633a

View file

@ -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