We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e3350 commit 5774158Copy full SHA for 5774158
convert_hf_to_gguf_update.py
@@ -198,7 +198,7 @@ def download_model(model):
198
def get_existing_models(convert_py):
199
pattern = r'if chkhsh == "([a-f0-9]{64})":\s*\n\s*.*\s*res = "([^"]+)"'
200
matches = re.findall(pattern, convert_py)
201
- output = OrderedDict() # make sure order is preserved
+ output = {}
202
for chkhsh, res in matches:
203
output[res] = chkhsh
204
return output
0 commit comments