upgrade to python 3.10 in the Dockerfiles
What does this PR do?
Check here: https://github.com/huggingface/diffusers/pull/7703#discussion_r1584501268.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Hmm our base image Ubuntu makes it a little difficult to install Python 3.10. Any other ideas @DN6?
Or we could follow this approach: https://github.com/huggingface/trl/blob/main/docker/trl-source-gpu/Dockerfile. I don't really mind. Let me know and I will use this PR to do that.
Please see the comments first:
- https://github.com/huggingface/diffusers/pull/7893#issuecomment-2101501844
- https://github.com/huggingface/diffusers/pull/7893#issuecomment-2101505786