Repository navigation
docs(inference): explain neighbor search in Python and ASE - #6156
Miller10101010 wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
for more information, see https://pre-commit.ci
OutisLi
left a comment
There was a problem hiding this comment.
The DeepPot and ASE examples use the correct argument. Please qualify one backend restriction in the guide.
|
|
||
| | `nlist_backend` | Neighbor search | | ||
| | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | `"auto"` | Select by availability and frame count. | |
There was a problem hiding this comment.
Please qualify this table for virtual-atom spin artifacts with the nlist lower: _setup_neighbor_backend rejects explicit vesin and nv even when the libraries are installed. auto and native use the native builder there; this is distinct from native-spin edge-vector artifacts. It would also help to give the full auto order where eligible: Vesin → NV → native for one frame, and NV → Vesin → native for a batch.
There was a problem hiding this comment.
Updated in cf79e64.
Updated the backend table notes to spell out the single-frame order (Vesin, NV, native), the batched order (NV, Vesin, native), and the virtual-atom spin restriction. I checked the selector on AISI: for the virtual-atom nlist path, auto and native used the native builder, while explicit vesin and nv each raised the expected error.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6156 +/- ##
==========================================
- Coverage 78.09% 77.85% -0.24%
==========================================
Files 1214 1214
Lines 147782 147782
Branches 5246 5249 +3
==========================================
- Hits 115410 115063 -347
- Misses 30392 30740 +348
+ Partials 1980 1979 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Document
nlist_backendfor the PyTorch Exportable backend, optional search libraries and the separateneighbor_graph_methodused by graph-form models. Include examples forDeepPotand the ASE calculator.Verified
auto,nativeandvesinwith frozen.pt2and.ptewater models in Python and ASE. Also checked the missing-library diagnostic and the error for an incompatible graph input.Closes #5922.
Summary by CodeRabbit
.pt2and.ptemodels, including automatic selection for single-frame and multi-frame batches.DeepPotand the ASE calculator.