Torch.cuda.amp - How to set optimization level?

I just have one issue I have seen, which I posted here: