-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add pytorch to ML image (or create separate image) #312
Comments
Could you try to force later pytorch and/or higher cudatoolkit? This error is likely related to the underlying image you're using (or the machine). The openblas addition (at least for recent pytorch versions from conda-forge) likely makes no difference because pytorch uses mkl, not openblas, if I understand correctly. You can also try to see the torch config: |
Or are you trying this on a personal machine. I will test it quickly to test why this is happening. |
@rabernat the error is coming from this: https://github.com/conda-forge/pytorch-cpu-feedstock/blob/93333de760d702aee276dcafeedc890458a00417/recipe/meta.yaml#L34 Something is forcing |
Paging @hmaarrfk who may be able to advise on this situation. Odd because the successful image ends up being 1.10.2 and pulling |
It seems that you are using ubuntu images with 20.04 though. So I'm really not sure. |
Yep, I would guess it is a simpler conflict between packages somehow that may need to be sorted out manually. Thanks a lot @hmaarrfk and sorry for bothering you with this here! |
Can you check the output of
before running any other conda commands? |
For LEAP and M2LInES 2i2c Hubs, many researchers will want to use pytorch. Unfortunately, this image does not have pytorch.
When I try to add pytorch-gpu to
ml-notebook/environment.yml
and callI get the error
I found a similar problem in NVIDIA/MinkowskiEngine#354. That issue implies we may need to mix conda channels to get this to work. The workaround they recommend is to install openblas from
anaconda
and then switch to conda-forge for pytorch.Any thoughts on the best path here?
cc @yuvipanda
Also related to #188
The text was updated successfully, but these errors were encountered: