Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print the reminder for the illegal memory error in the AutoBatchSize …
…under tf (#4283) #3822 added a reminder for the illegal memory error. However, this reminder is only needed for tf. This PR moves the illegal memory reminder from base class AutoBatchSize to the inherited class under tf. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced `AutoBatchSize` class to initialize batch size from an environment variable, improving user guidance on memory management with TensorFlow. - **Bug Fixes** - Removed redundant logging during initialization to streamline the process when GPU resources are available. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information