Update loader.py

This commit is contained in:
Etherll 2025-07-28 20:53:38 +03:00 committed by GitHub
commit 3275552160

View file

@ -858,7 +858,7 @@ class FastModel(FastBaseModel):
trust_remote_code = trust_remote_code,
)
# Patch it as well!
model = FastBaseModel.post_patch_model(model, use_gradient_checkpointing)
model = FastBaseModel.post_patch_model(model, use_gradient_checkpointing,trust_remote_code = trust_remote_code)
pass
return model, tokenizer
pass