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 I install lib using pip install sphericart[torch], the torch-2.5.1 will be installed automatically even though older version of torch like (2.4.1) has already been installed. So now only torch-2.5.1 are supported?
The text was updated successfully, but these errors were encountered:
The code supports all recent versions of PyTorch, what you are seeing is a consequence of pip behavior.
So when you run pip install sphericart[torch], pip creates a separate virtual environment to compile the code, and installs the latest version of torch (2.5.1) there, and then builds sphericart against this version. It then takes the result of this build, and install it in your environment, which might have a different version of torch.
To solve the issue, you can either upgrade the version of torch in your environment, or tell pip to build the code using the version already in your environment, with pip install sphericart[torch] --no-build-isolation --check-build-dependencies.
We are working to provide a pre-compiled version of sphericart-torch that will not require you to compile the code and will work with all versions of torch simultaneously in #106, so hopefully we will no longer need such workarounds.
when I install lib using pip install sphericart[torch], the torch-2.5.1 will be installed automatically even though older version of torch like (2.4.1) has already been installed. So now only torch-2.5.1 are supported?
The text was updated successfully, but these errors were encountered: