File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 4242 set_exploration_type ,
4343)
4444from torchrl .modules import RandomPolicy , set_exploration_modules_spec_from_env
45- from torchrl .weight_update import WeightSyncScheme
4645from torchrl .weight_update .utils import _resolve_model
46+ from torchrl .weight_update .weight_sync_schemes import WeightSyncScheme
4747
4848
4949class _CollectorProfiler :
Original file line number Diff line number Diff line change 1010
1111from torch import multiprocessing as mp , nn
1212
13- from torchrl ._utils import logger as torchrl_logger
14- from torchrl .collectors ._constants import WEIGHT_SYNC_TIMEOUT
13+ from torchrl ._utils import logger as torchrl_logger , WEIGHT_SYNC_TIMEOUT
1514
1615from torchrl .weight_update .utils import _resolve_model
1716from torchrl .weight_update .weight_sync_schemes import (
You can’t perform that action at this time.
0 commit comments