Mac OS rocM AMD card detection is failing with PyTorch 1.8

I’ve successfully built 1.8 version from source according to this on Mac OS Mojave 10.14.5 with xcodebuild -version being 10.1 as suggested in the «installation from source» guide.
Executing: python -c 'import torch;print(torch.cuda.is_available())' returns False.

Graphics card: Vega20 mobile.

According to the official list of supported graphics cards here the Vega20 is included as 7nm chip.

P.S. Any advice|help is highly appreciated. Thank you🙏

cc @jeffdaily @sunway513 @ROCmSupport

1 possible answer(s) on “Mac OS rocM AMD card detection is failing with PyTorch 1.8