Skip to content

Commit 209e5f8

Browse files
authored
Merge pull request #1 from prusnak/convert-script-flake8
convert.py: fix flake8 issues + sort imports with isort
2 parents b9c372d + 54b7b12 commit 209e5f8

File tree

2 files changed

+128
-41
lines changed

2 files changed

+128
-41
lines changed

convert-pth-to-ggml.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Compatibility stub
22

3-
import argparse, convert
3+
import argparse
4+
5+
import convert
46

57
parser = argparse.ArgumentParser(description='Convert a LLaMA model checkpoint to a ggml compatible file')
68
parser.add_argument('dir_model', help='directory containing the model checkpoint')

0 commit comments

Comments
 (0)