Skip to content
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

Versions missing for python libraries #9

Open
AngelaFabregues opened this issue Dec 10, 2023 · 1 comment
Open

Versions missing for python libraries #9

AngelaFabregues opened this issue Dec 10, 2023 · 1 comment

Comments

@AngelaFabregues
Copy link

Executing the first line of the notebook pip -q install eland elasticsearch sentence_transformers transformers torch==1.11 in Google Colab we get:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.1.0+cu118 requires torch==2.1.0, but you have torch 1.11.0 which is incompatible.
torchdata 0.7.0 requires torch==2.1.0, but you have torch 1.11.0 which is incompatible.
torchtext 0.16.0 requires torch==2.1.0, but you have torch 1.11.0 which is incompatible.

Only the torch library version is specified. I suppose that the other libraries have evolved with dependencies on upper versions of torch. Does anybody know what is the right version for those libraries to work with torch==1.11?

Setting those versions in the first execution line may solve the issue.

AngelaFabregues added a commit to AngelaFabregues/ElasticDocs_GPT that referenced this issue Dec 10, 2023
The latest version available for eland library requires a different torch library version. Version for eland set to the latest version available by the time the article was published.
@AngelaFabregues
Copy link
Author

I found it! By June 2003, when the article was published, the latest version of eland was 8.7.0: https://github.com/elastic/eland/blob/main/CHANGELOG.rst#820-2022-05-09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant