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
@Phyks Thanks for your reporting this issue. I think it is better to fix the underlying issue with the import. We welcome contributions if you are happy to provide a fix for it. Thanks!
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,
The text was updated successfully, but these errors were encountered: