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 @@ -1223,6 +1223,8 @@ class RLHardware(BaseModel):
12231223 sampler_devices_fraction : float = Field (0.5 , description = "Fraction of devices to use for the sampler." )
12241224 chips_per_vm : int = Field (4 , description = "Number of accelerator chips per VM." )
12251225 use_pathways : bool = Field (True , description = "Whether to use Pathways for multihost orchestration." )
1226+ num_trainer_slices : int = Field (- 1 , description = "Number of slices for the trainer." )
1227+ num_samplers_slices : int = Field (- 1 , description = "Number of slices for the samplers." )
12261228
12271229
12281230class VLLM (BaseModel ):
You can’t perform that action at this time.
0 commit comments