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 max nbor size related issues #3157

Merged
merged 6 commits into from
Jan 23, 2024
Merged

Conversation

denghuilu
Copy link
Member

max_nbor_size may be changed after _prepare_coord_nlist_gpu. So we need to update the uint64_temp tensor if necessary.

@denghuilu denghuilu requested a review from njzjz January 20, 2024 05:32
@github-actions github-actions bot added the OP label Jan 20, 2024
Copy link

codecov bot commented Jan 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d915a91) 76.05% compared to head (8f66c8e) 76.06%.
Report is 6 commits behind head on devel.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3157      +/-   ##
==========================================
+ Coverage   76.05%   76.06%   +0.01%     
==========================================
  Files         276      277       +1     
  Lines       25586    25603      +17     
  Branches     1591     1591              
==========================================
+ Hits        19460    19476      +16     
- Misses       5202     5203       +1     
  Partials      924      924              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Jan 20, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Jan 20, 2024
@njzjz
Copy link
Member

njzjz commented Jan 20, 2024

Hi @caic99 do you know what's wrong here with the GPU test? log

@caic99
Copy link
Member

caic99 commented Jan 22, 2024

Hi @caic99 do you know what's wrong here with the GPU test? log

@njzjz Fixed, please rerun

@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Jan 23, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Jan 23, 2024
@njzjz njzjz merged commit 138ffef into deepmodeling:devel Jan 23, 2024
46 checks passed
iProzd added a commit to iProzd/deepmd-kit that referenced this pull request Jan 24, 2024
* Fix max nbor size related issues (deepmodeling#3157)

* Merge master into devel (deepmodeling#3167)

* [pre-commit.ci] pre-commit autoupdate (deepmodeling#3163)

<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.13 →
v0.1.14](astral-sh/ruff-pre-commit@v0.1.13...v0.1.14)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* setup PyTorch C++ interface build environement (deepmodeling#3169)

See deepmodeling#3120.

- CMake: add `ENABLE_TENSORFLOW` and `ENABLE_PYTORCH`.
`BUILD_TENSORFLOW` will be enabled when `TENSORFLOW_ROOT` is not empty
or `USE_TF_PYTHON_LIBS` is on.
- api_cc: add `BUILD_TENSORFLOW` and `BUILD_PYTORCH` defination. Move
several functions from `common.h` to `commonTF.h` to prevent exposing
them to header files.
- CI: download libtorch in the build/test CC actions.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>

* docs: add TF icons to platform-specific features (deepmodeling#3171)

Fix deepmodeling#3121.

The PyTorch icon can be added when a feature implemented by PyTorch is
added.

However, I can't find a way to add an icon to TOC.


![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/7f29da27-af81-4850-9da0-79310d216b2d)

Signed-off-by: Jinzhe Zeng <[email protected]>

* add universal Python inference interface DeepPot (deepmodeling#3164)

Need discussion for other classes.

---------

Signed-off-by: Jinzhe Zeng <[email protected]>

* detect version in advance before building deepmd-kit-cu11 (deepmodeling#3172)

Fix deepmodeling#3168.

See:
pypa/setuptools-scm#1006 (comment)

---------

Signed-off-by: Jinzhe Zeng <[email protected]>

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: Denghui Lu <[email protected]>
Co-authored-by: Jinzhe Zeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment