:An unexpected error occurred: module 'torch.cuda.amp' has no attribute 'supported'

:An unexpected error occurred: module ‘torch.cuda.amp’ has no attribute ‘supported’
torch version 2.2.2+cu118
torch.cuda.amp is available.

Please Help

torch.cuda.amp.supported is not a valid attribute and also not mentioned in the docs (at least I cannot find it). Could you add more information where this attribute is used?

Sorry, it all work after a restart , Thanks