Skip to content

Commit 7900bf0

Browse files
gkumbhatSsukriti
authored andcommitted
🚧 Debug streaming API generation
Signed-off-by: gkumbhat <[email protected]> Signed-off-by: Sukriti-Sharma4 <[email protected]>
1 parent d6a8f94 commit 7900bf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

caikit_nlp/modules/text_generation/peft_prompt_tuning.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ def run(
213213
)
214214
return GeneratedTextResult(generated_text=gen_text[0])
215215

216+
# @wip_decorator.work_in_progress(
217+
# category=wip_decorator.WipCategory.WIP, action=wip_decorator.Action.WARNING
218+
# )
216219
@TextGenerationTask.taskmethod(output_streaming=True)
217-
@wip_decorator.work_in_progress(
218-
category=wip_decorator.WipCategory.WIP, action=wip_decorator.Action.WARNING
219-
)
220220
def run_stream_out(
221221
self, text: str, max_new_tokens=20, min_new_tokens=0
222222
) -> Iterable[GeneratedTextStreamResult]:

0 commit comments

Comments
 (0)