Spawn:
podman run --rm -it --network=host \
--device=/dev/kfd \
--device=/dev/dri \
--ipc=host \
--security-opt label=disable \
docker.io/rocm/tensorflow:rocm5.5-tf2.11-dev \
bash
Benchmark:
cd /root/benchmarks/scripts/tf_cnn_benchmarks
TF_ROCM_FUSION_ENABLE=1 python3 tf_cnn_benchmarks.py --num_gpus=1 --batch_size=32 --model=resnet50 --use_fp16
TF_ROCM_FUSION_ENABLE=1 python3 tf_cnn_benchmarks.py --num_gpus=1 --batch_size=64 --model=resnet50