How to check if there is an AMD GPU

Hello everyone.

I would like to ask how to check whether there is an AMD GPU installed. Does torch.cuda.is_available() work for this case?

In my case it returns False so I am not sure whether I have not properly installed some library or it’s just that this is not the command.

Thank you!