Skip to content

Commit f519e81

Browse files
committed
convert.py: add mapping for safetensors bf16
Fixes ggml-org#1473
1 parent ac7876a commit f519e81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

convert.py

+1
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,7 @@ def lazy_load_torch_file(outer_fp: IO[bytes], path: Path) -> ModelPlus:
739739

740740

741741
SAFETENSORS_DATA_TYPES: Dict[str, DataType] = {
742+
'BF16': DT_BF16,
742743
'F16': DT_F16,
743744
'F32': DT_F32,
744745
'I32': DT_I32,

0 commit comments

Comments
 (0)