-
Notifications
You must be signed in to change notification settings - Fork 427
Description
Describe the bug
I'm trying to run a python script, but before it even loads the classes to build and train the model, I get this error:
File "D:\repos\github\test\Models\torchrl_workflow_manager.py", line 45, in
from torchrl.data import TensorDictReplayBuffer, LazyTensorStorage
File "D:\anaconda310\envs\example_stable\lib\site-packages\torchrl_init_.py", line 49, in
import torchrl.collectors
File "D:\anaconda310\envs\example_stable\lib\site-packages\torchrl\collectors_init_.py", line 8, in
from .collectors import (
File "D:\anaconda310\envs\example_stable\lib\site-packages\torchrl\collectors\collectors.py", line 304, in
class SyncDataCollector(DataCollectorBase):
File "D:\anaconda310\envs\example_stable\lib\site-packages\torchrl_utils.py", line 490, in accept_remote_rref_udf_invocation
method = getattr(decorated_class, name)
AttributeError: provides. Did you mean: 'providedBy'?
To Reproduce
from torchrl.data import TensorDictReplayBuffer, LazyTensorStorage
System info
This is on Windows 11 Professional, using Python 3.10.18:
(example_stable) D:\repos\github\lotto_SFL_pg\dashboard>python --version
Python 3.10.18(example_stable) D:\repos\github\test\dashboard>pip show torchrl
Name: torchrl
Version: 0.6.0
Summary: UNKNOWN
Home-page: https://github.com/pytorch/rl
Author: torchrl contributors
Author-email: [email protected]
License: MIT
Location: d:\anaconda310\envs\example_stable\lib\site-packages
Requires: cloudpickle, numpy, packaging, tensordict, torch
Required-by:(example_stable) D:\repos\github\test\dashboard>pip show torch
Name: torch
Version: 2.5.0
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email: [email protected]
License: BSD-3-Clause
Location: d:\anaconda310\envs\example_stable\lib\site-packages
Requires: filelock, fsspec, jinja2, networkx, sympy, typing-extensions
Required-by: orbit-ml, pyro-ppl, tensordict, torchrl
Checklist
- I have checked that there is no similar issue in the repo (required)
- I have read the documentation (required)
- I have provided a minimal working example to reproduce the bug (required)