]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Opt class for positional argument handling (#10508)
authorEric Curtin <redacted>
Fri, 13 Dec 2024 18:34:25 +0000 (18:34 +0000)
committerGitHub <redacted>
Fri, 13 Dec 2024 18:34:25 +0000 (19:34 +0100)
commitc27ac678dd393af0da9b8acf10266e760c8a0912
tree3706d1e65ebbbf0d5a12d2c3551b1a19dcd5bc0a
parent11e07fd63bac1cb642380a7a3eac03fd8703e948
Opt class for positional argument handling (#10508)

Added support for positional arguments `model` and `prompt`. Added
functionality to download via strings like:

  llama-run llama3
  llama-run ollama://granite-code
  llama-run ollama://granite-code:8b
  llama-run hf://QuantFactory/SmolLM-135M-GGUF/SmolLM-135M.Q2_K.gguf
  llama-run huggingface://bartowski/SmolLM-1.7B-Instruct-v0.2-GGUF/SmolLM-1.7B-Instruct-v0.2-IQ3_M.gguf
  llama-run https://example.com/some-file1.gguf
  llama-run some-file2.gguf
  llama-run file://some-file3.gguf

Signed-off-by: Eric Curtin <redacted>
README.md
common/CMakeLists.txt
common/common.cpp
common/common.h
examples/run/CMakeLists.txt
examples/run/README.md
examples/run/run.cpp