NVIDIA / flownet2-pytorch

Pytorch implementation of FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Other
3.08k stars 738 forks source link

CUDA error: the provided PTX was compiled with an unsupported toolchain #280

Open zinuok opened 1 year ago

zinuok commented 1 year ago

I built the custom layers via "python3 setup.py install --user" in each directory (of resample2d, channelnorm, correlation). However, after importing the following custom layer,

from ...(some_path)... correlation_package.correlation import Correlation

I cannot transfer the tensor to the GPU:

a = np.array(1)
torch.from_numpy(a).to('cuda')

producing the following error.

RuntimeError: CUDA error: the provided PTX was compiled with an unsupported toolchain.

(but, torch.cuda.is_available() returns True)

my settings are as follows:

Is there any related-issue about this?

Thank you