Addaoud/DeepPlant-GEP57d02f6e9bfee46c98c8a0cbc1b835095898a3b6expressionnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"python": "3.11.14",
"soc": "Ascend910_9362"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_source": "sequence_at5g52310_promoter_2500.fa",
"length": 2500,
"sha256": "04316645151c994e7fb14d34f7825575e20b64c10252d687e460d42575c0b35d",
"tensor_shape": [
1,
4,
2500
],
"dtype": "torch.float32",
"species": "Arabidopsis thaliana",
"locus": "Chr5:21239467-21241967",
"gene": "AT5G52310 (LTI78/RD29A)"
}{
"shape": [
2935
],
"dtype": "torch.float32",
"n_features": 2935,
"device": "npu:0"
}{
"passed": true,
"atol": 0.01,
"rtol": 0.001,
"max_abs_diff": 0.0006258487701416016,
"mean_abs_diff": 7.772401295369491e-05,
"pearson": 1.0000001192092896,
"spearman": 0.9999997327822059,
"mae": 7.772401295369491e-05,
"rmse": 0.00010251913772663102
}{
"device": "npu:0",
"dtype": "torch.float32",
"length_bp": 2500,
"batch": 1,
"warmup_runs": 3,
"stable_runs": 10,
"first_compile_seconds": 0.1907,
"stable_mean_seconds": 0.0096,
"stable_median_seconds": 0.0096,
"sequences_per_second": 104.208,
"bases_per_second": 260520.4,
"peak_allocated_bytes": 1084502528
}


三张图片为本次真实推理日志的自验证截图。
#NPU #Ascend #Ascend910