Skip to content

Heads up: torch 1.9.1 currently causes error #146

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

Closed
ourownstory opened this issue Oct 16, 2021 · 2 comments
Closed

Heads up: torch 1.9.1 currently causes error #146

ourownstory opened this issue Oct 16, 2021 · 2 comments

Comments

@ourownstory
Copy link
Contributor

ourownstory commented Oct 16, 2021

Hyperparameter tuning runs into error:
ImportError: cannot import name 'container_abcs' from 'torch._six'

Also discussed in:
NVIDIA/apex#1049

torch 1.8.1 or 1.7.1 does not throw this error

@michaelbrundage
Copy link
Contributor

Thanks for reporting, and also the NVIDIA/apex link. I had run into the same issue this morning on torch 1.9.0. It seems this torch 1.9.0 change broke many projects. In my case, however, the error came from time_series_parameter_tuning when it imports ax, which in turn imports botorch, which then triggers the ImportError. Was it the same for you? If so, then this bug is upstream; the only thing Kats can do is try to change the version requirements for ax and/or botorch.

@michaelbrundage
Copy link
Contributor

duplicate of #142
fix pending to require torch<=1.8.1

@rohanfb rohanfb closed this as completed Feb 14, 2022
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

3 participants