mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
bugfix
This commit is contained in:
parent
f1d31fe9b5
commit
5096f422e3
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class MetaReferenceInferenceImpl(Inference, RoutableProvider):
|
|||
len(token_result.logprobs) == 1
|
||||
), "Expected logprob to contain 1 result for the current token"
|
||||
assert (
|
||||
logprobs.top_k == 1
|
||||
request.logprobs.top_k == 1
|
||||
), "Only top_k=1 is supported for LogProbConfig"
|
||||
|
||||
logprobs.append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue