In T359067 it was decided to create a base image with Pytorch ROCm installed, to use in various blubber files and avoid too much duplication (in Docker layers).
High level idea:
- The base image will probably be in the production-images repository.
- The image can probably go directly to Debian Bookworm, in theory our stack should support Python 3.11, and this base image will be used by relatively new things (RR multi-lingual, Hugging face, etc..)
- We should decide on a ROCm version to use, maybe the 5.x serie is ok for the moment?