home/categories/machine-learning/deepmodeling-deepmd-kit-github-skills-debug-gradient-flow-skill-md
machine-learningdata-ai

debug-gradient-flow

Diagnose gradient flow issues in training, especially for compiled models (torch.compile/make_fx). Systematically isolates which loss components (energy, force, virial) contribute gradients to which parameters, and identifies where the gradient chain breaks.

deepmodeling
maintainer
deepmodeling
更新於 3/3/2026
星標
1909
分支
607
quick start

Installation and usage

Diagnose gradient flow issues in training, especially for compiled models (torch.compile/make_fx). Systematically isolates which loss components (energy, force, virial) contribute gradients to which parameters, and identifies where the gradient chain breaks.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use debug-gradient-flow