How can I run two functions within the same FastAPI application, where one function requires transformers==4.32.8
and the other requires transformers==4.52.8
?
1 Like
Create a fork of the older version and publish it as something else?
Having two versions of the same library in one project sounds like a very bad idea and probably won’t work when the system tries to build all the dependencies.
What are you trying to achieve, ultimately?
2 Likes
I am having the same issue.
My Rasa-pro requires openai<0.29.0,>=0.28.1
While autogen requires openai 1.3
I don’t know how to manage this conflict.
Ask the maintainer of the lagging library to update their dependencies?
1 Like