ptrblck:

torch.utils.benchmark is a utility function used to profile operations and is not a flag, so setting it to True won’t do anything besides overriding it.


sorry, i was thinking of torch.backends.cudnn.benchmark which is flag.