-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlflow.langchain.log_model : AttributeError: module 'langchain' has no attribute '__version__' #8419
Comments
Hi @Abonia1 Could you provide your |
Hello @WeichenXu123 ,thanks for taking a lead on this topic. Complete code :
|
I thin you are using an out-of-date langchain package , the latest version is 0.0.170 now. And I tested in 0.0.170 version we don't have the issue. |
But with recent version I can't import Langchain in databricks. I have reported the issue and its still open here . As old version is supported by databricks now, there is any work around to make mlflow work with Any help would be appreciated. |
Got it. Let me check. I think we need to address the langchain issue on databricks |
@Abonia1 Could you try this ? langchain-ai/langchain#4401 (comment) |
@BenWilson2 @dbczumar @harupy @WeichenXu123 Please assign a maintainer and start triaging this issue. |
@WeichenXu123 Even I have tried
I got this error as we don'thave access to model in community version of databricks: For info: As mentionned here, there are certain limitations with the community edition and we do not have this feature there. To use this we need to go with the commercial version of Databricks. So consider we can't use the feature of mlfow+langchain in community version of databricks. Thanks for all the help. |
Sorry my previous comment is wrong, I updated my comment, langchain-ai/langchain#4401 (comment)
Yes this is an limitation |
Having issue while using mlflow.langchain.log_model in databricks:
Langchain version = 0.0.125
WARNING mlflow: MLflow does not guarantee support for LLMChains outside of HuggingFaceHub and OpenAI, found <class 'langchain.llms.huggingface_pipeline.HuggingFacePipeline'>
AttributeError: module 'langchain' has no attribute 'version'
thanks in advance.
The text was updated successfully, but these errors were encountered: