]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
main : option to disable context shift (#9484)
authorVinesh Janarthanan <redacted>
Mon, 16 Sep 2024 06:20:01 +0000 (01:20 -0500)
committerGitHub <redacted>
Mon, 16 Sep 2024 06:20:01 +0000 (09:20 +0300)
commit441b72b91f818fe69497e5816f87969e90c73c43
tree9afae630f906fd9a302067ff2bf6965679712256
parentc4965a64f72ac9434c21cf0e1c3421d13e889155
main : option to disable context shift (#9484)

* added cli arg to disable context shift

* reverted precommit

* updated README.md for main

* white space

* allow disabling context shift in the server

* Update common/arg.cpp

no-context-shift only works for main example

Co-authored-by: Georgi Gerganov <redacted>
* added server example to --no-context-shift args

* removed server changes

* white space

---------

Co-authored-by: Georgi Gerganov <redacted>
common/arg.cpp
common/common.h
examples/main/README.md
examples/main/main.cpp