Skip to content

Commit 37c7c30

Browse files
committed
Fix type of micro_batch_size
1 parent 111cb6b commit 37c7c30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MaxText/configs/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ class RLDataset(BaseModel):
14361436
num_batches: int = Field(4, description="Number of batches for RL training.")
14371437
num_test_batches: int = Field(5, description="Number of batches for RL evaluation.")
14381438
train_fraction: float = Field(1.0, description="Fraction of the dataset to be used for training.")
1439-
micro_batch_size: float = Field(-1, description="Micro batch size for rollout and training.")
1439+
micro_batch_size: int = Field(-1, description="Micro batch size for rollout and training.")
14401440

14411441

14421442
class RLEvaluation(BaseModel):

0 commit comments

Comments
 (0)