convert.py: add python logging instead of print() #6511
ggerganov
approved these changes
on 2024-04-25
CISC
commented
on 2024-04-29
convert.py: add python logging instead of print()
573dcecd
convert.py: verbose flag takes priority over dump flag log suppression
88c1e2ff
convert.py: named instance logging
e8be0c8f
convert.py: use explicit logger id string
8008082c
convert.py: convert extra print() to named logger
e6b9d917
convert.py: sys.stderr.write --> logger.error
3670e16e
*.py: Convert all python scripts to use logging module
f00454fb
requirements.txt: remove extra line
9ad587a5
flake8: update flake8 ignore and exclude to match ci settings
c220e353
gh-actions: add flake8-no-print to flake8 lint step
8d855b17
pre-commit: add flake8-no-print to flake8 and also update pre-commit …
dd8b9774
convert-hf-to-gguf.py: print() to logger conversion
44b058d1
*.py: logging basiconfig refactor to use conditional expression
1cc38d81
*.py: removed commented out logging
c2e5abd3
fixup! *.py: logging basiconfig refactor to use conditional expression
dc2bff40
constant.py: logger.error then exit should be a raise exception instead
cf38b4b8
*.py: Convert logger error and sys.exit() into a raise exception (for…
dc798d23
gguf-convert-endian.py: refactor convert_byteorder() to use tqdm prog…
ea449058
verify-checksum-model.py: This is the result of the program, it shoul…
e0372a1b
compare-llama-bench.py: add blank line for readability during missing…
510dea0d
reader.py: read_gguf_file() use print() over logging
62da83a4
convert.py: warning goes to stderr and won't hurt the dump output
1b1c2ed8
gguf-dump.py: dump_metadata() should print to stdout
3a55ae4d
convert-hf-to-gguf.py: print --> logger.debug or ValueError()
aefd7492
verify-checksum-models.py: use print() for printing table
1b7c8007
*.py: refactor logging.basicConfig()
b0b51e78
gguf-py/gguf/*.py: use __name__ as logger name
fe1d7f60
python-lint.yml: use .flake8 file instead
ad53853a
constants.py: logger no longer required
58d5a5d2
convert-hf-to-gguf.py: add additional logging
2d2bc993
convert-hf-to-gguf.py: print() --> logger
5e5e74e3
*.py: fix flake8 warnings
fcc5a5e0
mofosyne
force pushed
to
fcc5a5e0
1 year ago
CISC
commented
on 2024-05-01
CISC
commented
on 2024-05-01
revert changes to convert-hf-to-gguf.py for get_name()
6d42f3d7
convert-hf-to-gguf-update.py: use triple quoted f-string instead
154ad123
CISC
commented
on 2024-05-01
*.py: accidentally corrected the wrong line
08e2b770
*.py: add compilade warning suggestions and style fixes
52d05674
compilade
approved these changes
on 2024-05-03
ggerganov
merged
a2ac89d6
into master 1 year ago
mofosyne
deleted the convert-py-logging branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub