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

[BUG] torchrl error #97

Closed
1 of 2 tasks
aiguoli opened this issue Oct 9, 2023 · 2 comments
Closed
1 of 2 tasks

[BUG] torchrl error #97

aiguoli opened this issue Oct 9, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@aiguoli
Copy link

aiguoli commented Oct 9, 2023

Describe the bug

When running the code in the quickstart, an error occurs:

ImportError: /usr/local/lib/python3.10/dist-packages/torchrl/_torchrl.so: undefined symbol: _ZN5torch8autograd13_wrap_outputsERKSt6vectorIN2at6TensorESaIS3_EERKSt13unordered_setIPN3c1010TensorImplESt4hashISB_ESt8equal_toISB_ESaISB_EESJ_NS9_8ArrayRefINS9_8optionalIS3_EEEERKSt10shared_ptrINS0_4NodeEESt8functionIFS5_S5_S5_EESJ_

I tested it locally, and the same issue occurs.
My environment:

python 3.11
rl4co 0.2.0
pytorch 2.0.1

To Reproduce

Just open your link

Additional context

I remember that the code could still run in the older version.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have provided a minimal working example to reproduce the bug (required)
@aiguoli aiguoli added the bug Something isn't working label Oct 9, 2023
@fedebotu
Copy link
Member

fedebotu commented Oct 9, 2023

Hi @aiguoli
That is a currently known bug, you should install rl4co with Python < 3.11. You may follow the installation instructions here for now.
We will have a major release in which the problem above should be solved, so stay tuned!

@fedebotu
Copy link
Member

@aiguoli we solved the problem with the latest release 🚀
Please do let us know if you find any other problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants