You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pip to install scaden, scaden always pulls tensorflow and never tensorflow-gpu.
The real problem is that pip is not able to deal with GPU variants, as described at tensorflow/tensorflow#7166. If pip was able, then tensorflow would not need to have those two separate packages and everything would work as expected.
There are three possible scenarios:
BAD: We depend on tensorflow, and it is not possible to install scaden using the tensorflow-gpu package because they conflict. (this is the current status)
UGLY: We publish to pypi two packages scaden and scaden-gpu, depending on tensorflow and tensorflow-gpu respectively.
ALSO UGLY: We optionally depend on tensorflow and tensorflow-gpu. The instructions to install scaden through pip would be: pip install scaden[cpu] or pip install scaden[gpu]. pip install scaden would not install any tensorflow variant and lead to an error (we could warn the user then, though).
I can easily implement ALSO UGLY, the community is split between the two ugly solutions. Do you have any preference, @KevinMenden ?
The text was updated successfully, but these errors were encountered:
I have thought about this in the past, and my preferred solution would have been to generate a scaden-gpu package - mostly because the majority of users (I believe) won't have a GPU and would just want to do pip install scaden
However now that I think of it , ALSO UGLY might be a better solution for now. I don't really like the idea of having two different packages for the same software .... so I guess we go with this for now?
That might actually be the best version for now.
For GPU, you can basically just install Scaden via pip, then uninstall tensorflow and install tensorflow-gpu. And we can easiily provide a container that has this.
Uh oh!
There was an error while loading. Please reload this page.
When using pip to install scaden, scaden always pulls
tensorflow
and nevertensorflow-gpu
.The real problem is that pip is not able to deal with GPU variants, as described at tensorflow/tensorflow#7166. If pip was able, then tensorflow would not need to have those two separate packages and everything would work as expected.
There are three possible scenarios:
tensorflow
, and it is not possible to install scaden using thetensorflow-gpu
package because they conflict. (this is the current status)scaden
andscaden-gpu
, depending on tensorflow and tensorflow-gpu respectively.tensorflow
andtensorflow-gpu
. The instructions to install scaden through pip would be:pip install scaden[cpu]
orpip install scaden[gpu]
.pip install scaden
would not install any tensorflow variant and lead to an error (we could warn the user then, though).I can easily implement
ALSO UGLY
, the community is split between the two ugly solutions. Do you have any preference, @KevinMenden ?The text was updated successfully, but these errors were encountered: