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

feat(pt): consistent fine-tuning with init-model #3803

Merged
merged 38 commits into from
Jun 13, 2024

Update deepmd/utils/finetune.py

fd64ee5
Select commit
Loading
Failed to load commit list.
Merged

feat(pt): consistent fine-tuning with init-model #3803

Update deepmd/utils/finetune.py
fd64ee5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 11, 2024 in 0s

87.50% of diff hit (target 82.66%)

View this Pull Request on Codecov

87.50% of diff hit (target 82.66%)

Annotations

Check warning on line 129 in deepmd/dpmodel/atomic_model/base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/base_atomic_model.py#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 132 in deepmd/dpmodel/atomic_model/base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/base_atomic_model.py#L132

Added line #L132 was not covered by tests

Check warning on line 136 in deepmd/dpmodel/atomic_model/base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/base_atomic_model.py#L135-L136

Added lines #L135 - L136 were not covered by tests

Check warning on line 144 in deepmd/dpmodel/atomic_model/dp_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/dp_atomic_model.py#L144

Added line #L144 was not covered by tests

Check warning on line 148 in deepmd/dpmodel/atomic_model/dp_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/dp_atomic_model.py#L147-L148

Added lines #L147 - L148 were not covered by tests

Check warning on line 154 in deepmd/dpmodel/atomic_model/dp_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/dp_atomic_model.py#L154

Added line #L154 was not covered by tests

Check warning on line 113 in deepmd/dpmodel/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/linear_atomic_model.py#L113

Added line #L113 was not covered by tests

Check warning on line 117 in deepmd/dpmodel/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/linear_atomic_model.py#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 147 in deepmd/dpmodel/atomic_model/make_base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/make_base_atomic_model.py#L147

Added line #L147 was not covered by tests

Check warning on line 144 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L144

Added line #L144 was not covered by tests

Check warning on line 335 in deepmd/dpmodel/descriptor/dpa1.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa1.py#L335

Added line #L335 was not covered by tests

Check warning on line 512 in deepmd/dpmodel/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa2.py#L512

Added line #L512 was not covered by tests

Check warning on line 129 in deepmd/dpmodel/descriptor/hybrid.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/hybrid.py#L129

Added line #L129 was not covered by tests

Check warning on line 84 in deepmd/dpmodel/descriptor/make_base_descriptor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/make_base_descriptor.py#L84

Added line #L84 was not covered by tests

Check warning on line 128 in deepmd/dpmodel/descriptor/make_base_descriptor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/make_base_descriptor.py#L128

Added line #L128 was not covered by tests

Check warning on line 133 in deepmd/dpmodel/descriptor/make_base_descriptor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/make_base_descriptor.py#L133

Added line #L133 was not covered by tests

Check warning on line 138 in deepmd/dpmodel/descriptor/make_base_descriptor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/make_base_descriptor.py#L138

Added line #L138 was not covered by tests

Check warning on line 281 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L281

Added line #L281 was not covered by tests

Check warning on line 293 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L293

Added line #L293 was not covered by tests

Check warning on line 306 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L305-L306

Added lines #L305 - L306 were not covered by tests

Check warning on line 310 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L310

Added line #L310 was not covered by tests

Check warning on line 239 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L239

Added line #L239 was not covered by tests

Check warning on line 251 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L251

Added line #L251 was not covered by tests

Check warning on line 264 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L263-L264

Added lines #L263 - L264 were not covered by tests

Check warning on line 268 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L268

Added line #L268 was not covered by tests