Deterministic behavior using bilinear2d

I get the following error

RuntimeError: upsample_bilinear2d_backward_out_cuda does not have a deterministic implementation

Is there a workaround?

The workaround would be to use the CPU implementation, i.e. push the data to the CPU before applying this method and back to the GPU afterwards for now assuming that you need the deterministic outputs for debugging (as it would slow down your code).

1 Like