pytorch / tutorials

PyTorch tutorials.
https://pytorch.org/tutorials/
BSD 3-Clause "New" or "Revised" License
8.16k stars 4.05k forks source link

ax_multiobjective_nas_tutorial.py is failing against 1.13 #2090

Closed svekars closed 1 year ago

svekars commented 1 year ago

ax_multiobjective_nas_tutorial.py is failing against 1.13 binaries. More details here.

We will disable this tutorial until this issue is resolved.

cc: @Balandat @malfet

Balandat commented 1 year ago

Thanks for the heads up.

This seems to be an issue with TorchX which appears to fail on import? @d4l3k are there known incompatibilities between torchx and torch 1.13 (looks like the torchx version installed in CI is 0.2.0).

Balandat commented 1 year ago

cc @dme65, @esantorella

d4l3k commented 1 year ago

The issue isn't TorchX or torch 1.13 -- importlib_metadata broke backwards compatibility with Python 3.7

https://github.com/python/importlib_metadata/issues/411

We've had to pin <5.0 in trunk https://github.com/pytorch/torchx/blob/main/dev-requirements.txt#L10 to resolve the issue

Balandat commented 1 year ago

Great, thanks for the quick response. Let me put up a PR to add that pin also to the reqs for the tutorials.

Balandat commented 1 year ago

@svekars I merged the fix, I assume this can be closed? Or is there anything that needs to be done to re-enable the tutorial?