isayevlab/aimnet2-2025a2728c57db16064effa03e27006953013974db4fmolecular-potentialnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"device_name": "Ascend910_9362",
"npu_available": true,
"python": "3.11"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"molecules": [
"H2O",
"CH4",
"CH3OH"
],
"example_molecule": "H2O",
"numbers_H2O": [
8,
1,
1
],
"coord_units": "Angstrom",
"charge": 0.0,
"dtype": "float32 (NPU) / float64 (CPU)",
"note": "Real molecular configurations from ASE (H2O, CH4, CH3OH); external dispersion via CPU fallback explicitly logged"
}{
"energy_units": "eV",
"forces_units": "eV/Angstrom",
"charges_units": "e",
"energy_shape": "[1]",
"forces_shape": "[N,3]",
"charges_shape": "[N]",
"example_H2O_energy_eV": -2078.9118042701057,
"example_H2O_forces_eV_A": [
[
0.0,
2.635642886161804e-07,
-0.2924967408180237
],
[
0.0,
-0.22963835299015045,
0.146248459815979
],
[
0.0,
0.22963811457157135,
0.1462482511997223
]
],
"device": "npu:0"
}{
"H2O_e_diff_meV_per_atom": 2.5736582902027294,
"H2O_f_diff_max_eV_A": 0.0015828758478164673,
"H2O_f_cosine_mean": 0.9999973773956299,
"CH4_e_diff_meV_per_atom": 3.038900037881831,
"CH3OH_e_diff_meV_per_atom": 3.4550743015036764,
"overall": "PASS",
"note": "NPU base computed on npu:0 with torch.npu.synchronize(); external dispersion/coulomb via CPU fallback (warp does not support NPU) and added; CPU-NPU base consistency verified"
}{
"avg_ms_per_molecule": 46.67379856109619,
"atoms_per_second": 128.551782476971,
"n_runs": 10,
"molecule": "CH3OH",
"natoms": 6,
"device": "npu:0",
"dtype": "float32"
}


#NPU #Ascend #Ascend910