]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : allow caller to handle help/argument exceptions (#3715)
authorbandoti <redacted>
Wed, 1 Nov 2023 17:42:01 +0000 (14:42 -0300)
committerGitHub <redacted>
Wed, 1 Nov 2023 17:42:01 +0000 (19:42 +0200)
commit0e40806c1cb3bdf9955ed807ffbe212be85b4c67
treed7b729e9ff3c29f7c7f4d9cdad186a9698c72ae7
parenta2758d08e44ce3624d233af4d23c6843e2e735b5
common : allow caller to handle help/argument exceptions (#3715)

* Allow caller to handle help/argument exceptions

* Prepend newline to usage output

* Add new gpt_params_parse_ex function to hide arg-parse impl

* Fix issue blocking success case

* exit instead of returning false

* Update common/common.h

Co-authored-by: Georgi Gerganov <redacted>
* Update common/common.cpp

Co-authored-by: Georgi Gerganov <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
common/common.cpp
common/common.h