Skip to content

Speed up the download of tensorflow#17

Merged
amcadmus merged 2 commits into
deepmodeling:masterfrom
njzjz:patch-1
Feb 7, 2019
Merged

Speed up the download of tensorflow#17
amcadmus merged 2 commits into
deepmodeling:masterfrom
njzjz:patch-1

Conversation

@njzjz

@njzjz njzjz commented Feb 5, 2019

Copy link
Copy Markdown
Member

No description provided.

@amcadmus amcadmus merged commit 257ebdf into deepmodeling:master Feb 7, 2019
@njzjz njzjz deleted the patch-1 branch February 7, 2019 15:05
amcadmus pushed a commit that referenced this pull request May 13, 2020
amcadmus pushed a commit that referenced this pull request Mar 19, 2021
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
gzq942560379 pushed a commit to HPC-AI-Team/deepmd-kit that referenced this pull request Sep 1, 2021
wanghan-iapcm pushed a commit to wanghan-iapcm/deepmd-kit that referenced this pull request Jun 25, 2026
…onverter to from_dense_quartet

build_neighbor_graph now SEARCHES neighbors directly from coordinates and
keeps every neighbor within rcut (sel-free), instead of routing through the
sel-truncating dense nlist. The legacy quartet adapter is renamed
neighbor_graph_from_extended -> from_dense_quartet and documented as the
backward-compat converter (inherits sel truncation), separating the
'compute from geometry' dispatcher from the 'adapt an existing list'
converters (spec decision deepmodeling#17).
wanghan-iapcm pushed a commit to wanghan-iapcm/deepmd-kit that referenced this pull request Jun 27, 2026
The TestCompiledVaryingNatoms dpa1(attn_layer=0) case failed: the uncompiled
reference uses the pt_expt carry-all GRAPH forward (default-flip deepmodeling#17) while the
compiled forward_lower uses the sel-capped DENSE forward. Those are two
different force computations -- even at non-binding sel the forward matches to
~1e-16 but their backward gradients agree only to fp64 accumulation (~1e-12),
which the optimizer amplifies into a diverging training trajectory (weight
drift ~1e-3 after one step). It is NOT sel-binding and NOT a torch.compile
dynamic-shape bug.

Pin BOTH sides to the legacy dense env-mat path via force_legacy_descriptor=True
(monkeypatch descriptor.uses_graph_lower -> False, killing both the default-flip
and the _call_graph_adapter), so this stays a true compile-correctness check on
the path it actually compiles. Compiling the GRAPH lower so eager==compiled is
tracked for PR-B.
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.

2 participants