BachiLi / diffvg

Differentiable Vector Graphics Rasterization
https://people.csail.mit.edu/tzumao/diffvg/
Apache License 2.0
923 stars 155 forks source link

PyTorch 1.8.1 compatibility #28

Closed justinpinkney closed 3 years ago

justinpinkney commented 3 years ago

I tried to run diffvg under PyTorch 1.8.1 with Cuda 11.1 but ran into the error:

radix_sort: failed on 1st step: cudaErrorInvalidDevice: invalid device ordinal

Some googling indicates that this might be a bug in PyTorch 1.8 and indeed downgrading to 1.7 made it go away

justinpinkney commented 3 years ago

This might be an issue with my install, let me check further. Closing for now.