Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Different batch size for training vs eval #604

@Timoeller

Description

@Timoeller

Training needs much more memory than evaluation, since there are no gradients.

We need to have an optional eval batch size that should ideally be larger than training. Especially for large models with low training batch size eval becomes much slower (on the order of 5-10x).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions