Unverified Commit b151ddb9 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix batch size in evaluation loop (#16763)

* Fix batch size in evaluation loop

* remove debug statement
parent d8269eb4
......@@ -2411,7 +2411,7 @@ class Trainer:
elif args.bf16_full_eval:
model = model.to(dtype=torch.bfloat16, device=args.device)
batch_size = self.args.per_device_eval_batch_size
batch_size = self.args.eval_batch_size
logger.info(f"***** Running {description} *****")
if has_length(dataloader):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment