multimolecule/openspliceai-mane.400eb24f956d1e6182eaa6e1110820cb30542f1ad66splicingnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "available",
"device_name": "Ascend910_9362",
"device_count": 2,
"platform": "Linux-5.10.0-182.0.0.95.r2220_156.hce2.aarch64-aarch64-with-glibc2.35",
"python": "3.11.14",
"model_dir": "/tmp/openspliceai_mane_400",
"weight_bytes": 1547023
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_length": 400,
"context": 400,
"alphabet": "A/C/G/U/N",
"replace_T_with_U": true,
"tokenizer": "RnaTokenizer",
"pad_token": "N",
"pad_id": 4,
"seq_sha256": "4e4d2744c02eee964d7a16a72f6a9ee597d343c72e4c48256167a7cec3532d0d",
"seq_preview_first80": "AUGGCGAACCUUGGCUGCUGGAUGCUGGUUCUCUUUGUGGCCACAUGGAGUGACCUGGGCCUCUGCAUGCACAGCUCAGC",
"seq_preview_last80": "GCUGGGCGGGGGCCCUGGUGCAGGCAGCCUGCAGCCCUUGGCCCUGGAGGGGUCCCUGCAGAAGCGUGGCAUUGUGGAAC",
"donor_positions": [
100,
300
],
"acceptor_positions": [
200
],
"gc_content": 0.65,
"encoding": "no truncation, attention_mask sum = seq_length",
"batch": 1,
"example_input_ids_shape": [
1,
400
],
"example_input_ids_first20": [
0,
3,
2,
2,
1,
2,
0,
0,
1,
1,
3,
3,
2,
2,
1,
3,
2,
1,
3,
2
]
}{
"logits_shape": [
1,
400,
3
],
"logits_dtype": "torch.float32",
"channels": [
"no_splice",
"acceptor",
"donor"
],
"logits_cpu_sample_0_3": [
[
0.8911793231964111,
-18.167112350463867,
-19.221872329711914
],
[
0.7824325561523438,
-19.68120002746582,
-19.036876678466797
],
[
1.0207797288894653,
-18.349651336669922,
-16.1004695892334
]
],
"logits_npu_sample_0_3": [
[
0.8908445239067078,
-18.17015838623047,
-19.222862243652344
],
[
0.7818871736526489,
-19.68475341796875,
-19.038043975830078
],
[
1.0196788311004639,
-18.35308265686035,
-16.101797103881836
]
],
"logits_cpu_donor_region_98_103": [
[
1.2041176557540894,
-17.82989501953125,
-15.939139366149902
],
[
1.7528966665267944,
-17.93597412109375,
-15.944405555725098
],
[
1.3584699630737305,
-18.150920867919922,
-16.812685012817383
],
[
1.415520429611206,
-16.074790954589844,
-15.297428131103516
],
[
0.7570399641990662,
-16.637685775756836,
-16.35504913330078
]
],
"logits_npu_donor_region_98_103": [
[
1.2041194438934326,
-17.829761505126953,
-15.938693046569824
],
[
1.752875804901123,
-17.937320709228516,
-15.943349838256836
],
[
1.3587446212768555,
-18.150917053222656,
-16.812013626098633
],
[
1.4152066707611084,
-16.07683753967285,
-15.297283172607422
],
[
0.757554292678833,
-16.636476516723633,
-16.353776931762695
]
],
"probs_cpu_mean_per_channel": [
0.9990936517715454,
3.4395663988107117e-06,
0.0009030266082845628
],
"probs_npu_mean_per_channel": [
0.9990946650505066,
3.436225370023749e-06,
0.0009016712429001927
],
"top_acceptor_cpu_idx": [
244,
74,
190,
184,
232
],
"top_donor_cpu_idx": [
305,
110,
74,
82,
95
],
"top_acceptor_npu_idx": [
244,
74,
190,
184,
232
],
"top_donor_npu_idx": [
305,
110,
74,
82,
95
],
"description": "per-nucleotide 3-channel logits (no_splice/acceptor/donor) with softmax probabilities; biological output is per-position donor/acceptor ranking"
}{
"max_abs_diff": 0.0038909912109375,
"mean_abs_diff": 0.0007116852211765945,
"max_abs_per_channel": {
"no_splice": 0.0011157989501953125,
"acceptor": 0.0038909912109375,
"donor": 0.0028162002563476562
},
"mean_abs_per_channel": {
"no_splice": 0.0003113829006906599,
"acceptor": 0.0011432820465415716,
"donor": 0.0006803905707783997
},
"atol": 0.005,
"rtol": 0.001,
"passed": true,
"masked_length": 400,
"probs_max_abs_diff": 0.0005426704883575439
}{
"first_latency_s": 0.21476364135742188,
"avg_latency_s": 0.0020218610763549803,
"iters": 10,
"warmup": 3,
"seq_per_s": 494.5938233317218,
"bases_per_s": 197837.52933268872,
"seq_len": 400,
"batch": 1,
"dtype": "torch.float32",
"synchronized": true
}


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