From 0ea236d23e8fb43e29e8b72147659c8caad5b38a Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Mon, 22 Apr 2024 16:18:30 +0100 Subject: [PATCH] [Minor] Move distributed examples to examples (#2097) --- README.md | 2 +- .../distributed/collectors/README.md | 0 .../distributed/collectors/multi_nodes/delayed_dist.py | 0 .../distributed/collectors/multi_nodes/delayed_rpc.py | 0 .../distributed/collectors/multi_nodes/generic.py | 0 .../distributed/collectors/multi_nodes/ray.py | 0 .../distributed/collectors/multi_nodes/ray_train.py | 0 .../distributed/collectors/multi_nodes/rpc.py | 0 .../distributed/collectors/multi_nodes/sync.py | 0 .../distributed/collectors/single_machine/generic.py | 0 .../distributed/collectors/single_machine/rpc.py | 0 .../distributed/collectors/single_machine/sync.py | 0 .../distributed/replay_buffers/distributed_replay_buffer.py | 0 13 files changed, 1 insertion(+), 1 deletion(-) rename {sota-implementations => examples}/distributed/collectors/README.md (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/delayed_dist.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/delayed_rpc.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/generic.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/ray.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/ray_train.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/rpc.py (100%) rename {sota-implementations => examples}/distributed/collectors/multi_nodes/sync.py (100%) rename {sota-implementations => examples}/distributed/collectors/single_machine/generic.py (100%) rename {sota-implementations => examples}/distributed/collectors/single_machine/rpc.py (100%) rename {sota-implementations => examples}/distributed/collectors/single_machine/sync.py (100%) rename {sota-implementations => examples}/distributed/replay_buffers/distributed_replay_buffer.py (100%) diff --git a/README.md b/README.md index 53ce0127bec..1601ff6f000 100644 --- a/README.md +++ b/README.md @@ -315,7 +315,7 @@ And it is `functorch` and `torch.compile` compatible! ``` - Check our [distributed collector examples](sota-implementations/distributed/collectors) to + Check our [distributed collector examples](examples/distributed/collectors) to learn more about ultra-fast data collection with TorchRL. - efficient(2) and generic(1) [replay buffers](torchrl/data/replay_buffers/replay_buffers.py) with modularized storage: diff --git a/sota-implementations/distributed/collectors/README.md b/examples/distributed/collectors/README.md similarity index 100% rename from sota-implementations/distributed/collectors/README.md rename to examples/distributed/collectors/README.md diff --git a/sota-implementations/distributed/collectors/multi_nodes/delayed_dist.py b/examples/distributed/collectors/multi_nodes/delayed_dist.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/delayed_dist.py rename to examples/distributed/collectors/multi_nodes/delayed_dist.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/delayed_rpc.py b/examples/distributed/collectors/multi_nodes/delayed_rpc.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/delayed_rpc.py rename to examples/distributed/collectors/multi_nodes/delayed_rpc.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/generic.py b/examples/distributed/collectors/multi_nodes/generic.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/generic.py rename to examples/distributed/collectors/multi_nodes/generic.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/ray.py b/examples/distributed/collectors/multi_nodes/ray.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/ray.py rename to examples/distributed/collectors/multi_nodes/ray.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/ray_train.py b/examples/distributed/collectors/multi_nodes/ray_train.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/ray_train.py rename to examples/distributed/collectors/multi_nodes/ray_train.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/rpc.py b/examples/distributed/collectors/multi_nodes/rpc.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/rpc.py rename to examples/distributed/collectors/multi_nodes/rpc.py diff --git a/sota-implementations/distributed/collectors/multi_nodes/sync.py b/examples/distributed/collectors/multi_nodes/sync.py similarity index 100% rename from sota-implementations/distributed/collectors/multi_nodes/sync.py rename to examples/distributed/collectors/multi_nodes/sync.py diff --git a/sota-implementations/distributed/collectors/single_machine/generic.py b/examples/distributed/collectors/single_machine/generic.py similarity index 100% rename from sota-implementations/distributed/collectors/single_machine/generic.py rename to examples/distributed/collectors/single_machine/generic.py diff --git a/sota-implementations/distributed/collectors/single_machine/rpc.py b/examples/distributed/collectors/single_machine/rpc.py similarity index 100% rename from sota-implementations/distributed/collectors/single_machine/rpc.py rename to examples/distributed/collectors/single_machine/rpc.py diff --git a/sota-implementations/distributed/collectors/single_machine/sync.py b/examples/distributed/collectors/single_machine/sync.py similarity index 100% rename from sota-implementations/distributed/collectors/single_machine/sync.py rename to examples/distributed/collectors/single_machine/sync.py diff --git a/sota-implementations/distributed/replay_buffers/distributed_replay_buffer.py b/examples/distributed/replay_buffers/distributed_replay_buffer.py similarity index 100% rename from sota-implementations/distributed/replay_buffers/distributed_replay_buffer.py rename to examples/distributed/replay_buffers/distributed_replay_buffer.py