I have differentiable_sorting installed (using pip install .), and I also have PyTorch and autoray installed. While from differentiable_sorting import bitonic_matrices, diff_sort, diff_argsortdoes work with no apparent issue, if I run:
import torch
from differentiable_sorting.torch import bitonic_matrices, diff_sort
Then I get the following error message:
ModuleNotFoundError: No module named 'differentiable_sorting.torch'
I have
differentiable_sorting
installed (usingpip install .
), and I also have PyTorch and autoray installed. Whilefrom differentiable_sorting import bitonic_matrices, diff_sort, diff_argsort
does work with no apparent issue, if I run:Then I get the following error message:
Am I doing something wrong here?