You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returntext_generator, ["This is a test", "Another test"]
TextGenerationPipeline parameter, processor, is unused within this scope of the function. Uncertain if this test is incomplete or if this variable is optional and potentially removeable.
The text was updated successfully, but these errors were encountered:
I believe it's just a general pattern: we want to have get_test_pipeline having a uniform argument list. But inside the body, only parts of them are used, depends on the pipeline class.
I don't feel strong the need to change it. But if we decide to do it, I would prefer after #32514 being done and merged
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
transformers/tests/pipelines/test_pipelines_text_generation.py
Lines 323 to 325 in c1aa0ed
TextGenerationPipeline parameter, processor, is unused within this scope of the function. Uncertain if this test is incomplete or if this variable is optional and potentially removeable.
The text was updated successfully, but these errors were encountered: