Update _utils.py

This commit is contained in:
Daniel Han 2024-11-26 03:09:32 -08:00
commit d3b147b491

View file

@ -1142,14 +1142,14 @@ def unsloth_compile_transformers(
pass
if disable: return
print(model_name)
model_types = get_transformers_model_type(
model_name = model_name,
token = token,
revision = revision,
trust_remote_code = trust_remote_code,
)
print(model_types)
for model_type in model_types:
_unsloth_compile_transformers(
model_type,