You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't override torch_dtype and don't use when quantization_config is set (huggingface#11039)
* Don't use `torch_dtype` when `quantization_config` is set
* up
* djkajka
* Apply suggestions from code review
---------
Co-authored-by: Sayak Paul <[email protected]>
f"The repository for {pretrained_model_name} contains custom code in {'.py, '.join([os.path.join(k, v) fork,vincustom_components.items()])} which must be executed to correctly "
1460
-
f"load the model. You can inspect the repository content at {', '.join([f'https://hf.co/{pretrained_model_name}/{k}/{v}.py'fork,vincustom_components.items()])}.\n"
1459
+
f"The repository for {pretrained_model_name} contains custom code in {'.py, '.join([os.path.join(k, v) fork,vincustom_components.items()])} which must be executed to correctly "
1460
+
f"load the model. You can inspect the repository content at {', '.join([f'https://hf.co/{pretrained_model_name}/{k}/{v}.py'fork,vincustom_components.items()])}.\n"
1461
1461
f"Please pass the argument `trust_remote_code=True` to allow custom code to be run."
0 commit comments