Update Docker builds to align with CI requirements by matthewdouglas · Pull Request #3532 · huggingface/accelerate

What does this PR do?

This PR updates the Dockerfiles which are used to for CI purposes. In CI, we're now testing against PyTorch 2.7.0 with its default CUDA 12.6 build. In order to align with this, we will now start with the CUDA 12.6.3 image, on Ubuntu 22.04.

Before submitting

Who can review?

@SunMarc @BenjaminBossan