Richard Kiss
|
9494d7c477
|
english : use typos to fix comments and logs (#4354)
|
2023-12-12 11:53:36 +02:00 |
|
staviq
|
a2758d08e4
|
log : make generating separate log files optional (#3787)
* impl --log-new, --log-append
* Update common/log.h
Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
* Update common/log.h
Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
* Apply suggestions from code review
Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
---------
Co-authored-by: cebtenzzre <cebtenzzre@gmail.com>
|
2023-11-01 16:18:27 +02:00 |
|
Georgi Gerganov
|
cc44877486
|
log : disable pid in log filenames
|
2023-10-25 10:09:16 +03:00 |
|
Georgi Gerganov
|
0e89203b51
|
speculative : add tree-based sampling example (#3624)
* sampling : one sequence per sampling context
ggml-ci
* speculative : add tree-based sampling support
ggml-ci
* speculative : reuse the n_parallel CLI param
* speculative : refactor sampling
* examples : fix build after sampling refactoring
ggml-ci
* batched : fix n_seq_id
* sampling : fix malloc
ggml-ci
* swift : fix build
ggml-ci
* swift : try to fix build
ggml-ci
* prompts : add assistant.txt
* common : add llama_batch_add() and llama_batch_clear() helpers
* speculative : minor refactor
ggml-ci
* minor : comments + rename
ggml-ci
* speculative : fix off-by-one for n_drafted
* speculative : fix the n_drafted fix + p constants
|
2023-10-18 16:21:57 +03:00 |
|
Cebtenzzre
|
bc39553c90
|
build : enable more non-default compiler warnings (#3200)
|
2023-09-28 17:41:44 -04:00 |
|
Cebtenzzre
|
de2fe892af
|
examples : replace fprintf to stdout with printf (#3017)
|
2023-09-05 15:10:27 -04:00 |
|
Kerfuffle
|
3358c381f6
|
logging: Fix creating empty file even when disabled (#2966)
* logging: Fix creating empty file even when disabled
* Minor formatting fix
Co-authored-by: staviq <staviq@gmail.com>
---------
Co-authored-by: staviq <staviq@gmail.com>
|
2023-09-02 11:53:55 -06:00 |
|
staviq
|
4dcd47d71d
|
logs : fix mingw-like builds (fixes #2898) (#2911)
* fix mingw-like builds
* formatting
* make LOG_COMPAT easier to override and extend
* simplify win detection
* fix for #2940
|
2023-09-01 12:07:06 +03:00 |
|
staviq
|
8341a25957
|
main : log file (#2748)
* initial, base LOG macro
* add *.log to .gitignore
* added basic log file handler
* reverted log auto endline to better mimic printf
* remove atomics and add dynamic log target
* log_enable/disable, LOG_TEE, basic usage doc
* update .gitignore
* mv include to common, params, help msg
* log tostring helpers, token vectors pretty prints
* main: replaced fprintf/LOG_TEE, some trace logging
* LOG_DISABLE_LOGS compile flag, wrapped f in macros
* fix LOG_TEELN and configchecker
* stub LOG_DUMP_CMDLINE for WIN32 for now
* fix msvc
* cleanup main.cpp:273
* fix stray whitespace after master sync
* log : fix compile warnings
- do not use C++20 stuff
- use PRIu64 to print uint64_t
- avoid string copies by using const ref
- fix ", ##__VA_ARGS__" warnings
- compare strings with == and !=
* log : do not append to existing log + disable file line func by default
* log : try to fix Windows build
* main : wip logs
* main : add trace log
* review: macro f lowercase, str append to sstream
* review: simplify ifs and str comparisons
* fix MSVC, formatting, FMT/VAL placeholders
* review: if/else cleanup
* review: if/else cleanup (2)
* replace _ prefix with _impl suffix
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
|
2023-08-30 09:29:32 +03:00 |
|