Error shows up using v1.0.0 and torch 1.13.1 with CUDA. To fix it I had to change https://github.com/stefanch/sGDML/blob/8af877adf02b05862b47c593f576ffcc6badf889/sgdml/torchtools.py#L549 to `dtype=torch.double`.
Error shows up using v1.0.0 and torch 1.13.1 with CUDA.
To fix it I had to change
sGDML/sgdml/torchtools.py
Line 549 in 8af877a
to
dtype=torch.double.