Unverified Commit 45ab403a authored by Mathieu Borderé's avatar Mathieu Borderé Committed by GitHub
Browse files

config.py: Clarify that only local GGUF checkpoints are supported. (#18623)


Signed-off-by: default avatarMathieu Bordere <mathieu@letmetweakit.com>
parent 2b10ba74
...@@ -300,7 +300,10 @@ def get_config( ...@@ -300,7 +300,10 @@ def get_config(
" - For Hugging Face models: ensure the presence of a " " - For Hugging Face models: ensure the presence of a "
"'config.json'.\n" "'config.json'.\n"
" - For Mistral models: ensure the presence of a " " - For Mistral models: ensure the presence of a "
"'params.json'.\n").format(model=model) "'params.json'.\n"
"3. For GGUF: pass the local path of the GGUF checkpoint.\n"
" Loading GGUF from a remote repo directly is not yet "
"supported.\n").format(model=model)
raise ValueError(error_message) from e raise ValueError(error_message) from e
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment