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