Update _utils.py

This commit is contained in:
Daniel Han 2025-03-19 08:31:00 -07:00
commit 72c8da199a

View file

@ -1175,9 +1175,11 @@ def unsloth_compile_transformers(
"so turning off some optimizations!"
)
return
print(disable)
if disable: return
model_types = list(dict().fromkeys(model_types).keys())
print(model_types)
for model_type in model_types:
_unsloth_compile_transformers(
model_type,