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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pytorch version when TLS issue is solved #305

Closed
jrapin opened this issue Nov 4, 2019 · 1 comment
Closed

Update pytorch version when TLS issue is solved #305

jrapin opened this issue Nov 4, 2019 · 1 comment

Comments

@jrapin
Copy link
Contributor

jrapin commented Nov 4, 2019

We observe incompatibility between pytorch 1.3.0 and sklearn:

(venv) circleci@95c3075fe681:~/repo$ python -m nevergrad.functions.rl.test_envs
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/local/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/circleci/repo/nevergrad/functions/rl/__init__.py", line 7, in <module>
    from . import agents
  File "/home/circleci/repo/nevergrad/functions/rl/agents.py", line 12, in <module>
    import torch
  File "/home/circleci/repo/venv/lib/python3.6/site-packages/torch/__init__.py", line 81, in <module>
    from torch._C import *
ImportError: dlopen: cannot load any more object with static TLS

A fix on pytorch may be coming:
pytorch/pytorch#28536

In the meantime version of pytorch is <1.3.0 (from #307)

@jrapin jrapin mentioned this issue Nov 4, 2019
7 tasks
danthe3rd added a commit that referenced this issue Dec 19, 2019
@jrapin
Copy link
Contributor Author

jrapin commented Jan 27, 2020

Solved by #391

@jrapin jrapin closed this as completed Jan 27, 2020
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