feat(config): introduce polymorphic architecture configs
centralized/decentralized
This commit is contained in:
parent
157e061f86
commit
82dfcabede
6 changed files with 163 additions and 32 deletions
21
configs/architecture/centralized.yaml
Normal file
21
configs/architecture/centralized.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Centralized Actor-Critic Architecture
|
||||
# Baseline configuration with a single global sensor and motor.
|
||||
|
||||
# Default values are defined in CentralizedConfig dataclass.
|
||||
# Use this configuration for standard PPO experiments.
|
||||
|
||||
sensor:
|
||||
hidden_dims: [64, 64]
|
||||
activation: "tanh"
|
||||
|
||||
motor:
|
||||
hidden_dims: []
|
||||
activation: "tanh"
|
||||
|
||||
feature_extractor:
|
||||
hidden_dims: [64, 64]
|
||||
activation: "tanh"
|
||||
|
||||
critic:
|
||||
hidden_dims: []
|
||||
activation: "tanh"
|
||||
31
configs/architecture/decentralized.yaml
Normal file
31
configs/architecture/decentralized.yaml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Decentralized Actor Architecture (NerveNet-MLP variant)
|
||||
# Multi-agent/distributed configuration using local sensors, propagators, and motors.
|
||||
|
||||
# Default values are defined in DecentralizedConfig dataclass.
|
||||
# Use this configuration for decentralized execution experiments.
|
||||
|
||||
sensor:
|
||||
hidden_dims: [64, 64]
|
||||
activation: "tanh"
|
||||
|
||||
propagator:
|
||||
hidden_dims: [64, 64]
|
||||
activation: "tanh"
|
||||
|
||||
motor:
|
||||
hidden_dims: []
|
||||
activation: "tanh"
|
||||
|
||||
feature_extractor:
|
||||
hidden_dims: [64, 64]
|
||||
activation: "tanh"
|
||||
|
||||
critic:
|
||||
hidden_dims: []
|
||||
activation: "tanh"
|
||||
|
||||
# Synchronous message-passing rounds per control step
|
||||
message_passing_steps: 1
|
||||
|
||||
# Connectivity topology (e.g., ring, fully_connected)
|
||||
topology_type: "ring"
|
||||
Reference in a new issue