Typehint on torchvision.transforms.functional.pad should support both PIL.Image and Tensor
Closes https://github.com/pytorch/vision/issues/9257
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9258
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:x: 51 New Failures, 1 Unrelated Failure
As of commit 99454687edf217a686d29aa1dafeb5f75905a044 with merge base ca2212438fdd8ce29b66999ed70ed54b0f9372d1 ():
NEW FAILURES - The following jobs have failed:
- Build Aarch64 Linux Wheels / pytorch/vision / build-wheel-py3_10-cpu-aarch64 (gh)
ModuleNotFoundError: No module named 'torch' - Build Aarch64 Linux Wheels / pytorch/vision / build-wheel-py3_10-cuda-aarch6412_6-aarch64 (gh)
ModuleNotFoundError: No module named 'torch' - Build Aarch64 Linux Wheels / pytorch/vision / build-wheel-py3_10-cuda-aarch6412_8-aarch64 (gh)
ModuleNotFoundError: No module named 'torch' - Build Aarch64 Linux Wheels / pytorch/vision / build-wheel-py3_10-cuda-aarch6412_9-aarch64 (gh)
ModuleNotFoundError: No module named 'torch' - Build Aarch64 Linux Wheels / pytorch/vision / build-wheel-py3_10-cuda-aarch6413_0-aarch64 (gh)
ModuleNotFoundError: No module named 'torch' - Build Aarch64 Linux Wheels / pytorch/vision / upload / upload-wheel-py3_10-cpu-aarch64 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cpu_aarch64 - Build Aarch64 Linux Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda-aarch6412_6-aarch64 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu126_aarch64 - Build Aarch64 Linux Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda-aarch6412_8-aarch64 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu128_aarch64 - Build Aarch64 Linux Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda-aarch6412_9-aarch64 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu129_aarch64 - Build Aarch64 Linux Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda-aarch6413_0-aarch64 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu130_aarch64 - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-cpu (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-cuda12_6 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-cuda12_8 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-cuda12_9 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-cuda13_0 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-rocm6_4 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-rocm7_0 (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / build-manywheel-py3_10-xpu (gh)
ModuleNotFoundError: No module named 'torch' - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-cpu (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cpu_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-cuda12_6 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu126_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-cuda12_8 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu128_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-cuda12_9 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu129_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-cuda13_0 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu130_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-rocm6_4 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_rocm6.4_x86_64 - Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-rocm7_0 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_rocm7.0_x86_64 - Build M1 Wheels / pytorch/vision / build-wheel-py3_10-cpu (gh)
Process completed with exit code 1. - Build M1 Wheels / pytorch/vision / upload / upload-wheel-py3_10-cpu (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cpu_ - Build Windows Wheels / pytorch/vision / build-wheel-py3_10-cpu (gh)
- Build Windows Wheels / pytorch/vision / build-wheel-py3_10-cuda12_6 (gh)
Process completed with exit code 1. - Build Windows Wheels / pytorch/vision / build-wheel-py3_10-cuda12_8 (gh)
Process completed with exit code 1. - Build Windows Wheels / pytorch/vision / build-wheel-py3_10-cuda13_0 (gh)
- Build Windows Wheels / pytorch/vision / build-wheel-py3_10-xpu (gh)
Process completed with exit code 1. - Build Windows Wheels / pytorch/vision / upload / upload-wheel-py3_10-cpu (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cpu_x64 - Build Windows Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda12_6 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu126_x64 - Build Windows Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda12_8 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu128_x64 - Build Windows Wheels / pytorch/vision / upload / upload-wheel-py3_10-cuda13_0 (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_cu130_x64 - Build Windows Wheels / pytorch/vision / upload / upload-wheel-py3_10-xpu (gh)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_xpu_x64 - CMake / linux (linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 43628fcfcff0db38b17eafd2d9a0c82773766344ca23c2b6a905cec08c810a51 /exec failed with exit code 1 - CMake / linux (linux.g5.4xlarge.nvidia.gpu, cuda, 12.6) / linux-job (gh)
RuntimeError: Command docker exec -t aa0c9dfe5f5e9db21de9366f683af5e019ad396c4fe889ae06b403852dc3b5b4 /exec failed with exit code 1 - CMake / macos (macos-m1-stable) / macos-job (gh)
RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1 - Docs / build / linux-job (gh)
RuntimeError: Command docker exec -t b189a135d7e19cd323b88ef751e54a50a169c3927497bd1fb11a16ca1283bc68 /exec failed with exit code 2 - Lint / python-source-and-configs / linux-job (gh)
RuntimeError: Command docker exec -t f082efa49fe0d856adbcf26c343b82a7b5fcfca90ffbf2fa8c938ade1ea3513d /exec failed with exit code 1 - Tests / unittests-linux (3.10, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 4ae3a667a128ffa24861806454f688b9bbbfe31c21c76aa3c1bb58d642ee0842 /exec failed with exit code 1 - Tests / unittests-linux (3.10, linux.g5.4xlarge.nvidia.gpu, cuda, 12.6) / linux-job (gh)
RuntimeError: Command docker exec -t 2b362aa192c3be63bf776c2cf7d7b7cb2e529b8db303fd8248017c80316c5200 /exec failed with exit code 1 - Tests / unittests-linux (3.11, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 2ece44e55d447876a24b641f926bc7504ae2891c557fee9367e7a7a9906afd20 /exec failed with exit code 1 - Tests / unittests-linux (3.12, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t ae8e2a9da6742b1dede1207f3d10d06691afaa5cf507f5b215b29189f9e1ce6c /exec failed with exit code 1 - Tests / unittests-macos (3.10, macos-m1-stable) / macos-job (gh)
RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1 - Tests / unittests-macos (3.12, macos-m1-stable) / macos-job (gh)
RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1 - Tests / unittests-windows (3.10, windows.4xlarge, cpu) / windows-job (gh)
Process completed with exit code 1. - Tests / unittests-windows (3.11, windows.4xlarge, cpu) / windows-job (gh)
Process completed with exit code 1. - Tests / unittests-windows (3.12, windows.4xlarge, cpu) / windows-job (gh)
Process completed with exit code 1.
BROKEN TRUNK - The following job failed but were present on the merge base:
👉 Rebase onto the `viable/strict` branch to avoid these failures
- Build Linux Wheels / pytorch/vision / upload / upload-manywheel-py3_10-xpu (gh) (trunk failure)
Unable to download artifact(s): Artifact not found for name: pytorch_vision__3.10_xpu_x86_64
This comment was automatically generated by Dr. CI and updates every 15 minutes.
Hi @dimidagd!
Thank you for your pull request and welcome to our community.
Action Required
In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.
Process
In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.
If you have received this in error or have any questions, please contact us at [email protected]. Thanks!
@NicolasHug I could not find a duplicate of this, perhaps you know better.