Non-streaming logprobs for Aphrodite

This commit is contained in:
Cohee
2024-02-24 20:53:23 +02:00
parent d140b8d5be
commit d5bf9fc28c
2 changed files with 8 additions and 3 deletions

View File

@ -4489,6 +4489,7 @@ function parseAndSaveLogprobs(data, continueFrom) {
case textgen_types.LLAMACPP: {
logprobs = data?.completion_probabilities?.map(x => parseTextgenLogprobs(x.content, [x])) || null;
} break;
case textgen_types.APHRODITE:
case textgen_types.TABBY: {
logprobs = parseTabbyLogprobs(data) || null;
} break;