- 31 Jan, 2023 6 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
Reverts huggingface/text-generation-inference#36
-
OlivierDehaene authored
Add token streaming using ServerSideEvents (SSE). The signature of the SSE events is: ```rust struct Details { finish_reason: String, generated_tokens: u32, seed: Option<u64>, } struct StreamResponse { token: Token, generated_text: Option<String>, details: Option<Details>, } struct ErrorResponse { error: String, } ```
-
- 30 Jan, 2023 1 commit
-
-
OlivierDehaene authored
Co-authored-by:Yannic Kilcher <yk@users.noreply.github.com>
-
- 26 Jan, 2023 2 commits
-
-
OlivierDehaene authored
@njhill
-
OlivierDehaene authored
-
- 24 Jan, 2023 1 commit
-
-
OlivierDehaene authored
-
- 23 Jan, 2023 3 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-
- 20 Jan, 2023 2 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
- 17 Jan, 2023 2 commits
- 05 Jan, 2023 1 commit
-
-
OlivierDehaene authored
Co-authored-by:Nick Hill <nickhill@us.ibm.com>
-
- 03 Jan, 2023 2 commits
-
-
Nicolas Patry authored
Fixes #12 in the easiest way I could think of.
-
Nick Hill authored
I noticed some opportunity to collapse some of the logic, in case you are interested.
-
- 30 Dec, 2022 2 commits
-
-
Nick Hill authored
There's currently a discrepancy in the tokenization between the router and python server code. The latter includes special tokens but former does not. This results in a token count mismatch for seq2seq models such as mt0 where the tokenizer emits an EOS token at the end. This in turn results in some unexpected/incorrect output, in particular when batch concatenation is involved, because the python code uses the input length passed from the router for each row. As far as I can tell, it is better to include this token in the encoder `input_ids`, so I guess it's best to just adjust on the router side.
-
Nick Hill authored
AFAIK there is no torch device type called "gpu".
-
- 16 Dec, 2022 2 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
- 15 Dec, 2022 1 commit
-
-
OlivierDehaene authored
-
- 12 Dec, 2022 1 commit
-
-
OlivierDehaene authored
-
- 08 Dec, 2022 2 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
- 05 Dec, 2022 1 commit
-
-
Nick Hill authored
- Avoid theoretical hang in batcher loop - Avoid a couple of clones in the router generate method - Keep attention mask tensors as integers - Remove num_heads attribute Co-authored-by:OlivierDehaene <Olivier.dehaene@gmail.com>
-
- 01 Dec, 2022 1 commit
-
-
OlivierDehaene authored
-
- 14 Nov, 2022 4 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-
- 09 Nov, 2022 1 commit
-
-
OlivierDehaene authored
-
- 08 Nov, 2022 1 commit
-
-
OlivierDehaene authored
-
- 07 Nov, 2022 1 commit
-
-
OlivierDehaene authored
-
- 04 Nov, 2022 3 commits
-
-
OlivierDehaene authored
-
OlivierDehaene authored
-
OlivierDehaene authored
-