mirror of
https://github.com/katanemo/plano.git
synced 2026-05-09 15:52:44 +02:00
Fix gpu dependency and only leverage onnx when GPU is available (#157)
* replacing appending instead of write * fix eetq dependency * gpu guard required eetq * fix bug when gpu is available * fix for gpu device * reverse * fix * replace gpu -> cuda
This commit is contained in:
parent
5c4a6bc8ff
commit
8b5db45507
3 changed files with 18 additions and 14 deletions
|
|
@ -1,5 +1,5 @@
|
|||
pub const DEFAULT_EMBEDDING_MODEL: &str = "katanemo/bge-large-en-v1.5-onnx";
|
||||
pub const DEFAULT_INTENT_MODEL: &str = "katanemo/deberta-base-nli-onnx";
|
||||
pub const DEFAULT_EMBEDDING_MODEL: &str = "katanemo/bge-large-en-v1.5";
|
||||
pub const DEFAULT_INTENT_MODEL: &str = "katanemo/deberta-base-nli";
|
||||
pub const DEFAULT_PROMPT_TARGET_THRESHOLD: f64 = 0.8;
|
||||
pub const DEFAULT_HALLUCINATED_THRESHOLD: f64 = 0.1;
|
||||
pub const RATELIMIT_SELECTOR_HEADER_KEY: &str = "x-arch-ratelimit-selector";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue