Skip to content

Commit 5774158

Browse files
authored
Update convert_hf_to_gguf_update.py
1 parent 85e3350 commit 5774158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def download_model(model):
198198
def get_existing_models(convert_py):
199199
pattern = r'if chkhsh == "([a-f0-9]{64})":\s*\n\s*.*\s*res = "([^"]+)"'
200200
matches = re.findall(pattern, convert_py)
201-
output = OrderedDict() # make sure order is preserved
201+
output = {}
202202
for chkhsh, res in matches:
203203
output[res] = chkhsh
204204
return output

0 commit comments

Comments
 (0)