Trainer
class.
cerebras.pytorch.backends.csx.performance.micro_batch_size
flag, if you want to set different micro batch sizes for training and validation, you can set the values as follows.
Trainer
is a crucial step to optimize and debug your model training and validation processes. By leveraging the ScopedTrainFlags
and ScopedValidateFlags
callbacks, you can fine-tune your settings to cater to different stages of your workflow, such as assigning distinct micro batch sizes for training and validation. This flexibility allows for a more tailored and efficient training process, ensuring that you can maximize the performance of Model Zoo models.
Trainer
class, you can check out: