With https://github.com/tensorflow/io/pull/1551 we will be able to use tensorflow-io and tensorflow-rocm (the io package contains functionalities like an HDFS client and it was created for the release of tensorflow 2.6).
We were not able to upgrade to ROCm 4.3.1 due to this problem, but now we should be able to upgrade to something like 4.5 when upstream will release the new tensorflow-io package containing the fix (likely version 0.23).
https://wikitech.wikimedia.org/wiki/Analytics/Systems/Cluster/AMD_GPU#Upgrade_the_Debian_packages