Skip to content

Commit a1022d3

Browse files
gkumbhatSsukriti
authored andcommitted
📝 Add comment explaining wip comment for prompt tuning
Signed-off-by: gkumbhat <[email protected]> Signed-off-by: Sukriti-Sharma4 <[email protected]>
1 parent c574b13 commit a1022d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

caikit_nlp/modules/text_generation/peft_prompt_tuning.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from caikit import get_config
5050
from caikit.core.data_model import DataStream
5151
from caikit.core.modules import ModuleBase, ModuleConfig, ModuleSaver, module
52-
from caikit.core.toolkit import error_handler, wip_decorator
52+
from caikit.core.toolkit import error_handler
5353
from caikit.interfaces.nlp.data_model import (
5454
ClassificationTrainRecord,
5555
GeneratedTextResult,
@@ -213,6 +213,9 @@ def run(
213213
)
214214
return GeneratedTextResult(generated_text=gen_text[0])
215215

216+
# NOTE: We need to disable wip decorator here otherwise we get issues in
217+
# proto generation for streaming. We are keeping it commented out for now,
218+
# to essentially document that this streaming function is WIP.
216219
# @wip_decorator.work_in_progress(
217220
# category=wip_decorator.WipCategory.WIP, action=wip_decorator.Action.WARNING
218221
# )

0 commit comments

Comments
 (0)