validate_eval_automicrobatching#

composer.core.validate_eval_automicrobatching(auto_microbatching, device)[source]#

Ensure automicrobatching is only on GPU.

Unlike device_train_microbatch_size, this validation must be done separately from the _is_auto_microbatching check because device is not available during Evaluator initialization.