Commit 8b7b410
common : refactor arg parser (ggml-org#9308)
* (wip) argparser v3
* migrated
* add test
* handle env
* fix linux build
* add export-docs example
* fix build (2)
* skip build test-arg-parser on windows
* update server docs
* bring back missing --alias
* bring back --n-predict
* clarify test-arg-parser
* small correction
* add comments
* fix args with 2 values
* refine example-specific args
* no more lamba capture
Co-authored-by: slaren@users.noreply.github.com
* params.sparams
* optimize more
* export-docs --> gen-docs1 parent e9e8d51 commit 8b7b410
33 files changed
Lines changed: 2229 additions & 1930 deletions
File tree
- common
- examples
- batched-bench
- batched
- cvector-generator
- embedding
- eval-callback
- export-lora
- gen-docs
- gritlm
- imatrix
- infill
- llava
- lookahead
- lookup
- main
- parallel
- passkey
- perplexity
- retrieval
- save-load-state
- server
- simple
- speculative
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
1442 | 1444 | | |
1443 | 1445 | | |
1444 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1445 | 1453 | | |
1446 | 1454 | | |
1447 | 1455 | | |
| |||
1499 | 1507 | | |
1500 | 1508 | | |
1501 | 1509 | | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1502 | 1515 | | |
1503 | 1516 | | |
1504 | 1517 | | |
| |||
0 commit comments