-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e8d2f14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific problem you faced with torch = "2.0.0" ? Perhaps, torch = ">=1.13.1" to allow people to use torch 2.0 while still supporting older versions.
Right now when I try to install 'pip install pinecone-text', it's throwing compatibility error:
ERROR: Cannot install pinecone-text==0.1.0, pinecone-text==0.1.1 and pinecone-text==0.4.2 because these package versions have conflicting dependencies.
The conflict is caused by:
pinecone-text 0.4.2 depends on torch<2.0.0 and >=1.13.1
pinecone-text 0.1.1 depends on torch<2.0.0 and >=1.13.1
pinecone-text 0.1.0 depends on torch<2.0.0 and >=1.13.1
e8d2f14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: I made the proposed change, i.e. torch = ">=1.13.1", in my local repo of pinecone-text so that pinecone-text could work with torch 2.0.1 and it seems to be working fine. I am using pinecone-text bm25 encoder like this : bm25.encode_queries(user_msg)
So, proposed changes seems to be safe, at least from encoding perspective.