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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly build flaky pytorch/vision / conda-py3_11-cpu builds #8372

Open
atalman opened this issue Apr 10, 2024 · 1 comment
Open

Nightly build flaky pytorch/vision / conda-py3_11-cpu builds #8372

atalman opened this issue Apr 10, 2024 · 1 comment

Comments

@atalman
Copy link
Contributor

atalman commented Apr 10, 2024

馃悰 Describe the bug

Flaky issue on pytorch/vision / conda-py3_11-cpu builds. Has been happening for a while now.
Most likely due to corrupt worker environment:

+ __conda_exe run -p /Users/ec2-user/runner/_work/_temp/pytorch_pkg_helpers_8521283920_smoke python3 pytorch/vision/test/smoke_test.py
+ /opt/homebrew/Caskroom/miniconda/base/bin/conda run -p /Users/ec2-user/runner/_work/_temp/pytorch_pkg_helpers_8521283920_smoke python3 pytorch/vision/test/smoke_test.py
/Users/ec2-user/.local/lib/python3.11/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
torchvision: 0.19.0a0+480eec2
Traceback (most recent call last):
  File "/Users/ec2-user/runner/_work/vision/vision/pytorch/vision/test/smoke_test.py", line 103, in <module>
    main()
  File "/Users/ec2-user/runner/_work/vision/vision/pytorch/vision/test/smoke_test.py", line 83, in main
    print(f"{torch.ops.image._jpeg_version() = }")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ec2-user/runner/_work/_temp/pytorch_pkg_helpers_8521283920_smoke/lib/python3.11/site-packages/torch/_ops.py", line 927, in __getattr__
    raise AttributeError(
AttributeError: '_OpNamespace' 'image' object has no attribute '_jpeg_version'

ERROR conda.cli.main_run:execute(124): `conda run python3 pytorch/vision/test/smoke_test.py` failed. (See above for error)
torch.cuda.is_available: False

Rerun is ususally successful

Versions

0.19.0

@atalman
Copy link
Contributor Author

atalman commented Apr 10, 2024

cc @huydhn @NicolasHug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant