isayevlab/aimnet2-rxn13e9de20a1e878a18a371e94dfb2176629281cb6reaction-modelingnpu:0{
"torch": "2.9.0",
"torch_npu": "2.9.0.post1",
"device_name": "Ascend910_9362",
"cann": "8.5.1",
"dtype": "float32"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"reactions": 4,
"species": 8,
"atoms_total": 48,
"units": {
"coord": "Angstrom",
"energy": "eV",
"forces": "eV/A"
}
}{
"reactions": [
{
"reaction": "R1_HCN_HNC_isomerization",
"reactant": "hcn",
"product": "hnc",
"dE_cpu_eV": 0.535675,
"dE_npu_eV": 0.535675,
"abs_diff_meV": 0.0002
},
{
"reaction": "R2_CH3NC_CH3CN_isomerization",
"reactant": "ch3nc",
"product": "ch3cn",
"dE_cpu_eV": -0.991048,
"dE_npu_eV": -0.991045,
"abs_diff_meV": 0.0031
},
{
"reaction": "R3_water_dimer_association",
"reactant": "water_dimer_far",
"product": "water_dimer_hbond",
"dE_cpu_eV": -0.115753,
"dE_npu_eV": -0.115755,
"abs_diff_meV": 0.0026
},
{
"reaction": "R4_ethanol_DME_isomerization",
"reactant": "ethanol",
"product": "dimethyl_ether",
"dE_cpu_eV": -7.617877,
"dE_npu_eV": -7.617882,
"abs_diff_meV": 0.0046
}
],
"ranking_cpu": [
"R4_ethanol_DME_isomerization",
"R2_CH3NC_CH3CN_isomerization",
"R3_water_dimer_association",
"R1_HCN_HNC_isomerization"
],
"ranking_npu": [
"R4_ethanol_DME_isomerization",
"R2_CH3NC_CH3CN_isomerization",
"R3_water_dimer_association",
"R1_HCN_HNC_isomerization"
]
}{
"values": {
"reaction_energy_max_meV": 0.0046,
"force_max_meV_per_A": 0.042737,
"force_mean_meV_per_A": 0.012902,
"force_cosine_min": 0.999957,
"charge_max_me": 1e-06
},
"thresholds": {
"reaction_energy_max_meV": {
"limit": 5.0
},
"force_max_meV_per_A": {
"limit": 10.0
},
"force_mean_meV_per_A": {
"limit": 2.0
},
"force_cosine_min": {
"limit": 0.999
},
"charge_max_me": {
"limit": 0.005
}
},
"checks": {
"reaction_energy_max_meV": true,
"force_max_meV_per_A": true,
"force_mean_meV_per_A": true,
"force_cosine_min": true,
"charge_max_me": true,
"ranking_identical": true,
"forward_reverse_antisymmetric": true,
"all_outputs_finite": true,
"npu_charge_neutral": true
},
"cosine_atoms": 43
}{
"reactions_per_s": 25.34,
"atoms_per_s": 304.1,
"iterations": 10,
"peak_npu_memory_MiB": 46.4
}


#NPU #Ascend #Ascend910