isayevlab/aimnet2-wb97m-d3mainmolecular-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": -2081.0310549337382,
"example_H2O_forces_eV_A": [
[
0.0,
-1.1324882507324219e-06,
-0.66497802734375
],
[
0.0,
-0.2856736183166504,
0.3324885368347168
],
[
0.0,
0.2856748104095459,
0.3324894905090332
]
],
"device": "npu:0"
}{
"H2O_e_diff_meV_per_atom": 3.273454160989786,
"H2O_f_diff_max_eV_A": 0.06306323409080505,
"H2O_f_cosine_mean": 0.9975826144218445,
"CH4_e_diff_meV_per_atom": 0.9023973186685907,
"CH3OH_e_diff_meV_per_atom": 0.48985898979481135,
"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": 43.12927722930908,
"atoms_per_second": 139.11663689839483,
"n_runs": 10,
"molecule": "CH3OH",
"natoms": 6,
"device": "npu:0",
"dtype": "float32"
}


#NPU #Ascend #Ascend910