File tree Expand file tree Collapse file tree 3 files changed +141
-104
lines changed Expand file tree Collapse file tree 3 files changed +141
-104
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ base_config: "base.yml"
2121trainer_devices_fraction : 0.5
2222sampler_devices_fraction : 0.5
2323chips_per_vm : 4 # depends on hardware, for v5p this is 4
24+ num_trainer_slices : -1
25+ num_samplers_slices : -1
2426
2527# ====== Reproducibility ======
2628data_shuffle_seed : 42
Original file line number Diff line number Diff line change @@ -1218,6 +1218,8 @@ class RLHardware(BaseModel):
12181218 sampler_devices_fraction : float = Field (0.5 , description = "Fraction of devices to use for the sampler." )
12191219 chips_per_vm : int = Field (4 , description = "Number of accelerator chips per VM." )
12201220 use_pathways : bool = Field (True , description = "Whether to use Pathways for multihost orchestration." )
1221+ num_trainer_slices : int = Field (- 1 , description = "Number of slices for the trainer." )
1222+ num_samplers_slices : int = Field (- 1 , description = "Number of slices for the samplers." )
12211223
12221224
12231225class VLLM (BaseModel ):
You can’t perform that action at this time.
0 commit comments