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
Horovod fails to install via Poetry #3697
Comments
If I clone and build from source it works correctly, I'll open a ticket in poetry as well in case it is an issue with their installer |
Having spoken to the poetry team they believe the issue lies in Horovod not being compliant with PEP-517/518, is this correct? If so, are there any plans to resolve this? |
Would that be related to the observations in issue and comments #3483? I think it would be great to clear that up and assistance would be appreciated! |
The best I can say is it might be, however on my system I've got TensorFlow already installed and poetry seems to be resolving to install it before horovod. I wonder if there needs to be another PEP to make a standard where isolation can also mean exposing the extras required rather than just those in the setup.py/pyproject. |
I am facing the same issue. Raised a ticket at poetry and they said the horovod's build is not compliant with PEP-517 as mentioned above by @joeyearsley |
The install with the latest poetry now fails with
It also fails with the same error using |
This current issue is introduced in It might have been introduced by #3700, which started to use Here is the full stacktrace, it might help: just the stacktrace
Full poetry output with stacktrace
|
I'm wondering if this should be a new issue. The original error doesn't happen anymore with poetry Environment:
|
Error |
This still happens with poetry for It also fails with |
@itsdani you are saying the issue described in this issue's description is fixed with petry |
Yes, the |
If the As a user of Horovod, I'd suggest to separately build a Horovod wheel adapted for your environment (with all flags configured appropriately and all external dependencies installed with the right versions; |
The I have commented on the other closed issue (#3744) regarding |
OK. I don't think it's helpful to spread this over multiple semi-related issues, though. Would you know how to configure the dependence on |
Sadly I have no idea how any of this works :( |
I have found a solution. Adding a I'm not entirely sure which issue I should reference in the PR (#3758) at this point. |
Environment:
Checklist:
Bug report:
Trying to install horovod via poetry and keep receiving:
If I install via pip into the virtual env directly this works, however it adds extra load onto the team as they have to remember to do this on top of poetry install.
Cmake Output:
And I can import tensorflow via that direct path and the virtual env.
The text was updated successfully, but these errors were encountered: