Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit bd8ff07

Browse files
committed
update gguf model loading
1 parent 28c02bd commit bd8ff07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchchat/utils/gguf_loader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def _convert_gguf_tensor_name_to_llama_nn(gguf_name: str) -> str:
4747
result = copy.deepcopy(gguf_name)
4848
for gguf_string, replacement in _name_replacements:
4949
result = result.replace(gguf_string, replacement)
50-
result = "model." + result
5150
return result
5251

5352

0 commit comments

Comments
 (0)