Closed smorad closed 1 year ago
Got it let me have look
You're running this from /Users/smorad/code/explore/
right? And this is where you install tensordict
. So perhaps it's trying to import from tensordict
and not tensordict/tensordict
?
Oh you're totally right, shadowing the installed tensordict
with the directory was causing the second error. Latest commits work with both! It might be worth setting the rl:main
branch to track the tensordict:main
branch as a dependency, rather than whatever is in pip. This way people can just pip install git+https://github.com/pytorch/rl
and get a compatible tensordict
install.
I'd normally use the pip version of torchrl
but there has been lots of fixes/development since the last stable release!
I'd normally use the pip version of torchrl but there has been lots of fixes/development since the last stable release!
Yep things are moving fast around here :)
You can always use the nightly pip install torchrl-nightly
Describe the bug
I'm unable to use DQN on the latest commit.
To Reproduce
Now run a simple import
Ok, perhaps we need to update tensordict to latest
Now we get a new error
System info
Describe the characteristic of your environment: macos
Checklist