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

Remove extraneous device conversions in raft #8500

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Merge branch 'main' into patch-1

0714fdb
Select commit
Loading
Failed to load commit list.
Draft

Remove extraneous device conversions in raft #8500

Merge branch 'main' into patch-1
0714fdb
Select commit
Loading
Failed to load commit list.
PyTorch Bot / Dr.CI completed Jul 25, 2024 in 0s

Dr.CI classification results

{"FAILED":[{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917507013,"runnerName":"i-023642dfc8bd327af","authorEmail":"[email protected]","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-07-25T14:56:43Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917507013","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["Process completed with exit code 1."],"failure_lines":["##[error]Process completed with exit code 1."],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /c/Jenkins/Miniconda3/Scripts/conda.exe 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-07-25T14:56:47.847429Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917502652,"runnerName":"i-0040d6b5dfc20fe05","authorEmail":"[email protected]","name":"Tests / unittests-linux (3.8, linux.g5.4xlarge.nvidia.gpu, cuda, 11.8) / linux-job","jobName":"unittests-linux (3.8, linux.g5.4xlarge.nvidia.gpu, cuda, 11.8) / linux-job","conclusion":"failure","completed_at":"2024-07-25T14:51:32Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917502652","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["RuntimeError: Command docker exec -t 2c07e9591089637ff95a7f8c67c0455a16201d0c8a8391c3634b18b69a2e7efa /exec failed with exit code 1"],"failure_lines":["RuntimeError: Command docker exec -t 2c07e9591089637ff95a7f8c67c0455a16201d0c8a8391c3634b18b69a2e7efa /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-07-25T14:51:36.671041Z"},{"workflowId":10096013701,"workflowUniqueId":50675671,"id":27917498351,"runnerName":"i-001eeddc788d6cc9f","authorEmail":"[email protected]","name":"Lint / python-types / linux-job","jobName":"python-types / linux-job","conclusion":"failure","completed_at":"2024-07-25T14:32:57Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013701/job/27917498351","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["RuntimeError: Command docker exec -t f2fc3c69822d3ffd0659d62085732079fec4eb68ca3785a82e175c930c98f5c3 /exec failed with exit code 1"],"failure_lines":["RuntimeError: Command docker exec -t f2fc3c69822d3ffd0659d62085732079fec4eb68ca3785a82e175c930c98f5c3 /exec failed with exit code 1"],"failure_context":["+ mypy --install-types --non-interactive --config-file mypy.ini","+ echo '::group::Lint Python types'","+ echo ::endgroup::","+ pip install --progress-bar=off mypy","+ echo '::group::Install lint tools'","+ hash -r","+ '[' -n '' ']'","+ '[' -n '' ']'","+ __conda_hashr","++ CONDA_PYTHON_EXE=/opt/conda/bin/python","++ export CONDA_PYTHON_EXE=/opt/conda/bin/python","++ _CE_CONDA="],"time":"2024-07-25T14:33:01.444161Z"}],"FLAKY":[],"BROKEN_TRUNK":[{"workflowId":10096013679,"workflowUniqueId":55958231,"id":27920714235,"runnerName":"GitHub Actions 120","authorEmail":"[email protected]","name":"Build Windows Conda / pytorch/vision / upload / conda-py3_8-cpu","jobName":"pytorch/vision / upload / conda-py3_8-cpu","conclusion":"failure","completed_at":"2024-07-25T15:26:42Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013679/job/27920714235","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","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_10096013679","+ cat /home/runner/work/_temp/build_env_10096013679","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_10096013679","+ 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-07-25T15:32:52.963218Z"},{"workflowId":10096013679,"workflowUniqueId":55958231,"id":27920714599,"runnerName":"GitHub Actions 258","authorEmail":"[email protected]","name":"Build Windows Conda / pytorch/vision / upload / conda-py3_8-cuda11_8","jobName":"pytorch/vision / upload / conda-py3_8-cuda11_8","conclusion":"failure","completed_at":"2024-07-25T15:26:43Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013679/job/27920714599","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","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_10096013679","+ cat /home/runner/work/_temp/build_env_10096013679","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_10096013679","+ python -m pip install /home/runner/work/vision/vision/test-infra/tools/pkg-helpers","+ echo ARTIFACT_NAME=pytorch_vision__3.8_cu118","+ echo CHANNEL=nightly"],"time":"2024-07-25T15:26:45.808927Z"},{"workflowId":10096013679,"workflowUniqueId":55958231,"id":27920714887,"runnerName":"GitHub Actions 85","authorEmail":"[email protected]","name":"Build Windows Conda / pytorch/vision / upload / conda-py3_8-cuda12_1","jobName":"pytorch/vision / upload / conda-py3_8-cuda12_1","conclusion":"failure","completed_at":"2024-07-25T15:26:45Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013679/job/27920714887","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","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_10096013679","+ cat /home/runner/work/_temp/build_env_10096013679","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_10096013679","+ python -m pip install /home/runner/work/vision/vision/test-infra/tools/pkg-helpers","+ echo ARTIFACT_NAME=pytorch_vision__3.8_cu121","+ echo CHANNEL=nightly"],"time":"2024-07-25T15:26:47.804707Z"},{"workflowId":10096013679,"workflowUniqueId":55958231,"id":27920715192,"runnerName":"GitHub Actions 292","authorEmail":"[email protected]","name":"Build Windows Conda / pytorch/vision / upload / conda-py3_8-cuda12_4","jobName":"pytorch/vision / upload / conda-py3_8-cuda12_4","conclusion":"failure","completed_at":"2024-07-25T15:26:46Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013679/job/27920715192","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","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_10096013679","+ cat /home/runner/work/_temp/build_env_10096013679","+ python -m pytorch_pkg_helpers","+ BUILD_ENV_FILE=/home/runner/work/temp/build_env_10096013679","+ python -m pip install /home/runner/work/vision/vision/test-infra/tools/pkg-helpers","+ echo ARTIFACT_NAME=pytorch_vision__3.8_cu124","+ echo CHANNEL=nightly"],"time":"2024-07-25T15:26:49.782809Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917498548,"runnerName":"i-0ff09ca92dec6148c","authorEmail":"[email protected]","name":"Tests / unittests-linux (3.10, linux.12xlarge, cpu) / linux-job","jobName":"unittests-linux (3.10, linux.12xlarge, cpu) / linux-job","conclusion":"failure","completed_at":"2024-07-25T14:51:29Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917498548","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"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-07-25T14:51:33.783998Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917500307,"runnerName":"i-0ec88757849d46908","authorEmail":"[email protected]","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-07-25T14:50:24Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917500307","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"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-07-25T14:50:29.801418Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917502291,"runnerName":"i-0e466247eb4d1326a","authorEmail":"[email protected]","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-07-25T14:51:32Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917502291","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"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-07-25T14:51:36.782342Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917503102,"runnerName":"i-057a9fa272671d225","authorEmail":"[email protected]","name":"Tests / unittests-linux (3.9, linux.12xlarge, cpu) / linux-job","jobName":"unittests-linux (3.9, linux.12xlarge, cpu) / linux-job","conclusion":"failure","completed_at":"2024-07-25T14:51:05Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917503102","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"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-07-25T14:51:09.026687Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917503535,"runnerName":"i-03733b92a97534e56","authorEmail":"[email protected]","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-07-25T14:53:02Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917503535","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /Users/ec2-user/runner/_work/_temp/miniconda/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-07-25T14:53:14.379228Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917504295,"runnerName":"i-0fb5ca86363c0ecc1","authorEmail":"[email protected]","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-07-25T14:52:39Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917504295","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /Users/ec2-user/runner/_work/_temp/miniconda/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-07-25T14:52:50.719490Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917504678,"runnerName":"i-0cb1da755664ecde4","authorEmail":"[email protected]","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-07-25T14:52:28Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917504678","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /Users/ec2-user/runner/_work/_temp/miniconda/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-07-25T14:52:42.105971Z"},{"workflowId":10096013682,"workflowUniqueId":56905118,"id":27917505055,"runnerName":"i-093bf033ba329e60b","authorEmail":"[email protected]","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-07-25T14:53:36Z","html_url":"https://github.com/pytorch/vision/actions/runs/10096013682/job/27917505055","head_branch":"patch-1","pr_number":8500,"head_sha":"0714fdb8c91e07e02e1c7caec976ec5a4d38d9f2","head_sha_timestamp":"2024-07-25T14:27:51Z","failure_captures":["test/test_io.py::TestVideo::test_write_video_with_audio[cuda]"],"failure_lines":["FAILED test/test_io.py::TestVideo::test_write_video_with_audio[cuda] - AssertionError: Torch not compiled with CUDA enabled"],"failure_context":["+ echo ::endgroup::","+ python -m torch.utils.collect_env","+ /Users/ec2-user/runner/_work/_temp/miniconda/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-07-25T14:53:47.965614Z"}],"UNSTABLE":[]}