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
then some packages like torchvision are installed from conda base or conda-forge and not pytorch. I used the pytorch::package syntax to make sure the pytorch version with the matching CUDA are installed. I've seen it for torchvision and the base pytorch package (even though the correct pytorch-cuda from pytorch was installed).
Something like the command below seem to correct it. I'm not sure if this is my mistake, the environment solver, or the way the dependencies are listed in the topaz meta.yaml, but perhaps this will help others if they run into the issue.
Is this using fresh environments that have never used conda-forge? I think if you've installed something from there, the channel remains on your list channels to search from.
I'm creating environments for several different versions of topaz (including 0.3.7) and I've noticed that with a command like:
mamba create -n topaz python=3.11 topaz fsspec pytorch-cuda=11.8 -c tbepler -c pytorch -c nvidia
then some packages like
torchvision
are installed from conda base or conda-forge and not pytorch. I used thepytorch::package
syntax to make sure the pytorch version with the matching CUDA are installed. I've seen it fortorchvision
and the basepytorch
package (even though the correctpytorch-cuda
from pytorch was installed).Something like the command below seem to correct it. I'm not sure if this is my mistake, the environment solver, or the way the dependencies are listed in the topaz meta.yaml, but perhaps this will help others if they run into the issue.
mamba install python=3.11 topaz=0.2.5 'pytorch::pytorch<=2.3.1' 'pytorch::pytorch-cuda=11.8' 'pytorch::torchvision' -c tbepler -c pytorch -c nvidia
The
cuda-version
metapackage seems to end up at 12.8 but correcting that seems unimportant so far.The text was updated successfully, but these errors were encountered: