llama.cpp
convert.py: add python logging instead of print()
#6511
Merged

convert.py: add python logging instead of print() #6511

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone