# Eval\_batch\_size VS per\_device\_eval\_batch\_size

**URL:** <https://discuss.huggingface.co/t/eval-batch-size-vs-per-device-eval-batch-size/49490>\
**Category:** DeepSpeed\
**Created:** [August 4, 2023, 1:51pm UTC](https://discuss.huggingface.co/t/eval-batch-size-vs-per-device-eval-batch-size/49490 "2023-08-04T13:51:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles0120](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@charles0120](https://discuss.huggingface.co/u/charles0120)\
**Post date:** [August 4, 2023, 1:51pm UTC](https://discuss.huggingface.co/t/eval-batch-size-vs-per-device-eval-batch-size/49490/1 "2023-08-04T13:51:21Z")

</div>

I noticed that there are two batch size args for evaluation in training args. What’s the difference between the two? It seems eval\_batch\_size is still used as per-device evaluation batch size in the trainer source codes?
