Skip to content

Commit 3f96d53

Browse files
committed
two converter py files needs basicConfig() added
1 parent a2ac89d commit 3f96d53

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

convert-hf-to-gguf-update.py

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
# This script downloads the tokenizer models of the specified models from Huggingface and
24
# generates the get_vocab_base_pre() function for convert-hf-to-gguf.py
35
#
@@ -32,6 +34,7 @@
3234
from transformers import AutoTokenizer
3335

3436
logger = logging.getLogger("convert-hf-to-gguf-update")
37+
logging.basicConfig(level=logging.INFO)
3538

3639

3740
class TOKENIZER_TYPE(IntEnum):

convert-lora-to-ggml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import gguf
1818

1919
logger = logging.getLogger("lora-to-gguf")
20+
logging.basicConfig(level=logging.INFO)
2021

2122
NUMPY_TYPE_TO_FTYPE: dict[str, int] = {"float32": 0, "float16": 1}
2223

0 commit comments

Comments
 (0)