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

add an example of C++ inference to doc #652

Merged
merged 2 commits into from
May 24, 2021

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented May 21, 2021

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented May 21, 2021

Codecov Report

Merging #652 (bdc83f4) into devel (363f9ba) will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #652      +/-   ##
==========================================
- Coverage   74.37%   74.28%   -0.09%     
==========================================
  Files          81       81              
  Lines        6399     6382      -17     
==========================================
- Hits         4759     4741      -18     
- Misses       1640     1641       +1     
Impacted Files Coverage Δ
source/op/_gelu.py 71.42% <0.00%> (-6.35%) ⬇️
source/op/_tabulate_grad.py 78.57% <0.00%> (-4.77%) ⬇️
deepmd/env.py 81.15% <0.00%> (-1.45%) ⬇️
deepmd/loss/ener.py 47.11% <0.00%> (-0.24%) ⬇️
deepmd/train/trainer.py 67.74% <0.00%> (-0.16%) ⬇️
source/op/_prod_force_grad.py 100.00% <0.00%> (ø)
source/op/_prod_virial_grad.py 100.00% <0.00%> (ø)
source/op/_soft_min_force_grad.py 100.00% <0.00%> (ø)
source/op/_prod_force_se_a_grad.py 100.00% <0.00%> (ø)
source/op/_prod_force_se_r_grad.py 100.00% <0.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 363f9ba...bdc83f4. Read the comment docs.

@njzjz njzjz requested a review from tuoping May 21, 2021 08:03
Copy link
Collaborator

@tuoping tuoping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we list C++ interface in API.rst?

@njzjz
Copy link
Member Author

njzjz commented May 24, 2021

Should we list C++ interface in API.rst?

There should be an automatic way to generate another document, say API_cc.rst.

@amcadmus
Copy link
Member

Should we list C++ interface in API.rst?

There should be an automatic way to generate another document, say API_cc.rst.

Yes via something like doxygen. But current the documentation of the C++ interface is lacking...

@amcadmus amcadmus merged commit cb2c118 into deepmodeling:devel May 24, 2021
This was referenced Jun 10, 2021
denghuilu added a commit to denghuilu/deepmd-kit that referenced this pull request Jun 15, 2021
add Important hint for getting-started.md

Update argcheck.py

add Important hint for variables

Update getting-started.md

check validity of data systems. print help message

add Important hint at getting-start.md (deepmodeling#622)

* add Important hint for getting-started.md

* add hint for some parameters

* add Important hint for variables

* Update argcheck.py

* Update getting-started.md

add doc of type embedding (deepmodeling#625)

Optimized mkindex function in doc/conf.py and added two files in troubleshooting. (deepmodeling#619)

support MPI and other atom_styles for LAMMPS atomic keyword (deepmodeling#628)

* support MPI and other atom_styles for LAMMPS atomic keyword

fix problems left in #44

* move out_each codes together

* indent the code

fix spell mistake (deepmodeling#638)

Atention -> Attention

Readme and Examples for Tensor mode (deepmodeling#632)

* Complete modification of tensor training, support combination of system with global/local label, and support polar label normalization to speed up training. Examples and documentation not added yet

* modify dipole json to pass ut test

* change json file (second time) to pass ut test

* modify test_data_modifier_shuffle.py file to fit new args rule

* modify data_modifier_shuffle: from dipole.npy to atomic_dipole.npy

* modify the name of pref_weight to pref and pref_atomic_weight to pref_atomic, plus some implementation mentioned by Han Wang in May 7th's email

* fix a bug occuring in ut test

* fix args of polar_se_a.json, to pass ut test

* change args: from loss_type to type, so that the args will be the same as ener mode, and will not cause conflict

* add examples and readme for tensor fitting mode in May 14

* change readmd content of tensor fit

* change the file name of readme file of tensor fitting

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

* change the explanation of why some of lcurve.out is 0

* Update train-fitting-tensor.md

* Update train-fitting-tensor.md

append to out_file when LAMMPS restarts (deepmodeling#640)

This ensures the out file will not be override when LAMMPS restarts.
This commit may be conflicted with deepmodeling#392. Commit
@5597ea2b49f96e99a52a9779b04b6c12e5a79a04 should be dropped.

add an example of C++ inference to doc (deepmodeling#652)

* add an example of C++ inference to doc

* fix broken link

Add instructions for i-PI (deepmodeling#660)

* Add instructions for i-PI

* Update doc/getting-started.md

Co-authored-by: Jinzhe Zeng <[email protected]>

Co-authored-by: tuoping <[email protected]>
Co-authored-by: Jinzhe Zeng <[email protected]>

Added doc for netsize setting, num_nodes specification, and sel setting in doc/troubleshooting/ (deepmodeling#657)

fix issue 668 (deepmodeling#680)

* fix bug of issue 668
@njzjz njzjz deleted the c++_example branch August 12, 2021 22:23
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
* add an example of C++ inference to doc

* fix broken link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants