Skip to content

Commit

Permalink
🐛 fix guided decoding
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
  • Loading branch information
joerunde committed Jun 14, 2024
1 parent f1624bf commit d23dd6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/tgis_utils/guided_decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import vllm.model_executor.guided_decoding.outlines_decoding as outlines_decoding # noqa: E501
from vllm.entrypoints.grpc.pb.generation_pb2 import DecodingParameters
from vllm.model_executor.guided_decoding.outlines_decoding import (
GuidedDecodingMode, _get_cached_logits_processor)
GuidedDecodingMode, _get_logits_processor)
from vllm.model_executor.guided_decoding.outlines_logits_processors import (
JSONLogitsProcessor, RegexLogitsProcessor)

Expand All @@ -32,7 +32,7 @@ async def get_outlines_guided_decoding_logits_processor(

result = await loop.run_in_executor(
outlines_decoding.global_thread_pool,
_get_cached_logits_processor,
_get_logits_processor,
guide,
tokenizer,
mode,
Expand Down

0 comments on commit d23dd6d

Please sign in to comment.