multimolecule/basenji926c5a3dc8b8a55fea031c644827f0ee5a93b0d5long-context-tracksnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"device_name": "Ascend910_9362",
"npu_available": true
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_length": 131072,
"sequence_sha256": "32595d062a0538f68ba01abef1a132e3a1a3776699ca16025b51407f9aad46d5",
"alphabet": "ACGTN",
"pattern": "ACGT",
"tokenizer": "DnaTokenizer",
"input_ids_shape": [
1,
131072
],
"model_source": "/data/adapt-npu-agent/hf/hub/models--multimolecule--basenji"
}{
"logits_shape": [
1,
896,
5313
],
"dtype": "float32",
"device": "npu:0",
"mean": 1.4834190607070923,
"std": 3.9702484607696533,
"min": -7.106020450592041,
"max": 49.29043197631836,
"first_bin_track0_first5": [
0.552608072757721,
0.5518325567245483,
0.5566533803939819,
0.5542687177658081,
0.5605558753013611
],
"last_bin_track0_last5": [
0.678045928478241,
0.680604100227356,
0.6529515981674194,
0.654901385307312,
0.6516174077987671
]
}{
"max_abs_diff": 0.06860733032226562,
"mean_abs_diff": 0.0020532932022957998,
"pearson_sample": 0.9999996427508995,
"per_track_corr_first5": [
0.9999885563487254,
0.9999911062755843,
0.9999575757507355,
0.9999869229417279,
0.9999908493948202
],
"atol": 0.08,
"rtol": 0.02,
"passed": true,
"cpu_shape": [
1,
896,
5313
],
"npu_shape": [
1,
896,
5313
]
}{
"first_time_s": 0.22089028358459473,
"avg_time_s": 0.016376209259033204,
"stable_total_10_s": 0.16376209259033203,
"windows_per_sec": 61.06419282889871,
"bases_per_sec": 8003805.882469412,
"sequence_length": 131072,
"output_bins": 896,
"output_tracks": 5313,
"batch_size": 1,
"dtype": "float32",
"peak_npu_memory_MB": 565.80126953125
}


三张图片均由 xterm.js 根据本次真实日志生成。
#NPU #Ascend #Ascend910