Hi,
The cudnn deterministic flag should allow you to do what you want, there might be another source of this in your code.
Make sure that you set the random seed for all the random part of your code (both if you use python’s random, pytorch cpu random and/or pytorch gpu random).
Could you provide a small code snippet that we could run to reproduce the issue please?