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: fix PT AutoBatchSize OOM bug and merge execute_all into base #4047

Merged
merged 4 commits into from
Aug 6, 2024

[pre-commit.ci] auto fixes from pre-commit.com hooks

9d38cb8
Select commit
Loading
Failed to load commit list.
Merged

fix: fix PT AutoBatchSize OOM bug and merge execute_all into base #4047

[pre-commit.ci] auto fixes from pre-commit.com hooks
9d38cb8
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Aug 5, 2024 in 3s

1 new alert

New alerts in code changed by this pull request

  • 1 warning

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 63 in deepmd/utils/batch_size.py

See this annotation in the file changed.

Code scanning / CodeQL

`__init__` method calls overridden method Warning

Call to self.
is_gpu_available
in __init__ method, which is overridden by
method AutoBatchSize.is_gpu_available
.
Call to self.
is_gpu_available
in __init__ method, which is overridden by
method AutoBatchSize.is_gpu_available
.
Call to self.
is_gpu_available
in __init__ method, which is overridden by
method AutoBatchSize.is_gpu_available
.
Call to self.
is_gpu_available
in __init__ method, which is overridden by
method AutoBatchSize.is_gpu_available
.
Call to self.
is_gpu_available
in __init__ method, which is overridden by
method CustomizedAutoBatchSizeCPU.is_gpu_available
.
Call to self.
is_gpu_available
in __init__ method, which is overridden by method CustomizedAutoBatchSizeGPU.is_gpu_available.