tabby/crates/tabby
Meng Zhang 3573d4378e
feat: llama.cpp for metal support [TAB-146] (#391)
* feat: init commit adding llama-cpp-bindings

* add llama.cpp submodule

* add LlamaEngine to hold llama context / llama model

* add cxxbridge

* add basic greedy sampling

* move files

* make compile success

* connect TextGeneration with LlamaEngine

* experimental support llama.cpp

* add metal device

* add Accelerate

* fix namespace for llama-cpp-bindings

* fix lint

* move stepping logic to rust

* add stop words package

* use stop-words in ctranslate2-bindings

* use raw string for regex

* use Arc<Tokenizer> for sharing tokenizers

* refactor: remove useless stop_words_encoding_offset

* switch to tokenizers 0.13.4-rc.3

* fix lints in cpp

* simplify implementation of greedy decoding

* feat: split metal feature for llama backend

* add ci

* update ci

* build tabby bin in ci build
2023-09-03 09:59:07 +08:00
..
src feat: llama.cpp for metal support [TAB-146] (#391) 2023-09-03 09:59:07 +08:00
.gitignore add ctranslate2-bindings / tabby rust packages (#146) 2023-05-25 14:05:28 -07:00
Cargo.lock Build link shared in docker for ctranslate2 (#150) 2023-05-27 00:05:56 -07:00
Cargo.toml feat: llama.cpp for metal support [TAB-146] (#391) 2023-09-03 09:59:07 +08:00
build.rs fix: correct git_describe in /health (#383) 2023-08-31 01:06:36 +00:00