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

breaking: pt: add dp model format and refactor pt impl for the fitting net. #3199

Merged
merged 16 commits into from
Jan 30, 2024

find element in list rather than tuple, which easily makes bugs

6efab8c
Select commit
Loading
Failed to load commit list.
Merged

breaking: pt: add dp model format and refactor pt impl for the fitting net. #3199

find element in list rather than tuple, which easily makes bugs
6efab8c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jan 30, 2024 in 0s

93.77% of diff hit (target 21.27%)

View this Pull Request on Codecov

93.77% of diff hit (target 21.27%)

Annotations

Check warning on line 127 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L127

Added line #L127 was not covered by tests

Check warning on line 129 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L129

Added line #L129 was not covered by tests

Check warning on line 131 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L131

Added line #L131 was not covered by tests

Check warning on line 133 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L133

Added line #L133 was not covered by tests

Check warning on line 135 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L135

Added line #L135 was not covered by tests

Check warning on line 137 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L137

Added line #L137 was not covered by tests

Check warning on line 158 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L158

Added line #L158 was not covered by tests

Check warning on line 214 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L214

Added line #L214 was not covered by tests

Check warning on line 228 in deepmd/model_format/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/model_format/fitting.py#L228

Added line #L228 was not covered by tests

Check warning on line 181 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L181

Added line #L181 was not covered by tests

Check warning on line 195 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L195

Added line #L195 was not covered by tests

Check warning on line 283 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L283

Added line #L283 was not covered by tests

Check warning on line 293 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L293

Added line #L293 was not covered by tests

Check warning on line 312 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L312

Added line #L312 was not covered by tests

Check warning on line 330 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L330

Added line #L330 was not covered by tests

Check warning on line 333 in deepmd/pt/model/task/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/ener.py#L333

Added line #L333 was not covered by tests

Check warning on line 61 in deepmd/pt/model/task/fitting.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/fitting.py#L61

Added line #L61 was not covered by tests

Check warning on line 60 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L60

Added line #L60 was not covered by tests

Check warning on line 72 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L72

Added line #L72 was not covered by tests