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

pt: avoid torch.tensor(constant) during forward #3421

Merged
merged 7 commits into from
Mar 8, 2024

Merge branch 'devel' into avoid-torch-tensor

46d43f0
Select commit
Loading
Failed to load commit list.
Merged

pt: avoid torch.tensor(constant) during forward #3421

Merge branch 'devel' into avoid-torch-tensor
46d43f0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Mar 8, 2024 in 1s

66.66% of diff hit (within 100.00% threshold of 76.98%)

View this Pull Request on Codecov

66.66% of diff hit (within 100.00% threshold of 76.98%)

Annotations

Check warning on line 55 in deepmd/pt/loss/denoise.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/denoise.py#L55

Added line #L55 was not covered by tests

Check warning on line 69 in deepmd/pt/loss/denoise.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/denoise.py#L69

Added line #L69 was not covered by tests

Check warning on line 92 in deepmd/pt/loss/denoise.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/denoise.py#L92

Added line #L92 was not covered by tests