summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-08-21 23:40:22 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2023-08-21 23:40:22 +0300
commitc8dba409e6d6a754090f08e6a862c5ffdd52e421 (patch)
tree357158e6984d4995d1d3c7cfebf74cb594e120d0
parent6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9 (diff)
py : remove obsolete script
-rw-r--r--convert-pth-to-ggml.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/convert-pth-to-ggml.py b/convert-pth-to-ggml.py
deleted file mode 100644
index dd15393c..00000000
--- a/convert-pth-to-ggml.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# Compatibility stub
-
-import argparse
-
-import convert
-
-parser = argparse.ArgumentParser(
- description="""[DEPRECATED - use `convert.py` instead]
- Convert a LLaMA model checkpoint to a ggml compatible file""")
-parser.add_argument('dir_model', help='directory containing the model checkpoint')
-parser.add_argument('ftype', help='file type (0: float32, 1: float16)', type=int, choices=[0, 1], default=1)
-args = parser.parse_args()
-convert.main(['--outtype', 'f16' if args.ftype == 1 else 'f32', '--', args.dir_model])