I use ubuntu 18.04, 2080ti and pytorch==1.5.0 CUDA==10.1
In [1]: import torch
In [2]: import externals.ChamferDistancePytorch.chamfer3D.dist_chamfer_3D as dist_chamfer_3D
Loaded compiled 3D CUDA chamfer distance
In [3]: chamLoss = dist_chamfer_3D.chamfer_3DDist()
In [4]: points1 = torch.rand(32, 1000, 3).cuda()
In [5]: points2 = torch.rand(32, 1000, 3).cuda()
In [6]: dist1, dist2, idx1, idx2 = chamLoss(points1, points2)
error in nnd updateOutput: invalid device function
I use ubuntu 18.04, 2080ti and pytorch==1.5.0 CUDA==10.1