Skip to content

Conversation

@bmedishe
Copy link

@bmedishe bmedishe commented Mar 28, 2022

This PR is dependent on pytorch/pytorch#74704
Remove the redundant call for hipify from setup.py

  • build -passes
  • pytest test/test_transforms.py --
SKIPPED [1] test/test_transforms.py:156: accimage not available
SKIPPED [1] test/test_transforms.py:164: accimage not available
SKIPPED [1] test/test_transforms.py:173: accimage not available
SKIPPED [1] test/test_transforms.py:194: accimage not available
SKIPPED [1] test/test_transforms.py:933: Temporarily disabled
XFAIL test/test_transforms.py::test_max_value_iinfo
  torch.iinfo() is not supported by torchscript. See https://github.com/pytorch/pytorch/issues/41492.
============================================================================== 1306 passed, 5 skipped, 1 xfailed, 361 warnings in 449.93s (0:07:29) ==============================================================================

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 28, 2022

💊 CI failures summary and remediations

As of commit d8b3539 (more details on the Dr. CI page):


  • 8/8 failures introduced in this PR

🕵️ 4 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See CircleCI build binary_linux_wheel_py3.8_rocm5.0 (1/4)

Step: "packaging/build_wheel.sh" (full log | diagnosis details | 🔁 rerun)

