hf_text-generation-inference/launcher
drbh 06c3d4b1ec
feat: accept list as prompt and use first string (#1702)
This PR allows the `CompletionRequest.prompt` to be sent as a string or
array of strings. When an array is sent the first value will be used if
it's a string; otherwise the according error will be thrown

Fixes:
https://github.com/huggingface/text-generation-inference/issues/1690
Similar to: https://github.com/vllm-project/vllm/pull/323/files
2024-04-17 10:41:12 +02:00
..
src feat: accept list as prompt and use first string (#1702) 2024-04-17 10:41:12 +02:00
Cargo.toml Improve the defaults for the launcher (#1727) 2024-04-12 14:20:31 +02:00
build.rs chore(github): add templates (#264) 2023-05-02 15:43:19 +02:00