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 a5c74dd commit 3400755Copy full SHA for 3400755
examples/convert_legacy_llama.py
@@ -1308,7 +1308,7 @@ def do_dump_model(model_plus: ModelPlus) -> None:
1308
1309
def main(args_in: list[str] | None = None) -> None:
1310
output_choices = ["f32", "f16"]
1311
- if np.uint32(1) == np.uint32(1).newbyteorder("<"):
+ if np.uint32(1) == np.uint32(1).view(np.dtype(np.uint32).newbyteorder("<")):
1312
# We currently only support Q8_0 output on little endian systems.
1313
output_choices.append("q8_0")
1314
parser = argparse.ArgumentParser(description="Convert a LLaMA model to a GGML compatible file")
pyrightconfig.json
@@ -22,6 +22,5 @@
22
],
23
"exclude": [
24
"tools/mtmd/legacy-models",
25
- "tests"
26
]
27
}
0 commit comments