I don’t know how the data is created but would assume that numpy is used under the hood. If so, you could check which numpy operators are used there and try to port them to PyTorch (assuming all operations are supported) and could then use a GPU.