Update deprecated autocast functions
Codemodded with TorchFix https://github.com/pytorch-labs/torchfix/
torchfix . --select=TOR101 --fix
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8825
- :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: 7 New Failures
As of commit c6ba4870a0728dc7c4925e81d7c00dc1fa07b7c8 with merge base 867521ec82c78160b16eec1c3a02d4cef93723ff ():
NEW FAILURES - The following jobs have failed:
- Tests / unittests-linux (3.10, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 4053c81c4592b43776f54b7bed6da7a28ead001b4e1592dd6733565c7e2377d5 /exec failed with exit code 1 - Tests / unittests-linux (3.11, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t ce5948e858f3ececa85eaf1956fa0704990c6360f27585ef14b2907c44a46e9a /exec failed with exit code 1 - Tests / unittests-linux (3.12, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 6d8d2cc091f8265155c83edf4f0610b48f4af12ffdd8eb69aa8c02886b589676 /exec failed with exit code 1 - Tests / unittests-linux (3.9, linux.12xlarge, cpu) / linux-job (gh)
RuntimeError: Command docker exec -t 03fef006e1889a737d9fc0accd9f0d123598a8f2dcdad9b5b2ea0f4894cfafa2 /exec failed with exit code 1 - Tests / unittests-macos (3.11, 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.11, windows.4xlarge, cpu) / windows-job (gh)
test/test_datasets.py::FlyingThings3DTestCase::test_num_examples - Tests / unittests-windows (3.9, windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job (gh)
AttributeError: '_OpNamespace' 'image' object has no attribute '_jpeg_version'
This comment was automatically generated by Dr. CI and updates every 15 minutes.
Hi @kit1980!
Thank you for your pull request.
We require contributors to sign our Contributor License Agreement, and yours needs attention.
You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.
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!