/opt/python/cp38-cp38/lib/python3.8/site-packag...rnally at /pytorch/c10/hip/HIPFunctions.cpp:110.)
Successfully installed torch-1.12.0.dev20220404+rocm5.0 typing-extensions-4.1.1
�[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv�[0m�[33m
�[0m+ [[ '' == \c\p\u ]]
++ pip show torch
++ grep '^Version:'
++ sed 's/Version:  *//'
+ export PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ python setup.py clean
Building wheel torchvision-0.13.0.dev20220404+rocm5.0
/opt/python/cp38-cp38/lib/python3.8/site-packages/torch/cuda/__init__.py:82: UserWarning: HIP initialization: Unexpected error from hipGetDeviceCount(). Did you run some cuda functions before calling NumHipDevices() that might have already set an error? Error 101: hipErrorInvalidDevice (Triggered internally at  /pytorch/c10/hip/HIPFunctions.cpp:110.)
  return torch._C._cuda_getDeviceCount() > 0
/root/project/torchvision/csrc/macros.h -> /root/project/torchvision/csrc/macros.h ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/vision.cpp -> /root/project/torchvision/csrc/vision_hip.cpp ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/io/decoder/defs.h -> /root/project/torchvision/csrc/io/decoder/defs.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok
/root/project/torchvision/csrc/io/decoder/util.h -> /root/project/torchvision/csrc/io/decoder/util.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.cpp -> /root/project/torchvision/csrc/io/decoder/audio_sampler.cpp ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok

See CircleCI build binary_linux_wheel_py3.9_rocm5.0 (2/4)

Step: "packaging/build_wheel.sh" (full log | diagnosis details | 🔁 rerun)

/opt/python/cp39-cp39/lib/python3.9/site-packag...rnally at /pytorch/c10/hip/HIPFunctions.cpp:110.)
Successfully installed torch-1.12.0.dev20220404+rocm5.0 typing-extensions-4.1.1
�[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv�[0m�[33m
�[0m+ [[ '' == \c\p\u ]]
++ pip show torch
++ grep '^Version:'
++ sed 's/Version:  *//'
+ export PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ python setup.py clean
Building wheel torchvision-0.13.0.dev20220404+rocm5.0
/opt/python/cp39-cp39/lib/python3.9/site-packages/torch/cuda/__init__.py:82: UserWarning: HIP initialization: Unexpected error from hipGetDeviceCount(). Did you run some cuda functions before calling NumHipDevices() that might have already set an error? Error 101: hipErrorInvalidDevice (Triggered internally at  /pytorch/c10/hip/HIPFunctions.cpp:110.)
  return torch._C._cuda_getDeviceCount() > 0
/root/project/torchvision/csrc/macros.h -> /root/project/torchvision/csrc/macros.h ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/vision.cpp -> /root/project/torchvision/csrc/vision_hip.cpp ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/io/decoder/defs.h -> /root/project/torchvision/csrc/io/decoder/defs.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok
/root/project/torchvision/csrc/io/decoder/util.h -> /root/project/torchvision/csrc/io/decoder/util.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.cpp -> /root/project/torchvision/csrc/io/decoder/audio_sampler.cpp ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok

See CircleCI build binary_linux_wheel_py3.10_rocm5.0 (3/4)

Step: "packaging/build_wheel.sh" (full log | diagnosis details | 🔁 rerun)

/opt/python/cp310-cp310/lib/python3.10/site-pac...rnally at /pytorch/c10/hip/HIPFunctions.cpp:110.)
Successfully installed torch-1.12.0.dev20220404+rocm5.0 typing-extensions-4.1.1
�[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv�[0m�[33m
�[0m+ [[ '' == \c\p\u ]]
++ pip show torch
++ grep '^Version:'
++ sed 's/Version:  *//'
+ export PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ python setup.py clean
Building wheel torchvision-0.13.0.dev20220404+rocm5.0
/opt/python/cp310-cp310/lib/python3.10/site-packages/torch/cuda/__init__.py:82: UserWarning: HIP initialization: Unexpected error from hipGetDeviceCount(). Did you run some cuda functions before calling NumHipDevices() that might have already set an error? Error 101: hipErrorInvalidDevice (Triggered internally at  /pytorch/c10/hip/HIPFunctions.cpp:110.)
  return torch._C._cuda_getDeviceCount() > 0
/root/project/torchvision/csrc/macros.h -> /root/project/torchvision/csrc/macros.h ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/vision.cpp -> /root/project/torchvision/csrc/vision_hip.cpp ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/io/decoder/defs.h -> /root/project/torchvision/csrc/io/decoder/defs.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok
/root/project/torchvision/csrc/io/decoder/util.h -> /root/project/torchvision/csrc/io/decoder/util.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.cpp -> /root/project/torchvision/csrc/io/decoder/audio_sampler.cpp ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok

See CircleCI build binary_linux_wheel_py3.7_rocm5.0 (4/4)

Step: "packaging/build_wheel.sh" (full log | diagnosis details | 🔁 rerun)

/opt/python/cp37-cp37m/lib/python3.7/site-packa...rnally at /pytorch/c10/hip/HIPFunctions.cpp:110.)
Successfully installed torch-1.12.0.dev20220404+rocm5.0
�[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv�[0m�[33m
�[0m+ [[ '' == \c\p\u ]]
++ pip show torch
++ grep '^Version:'
++ sed 's/Version:  *//'
+ export PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ PYTORCH_VERSION=1.12.0.dev20220404+rocm5.0
+ python setup.py clean
Building wheel torchvision-0.13.0.dev20220404+rocm5.0
/opt/python/cp37-cp37m/lib/python3.7/site-packages/torch/cuda/__init__.py:82: UserWarning: HIP initialization: Unexpected error from hipGetDeviceCount(). Did you run some cuda functions before calling NumHipDevices() that might have already set an error? Error 101: hipErrorInvalidDevice (Triggered internally at  /pytorch/c10/hip/HIPFunctions.cpp:110.)
  return torch._C._cuda_getDeviceCount() > 0
/root/project/torchvision/csrc/macros.h -> /root/project/torchvision/csrc/macros.h ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/vision.cpp -> /root/project/torchvision/csrc/vision_hip.cpp ok
/root/project/torchvision/csrc/vision.h -> /root/project/torchvision/csrc/vision.h ok
/root/project/torchvision/csrc/io/decoder/defs.h -> /root/project/torchvision/csrc/io/decoder/defs.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok
/root/project/torchvision/csrc/io/decoder/util.h -> /root/project/torchvision/csrc/io/decoder/util.h ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.cpp -> /root/project/torchvision/csrc/io/decoder/audio_sampler.cpp ok
/root/project/torchvision/csrc/io/decoder/audio_sampler.h -> /root/project/torchvision/csrc/io/decoder/audio_sampler.h ok

🕵️‍♀️ 4 failures not recognized by patterns:

The following CI failures may be due to changes from the PR
Job Step Action
CircleCI binary_linux_wheel_py3.9_rocm4.5.2 packaging/build_wheel.sh 🔁 rerun
CircleCI binary_linux_wheel_py3.10_rocm4.5.2 packaging/build_wheel.sh 🔁 rerun
CircleCI binary_linux_wheel_py3.8_rocm4.5.2 packaging/build_wheel.sh 🔁 rerun
CircleCI binary_linux_wheel_py3.7_rocm4.5.2 packaging/build_wheel.sh 🔁 rerun

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@datumbox
Copy link
Contributor

@bmedishe Thanks for the contribution. Our CI is fried at the moment, so it's harder to tell what failure is related to this PR versus pre-exists. I think this might be a related failure?

@datumbox
Copy link
Contributor

@bmedishe @malfet Could you please clarify if we need to merge this prior the release? It seems that the referred dependent PR is still open on core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants