-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
Hi,
The example HuggingFace pipeline does no longer work and fails with an error "Cannot import Conversation from transformers.pipelines": https://github.com/SeldonIO/MLServer/blob/master/docs/examples/huggingface/README.md.
As per https://discuss.huggingface.co/t/cannot-import-conversation-from-transformers-utils-py/91556/1, downgrading transformers
library to version 4.41.2 (pip install transformers==4.41.2
) does the trick and fixes the pipeline.
transformers
dependency should probably be pinned to a stricter version, or the import should be fixed in huggingface runtime.
Best,
Metadata
Metadata
Assignees
Labels
No labels