Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Deprecate val_batch_size #353

Merged
merged 3 commits into from
Feb 24, 2025

Conversation

tongyx361
Copy link
Contributor

Validation datasets are sent to inference engines as a whole batch, which will schedule the memory themselves.

  • Remove val_batch_size from examples
  • Set default values of val_batch_size in configs as null and add DEPRECATED comments
  • Add deprecation warnings about val_batch_size in _validate_config

@tongyx361 tongyx361 requested a review from PeterSH6 February 23, 2025 13:39
@vermouth1992 vermouth1992 merged commit 4011f40 into volcengine:main Feb 24, 2025
12 checks passed
@tongyx361 tongyx361 deleted the tyx/fix/val-batch-size branch February 24, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants