Commit adcb113
committed
Remove the orphaned onnxruntime Dockerfiles
#11803 dropped onnx and flax from the docker build matrix in
build_docker_images.yml. #12151 finished the flax half by deleting
docker/diffusers-flax-*, but the two onnxruntime directories were left
behind, so docker/ has listed two images for thirteen months that
neither job in the workflow builds. Their :latest tags on Docker Hub
have been frozen since 2025-06-27 as a result.
Delete docker/diffusers-onnxruntime-cpu and
docker/diffusers-onnxruntime-cuda, mirroring what was done for flax.
Nothing else in the repo references them: every test workflow filters
ONNX out with -k "not Onnx", run_nightly_onnx_tests is commented out,
and no doc or script names the images.
Add tests/others/test_docker_images.py, which asserts that the
directories under docker/ are exactly the images named in both jobs of
build_docker_images.yml, the PR-time ALLOWED_IMAGES array and the
nightly strategy.matrix.image-name list. It fails on both before this
change and passes after.
This does not remove the stale tags from Docker Hub, which needs
registry credentials.
Fixes #143251 parent 4b8e466 commit adcb113
3 files changed
Lines changed: 26 additions & 98 deletions
File tree
- docker
- diffusers-onnxruntime-cpu
- diffusers-onnxruntime-cuda
- tests/others
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments