Dummy modification.

This commit is contained in:
Nicolas Patry 2024-04-05 08:32:25 +00:00
parent 96846f633a
commit e2c870c216

View File

@ -254,7 +254,7 @@ def download_weights(
warnings.warn( warnings.warn(
f"🚨🚨BREAKING CHANGE in 2.0🚨🚨: Safetensors conversion is disabled without `--trust-remote-code` because " f"🚨🚨BREAKING CHANGE in 2.0🚨🚨: Safetensors conversion is disabled without `--trust-remote-code` because "
f"Pickle files are unsafe and can essentially contain remote code execution." f"Pickle files are unsafe and can essentially contain remote code execution!"
f"Please check for more information here: https://huggingface.co/docs/text-generation-inference/basic_tutorials/safety", f"Please check for more information here: https://huggingface.co/docs/text-generation-inference/basic_tutorials/safety",
UserWarning, UserWarning,
) )