multimolecule/maxentscan-score3a6329dab709cf4e4a15c70124acbdafa48097d28splicingnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"npu_available": true,
"device_count": 2,
"device_name": "Ascend910_9362",
"model_dir": "/tmp/maxentscan-score3_weights",
"python": "3.11.14",
"window": 23,
"mode": "score3"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequences": [
"strong_T18_AG_GTT",
"strong_pytract_AG_GAA",
"strong_C18_AG_GGT",
"weak_polyT_noAG",
"weak_polyA_AG_TTT",
"nonconsensus_AC"
],
"raw_sequences": [
"TTTTTTTTTTTTTTTTTTAGGTT",
"TTTTTTTTTTCCCCCCCCAGGAA",
"CCCCCCCCCCCCCCCCCCAGGGT",
"TTTTTTTTTTTTTTTTTTTTTTT",
"AAAAAAAAAAAAAAAAAAAGTTT",
"TTTTTTTTTTTTTTTTTTACGTT"
],
"sequence_length": 23,
"batch": 6,
"alphabet": "A/C/G/U/N (T->U)",
"window": 23,
"mode": "score3",
"sha256": {
"strong_T18_AG_GTT": "5a41e41dd8ea942e4be587a640498afa1bca42c901076d9786c4410b0b4aa95f",
"strong_pytract_AG_GAA": "eb7d8df586d1058560ae54d48fbcf62b99359f342ec75cc9ea65ecf97f2c6522",
"strong_C18_AG_GGT": "23b32c9af900b6daba498cc03063ae6fbc91eb94ff8159cf4c2464746f66e4a7",
"weak_polyT_noAG": "b381ac338e0ee9e621e2bdba967069ebb01f38e66a0a7ec261829912963240ec",
"weak_polyA_AG_TTT": "328c7f1921af43e62f2c34bde2c52193f4a2d8c539324cb6df7adf02c9655376",
"nonconsensus_AC": "f7796b650949f0a4efe31e3faa06a28b497f7216fdf33f5151b7007382949610"
}
}{
"logits_shape": [
6,
1
],
"logits_dtype": "torch.float32",
"logits_device": "npu:0",
"scores_cpu": [
13.682387351989746,
12.848531723022461,
12.026287078857422,
-5.7374653816223145,
-6.587793827056885,
5.6178998947143555
],
"scores_npu": [
13.682387351989746,
12.848531723022461,
12.026287078857422,
-5.7374653816223145,
-6.587793827056885,
5.617899417877197
],
"ranking_cpu": [
"strong_T18_AG_GTT",
"strong_pytract_AG_GAA",
"strong_C18_AG_GGT",
"nonconsensus_AC",
"weak_polyT_noAG",
"weak_polyA_AG_TTT"
],
"ranking_npu": [
"strong_T18_AG_GTT",
"strong_pytract_AG_GAA",
"strong_C18_AG_GGT",
"nonconsensus_AC",
"weak_polyT_noAG",
"weak_polyA_AG_TTT"
]
}{
"max_abs_diff": 4.76837158203125e-07,
"mean_abs_diff": 7.947286206899662e-08,
"atol": 1e-05,
"rtol": 1e-05,
"shape_ok": true,
"ranking_identical": true,
"passed": true
}{
"first_latency_ms": 152.91085792705417,
"avg_latency_ms": 2.7160038240253925,
"min_ms": 2.640961203724146,
"max_ms": 2.7572428807616234,
"p50_ms": 2.729422878473997,
"sequences_per_s": 2209.1279647417405,
"bases_per_s": 50809.94318906003,
"batch": 6,
"seq_len": 23,
"dtype": "float32",
"stable_latencies_ms": [
2.7306340634822845,
2.714092843234539,
2.729422878473997,
2.7572428807616234,
2.733773086220026,
2.7364930137991905,
2.725202590227127,
2.713332884013653,
2.678882796317339,
2.640961203724146
]
}


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