Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow v2 Resize to resize longer edge exactly to max_size #8459

Merged
merged 8 commits into from
Jun 5, 2024

Avoids skipping some tests

a9b8daf
Select commit
Loading
Failed to load commit list.
Merged

Allow v2 Resize to resize longer edge exactly to max_size #8459

Avoids skipping some tests
a9b8daf
Select commit
Loading
Failed to load commit list.
PyTorch Bot / Dr.CI completed Jun 5, 2024 in 0s

Dr.CI classification results

{"FAILED":[{"workflowId":9382993136,"workflowUniqueId":56904657,"id":25835644448,"runnerName":"i-02cbb000d1fc8a499","authorEmail":"contact@nicolas-hug.com","name":"CMake / windows (windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job","jobName":"windows (windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job","conclusion":"failure","completed_at":"2024-06-05T11:59:52Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993136/job/25835644448","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128"],"failure_lines":["##[error]The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128"],"failure_context":[],"time":"2024-06-05T11:59:54.594372Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835643369,"runnerName":"i-07daad668f0487fc6","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-linux (3.12, linux.12xlarge, cpu) / linux-job","jobName":"unittests-linux (3.12, linux.12xlarge, cpu) / linux-job","conclusion":"failure","completed_at":"2024-06-05T11:30:27Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835643369","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: DGifOpenFileName() failed - 103"],"failure_lines":["RuntimeError: DGifOpenFileName() failed - 103"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/conda/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:30:32.277392Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835644455,"runnerName":"i-0440564c4477cd72d","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-linux (3.8, linux.12xlarge, cpu) / linux-job","jobName":"unittests-linux (3.8, linux.12xlarge, cpu) / linux-job","conclusion":"failure","completed_at":"2024-06-05T11:31:36Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835644455","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: Command docker exec -t 844b5ea40a60a9cbbbfd8dfe96cb30c83c4bd517ceb219e899180b795d4bcb59 /exec failed with exit code 1"],"failure_lines":["RuntimeError: Command docker exec -t 844b5ea40a60a9cbbbfd8dfe96cb30c83c4bd517ceb219e899180b795d4bcb59 /exec failed with exit code 1"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/conda/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:31:39.705631Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835645940,"runnerName":"i-0316a7154301bc69f","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-macos (3.8, macos-m1-stable) / macos-job","jobName":"unittests-macos (3.8, macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:10Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835645940","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: operator torchvision::nms does not exist"],"failure_lines":["RuntimeError: operator torchvision::nms does not exist"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/homebrew/Caskroom/miniconda/base/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:10:17.707085Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835647415,"runnerName":"i-02cbb000d1fc8a499","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-windows (3.8, windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job","jobName":"unittests-windows (3.8, windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job","conclusion":"failure","completed_at":"2024-06-05T12:00:37Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835647415","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128"],"failure_lines":["##[error]The process 'C:\Program Files\Git\cmd\git.exe' failed with exit code 128"],"failure_context":[],"time":"2024-06-05T12:00:41.543750Z"}],"FLAKY":[],"BROKEN_TRUNK":[{"workflowId":9382993149,"workflowUniqueId":39660538,"id":25835900275,"runnerName":"GitHub Actions 6","authorEmail":"contact@nicolas-hug.com","name":"Build M1 Conda / pytorch/vision / upload / conda-py3_8-cpu","jobName":"pytorch/vision / upload / conda-py3_8-cpu","conclusion":"failure","completed_at":"2024-06-05T11:14:17Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993149/job/25835900275","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["Unable to find any artifacts for the associated workflow"],"failure_lines":["##[error]Unable to find any artifacts for the associated workflow"],"failure_context":["+ echo BUILD_ENV_FILE=/home/runner/work/_temp/build_env_9382993149","+ cat /home/runner/work/_temp/build_env_9382993149","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_9382993149","+ python -m pip install /home/runner/work/vision/vision/test-infra/tools/pkg-helpers","+ echo ARTIFACT_NAME=pytorch_vision__3.8_cpu","+ echo CHANNEL=nightly"],"time":"2024-06-05T11:14:20.608485Z"},{"workflowId":9382993140,"workflowUniqueId":39450921,"id":25835788495,"runnerName":"GitHub Actions 84","authorEmail":"contact@nicolas-hug.com","name":"Build M1 Wheels / pytorch/vision / upload / wheel-py3_8-cpu","jobName":"pytorch/vision / upload / wheel-py3_8-cpu","conclusion":"failure","completed_at":"2024-06-05T11:12:01Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993140/job/25835788495","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["Unable to find any artifacts for the associated workflow"],"failure_lines":["##[error]Unable to find any artifacts for the associated workflow"],"failure_context":["+ echo BUILD_ENV_FILE=/home/runner/work/_temp/build_env_9382993140","+ cat /home/runner/work/_temp/build_env_9382993140","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_9382993140","+ python -m pip install /home/runner/work/vision/vision/test-infra/tools/pkg-helpers","+ echo ARTIFACT_NAME=pytorch_vision__3.8_cpu","+ echo CHANNEL=nightly"],"time":"2024-06-05T11:19:53.150292Z"},{"workflowId":9382993136,"workflowUniqueId":56904657,"id":25835642709,"runnerName":"i-0e241c50b08d36e03","authorEmail":"contact@nicolas-hug.com","name":"CMake / macos (macos-m1-stable) / macos-job","jobName":"macos (macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:10Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993136/job/25835642709","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: operator torchvision::nms does not exist"],"failure_lines":["RuntimeError: operator torchvision::nms does not exist"],"failure_context":["+ python script_model.py","+ pushd examples/cpp","+ mkdir -p cpp_build","+ echo '::group::Prepare CMake builds'","+ WITH_CUDA=0","+ [[ cpu == \c\u\d\a ]]","+ Torch_DIR=/opt/homebrew/Caskroom/miniconda/base/envs/ci/lib/python3.8/site-packages/torch/share/cmake/Torch","+ [[ macos == windows ]]","+ TORCH_PATH=/opt/homebrew/Caskroom/miniconda/base/envs/ci/lib/python3.8/site-packages/torch","++ python -c 'import pathlib, torch; print(pathlib.Path(torch.path[0]))'","+ JOBS=8","++ sysctl -n hw.logicalcpu"],"time":"2024-06-05T11:10:19.085021Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835645156,"runnerName":"i-05d4eb9cb5e55ed08","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-macos (3.10, macos-m1-stable) / macos-job","jobName":"unittests-macos (3.10, macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:18Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835645156","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1"],"failure_lines":["RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/homebrew/Caskroom/miniconda/base/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:10:27.644203Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835645542,"runnerName":"i-0c4311c36804d61ef","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-macos (3.11, macos-m1-stable) / macos-job","jobName":"unittests-macos (3.11, macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:23Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835645542","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: operator torchvision::nms does not exist"],"failure_lines":["RuntimeError: operator torchvision::nms does not exist"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/homebrew/Caskroom/miniconda/base/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:10:33.644048Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835645743,"runnerName":"i-0d17fab78876f1ec2","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-macos (3.12, macos-m1-stable) / macos-job","jobName":"unittests-macos (3.12, macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:08Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835645743","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: operator torchvision::nms does not exist"],"failure_lines":["RuntimeError: operator torchvision::nms does not exist"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/homebrew/Caskroom/miniconda/base/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:10:14.707009Z"},{"workflowId":9382993134,"workflowUniqueId":56905118,"id":25835646160,"runnerName":"i-03e788407fa318cec","authorEmail":"contact@nicolas-hug.com","name":"Tests / unittests-macos (3.9, macos-m1-stable) / macos-job","jobName":"unittests-macos (3.9, macos-m1-stable) / macos-job","conclusion":"failure","completed_at":"2024-06-05T11:10:05Z","html_url":"https://github.com/pytorch/vision/actions/runs/9382993134/job/25835646160","head_branch":"transform_resize_none","pr_number":8459,"head_sha":"a9b8daf54bf98cb84b39d08d87770fd18d96100c","head_sha_timestamp":"2024-06-05T11:07:11Z","failure_captures":["RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1"],"failure_lines":["RuntimeError: Command bash /Users/ec2-user/runner/_work/_temp/exec_script failed with exit code 1"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /opt/homebrew/Caskroom/miniconda/base/bin/conda list","+ __conda_exe list","+ case "$cmd" in","+ local cmd=list","+ conda list","+ echo '::group::Collect environment information'","+ echo ::endgroup::","+ python setup.py develop","+ echo '::group::Install TorchVision'","+ echo ::endgroup::"],"time":"2024-06-05T11:10:12.705882Z"}],"UNSTABLE":[]}