Troubleshooting#
Common issues grouped by stage.
Installation#
- :code:`torch-scatter` import error
Install the wheel matching your PyTorch, CUDA, Python, and platform from https://data.pyg.org/whl/
- Optional model fails to import
Install NequIP, XequiNet, py-plumed, etc. per Installation.
Data#
- :code:`ModuleNotFoundError: numpy._core`
Pickle created with NumPy 2.x loaded under NumPy 1.x. Re-export dataset or align versions.
- Missing field / shape mismatch
Check Datahub
features/targetsmapping against actual pickle keys and shapes (N,Ra,Za).- Stale preprocessing cache
Delete
processed_dataset_<hash>/or change a hash-affecting option intentionally, then rerun withpreload: falseonce.
Training#
- NaN loss
Lower learning rate; check
negative_gradient; verify energy/force units andatomic_energyreferences.- CUDA OOM
Reduce
batch_size; usefloat32; disabledata_in_memory; shrink model or cutoff.- Poor force accuracy, good energy
Revisit force loss weight and unit conversion (Units and Standard Fields).
- Early stopping too aggressive
Increase
patience; alignMetricweights withloss.
Simulation#
- PLUMED instability
Fix
UNITSline; verifyHartree_in_E,time_step,fs_in_t.- Wrong atom in constraint/scan
Check
idx_start_from(0 vs 1).- NEB fails to interpolate
Verify frame count vs
num_images; relax endpoints if needed.
QM annotation#
- TeraChem not found
Module load / PATH / license.
- Unfinished jobs in batch
Run
enerzymette terachem_timing; inspect scratch andkeep_output.
Active learning#
- No uncertainty in extract
Enable shallow ensemble or committee; set
non_target_featuresin predict path.- Confusing internal vs Enerzymette AL
Internal AL never creates new structures; Enerzymette AL requires template configs and iteration directories (Active Learning Workflows).
Documentation build#
Sphinx autosummary warnings for moved classes (e.g. ASECalculator in calculator not simulator) do not affect runtime CLI behavior.