mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
convert : add pre-computed hashes first to prevent order mishaps (#14701)
This commit is contained in:
parent
79e0b68c17
commit
cf91f217f1
2 changed files with 31 additions and 31 deletions
|
@ -232,7 +232,7 @@ for model in models:
|
|||
# generate the source code for the convert_hf_to_gguf.py:get_vocab_base_pre() function:
|
||||
|
||||
src_ifs = ""
|
||||
for model in [*all_models, *pre_computed_hashes]:
|
||||
for model in [*pre_computed_hashes, *all_models]:
|
||||
name = model["name"]
|
||||
tokt = model["tokt"]
|
||||
chkhsh = model.get("chkhsh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue