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] UserWarning: Failed to import torchrl C++ binaries ... If you installed TorchRL from PyPI, please report the bug on TorchRL github. #1926

Closed
whatdhack opened this issue Feb 19, 2024 · 0 comments · Fixed by #1914
Assignees
Labels
bug Something isn't working

Comments

@whatdhack
Copy link

Describe the bug

torchrl/data/replay_buffers/samplers.py:37: UserWarning: Failed to import torchrl C++ binaries. Some modules (eg, prioritized repl
ay buffers) may not work with your installation. If you installed TorchRL from PyPI, please report the bug on TorchRL github.

To Reproduce

Steps to reproduce the behavior.

Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.

Please use the markdown code blocks for both code and stack traces.

import torchrl

see above

Traceback (most recent call last):
  File ... 

Expected behavior

No warning/error message

Screenshots

If applicable, add screenshots to help explain your problem.

System info

Describe the characteristic of your environment:

  • Describe how the library was installed (pip, source, ...)
  • Python version
  • Versions of any other relevant libraries
import torchrl, numpy, sys
print(torchrl.__version__, numpy.__version__, sys.version, sys.platform)
0.3.0 1.26.1 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0] linux

Additional context

Add any other context about the problem here.

Reason and Possible fixes

If you know or suspect the reason for this bug, paste the code lines and suggest modifications.

Checklist

  • [X ] I have checked that there is no similar issue in the repo (required)
  • [X ] I have read the documentation (required)
  • [X ] I have provided a minimal working example to reproduce the bug (required)
@whatdhack whatdhack added the bug Something isn't working label Feb 19, 2024
@vmoens vmoens linked a pull request Feb 19, 2024 that will close this issue
10 tasks
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

Successfully merging a pull request may close this issue.

2 participants