multimolecule/openspliceai-mane.100000f47ff0fd99a1016ad6d228dc6363c47989241c3splicingnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"transformers": "5.9.0",
"multimolecule": "0.2.1",
"device_name": "Ascend910_9362",
"dtype": "float32",
"model_dir": "/data/adapt-npu-agent/hf/hub/models--multimolecule--openspliceai-mane.10000/snapshots/0f47ff0fd99a1016ad6d228dc6363c47989241c3"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_length": 10000,
"short_sequence_length": 66,
"sha256": "82d1b1334f6859ad2605fce09af2cfc833138a1bfae84ce23a2291fa815dc14c",
"short_sha256": "5ff22867d2029bc37169339788cd723269d267291b2375520f46100183ecacb0",
"source": "synthetic deterministic human DNA fixture with seed 42, GT donors at 1000/3000/7000 and AG acceptors at 2000/5000/8000, alphabet A/C/G/T, replace_T_with_U=True",
"species": "Homo sapiens",
"reference_genome": "GRCh38",
"strand": "+",
"context": 10000,
"vocab": "A/C/G/U/N (4+pad)",
"input_shape": [
1,
10000
],
"attention_shape": [
1,
10000
],
"tokenizer": "RnaTokenizer"
}{
"logits_shape": [
1,
10000,
3
],
"logits_dtype": "torch.float32",
"num_labels": 3,
"labels": [
"neither",
"acceptor",
"donor"
],
"sample_logits_cpu": [
10.496487617492676,
-15.741231918334961,
-10.56066608428955
],
"sample_logits_npu": [
10.497088432312012,
-15.742438316345215,
-10.560937881469727
],
"top_donor_positions_cpu": [
707,
2999,
691,
358,
121
],
"top_acceptor_positions_cpu": [
7314,
6317,
2415,
5916,
2878
],
"top_donor_positions_npu": [
707,
2999,
691,
358,
121
],
"top_acceptor_positions_npu": [
7314,
6317,
2415,
5916,
2878
],
"top_donor_scores_cpu": [
0.024409428238868713,
0.024055950343608856,
0.010521937161684036,
0.0020589414052665234,
0.000779229449108243
],
"top_acceptor_scores_cpu": [
0.004892532713711262,
0.0022006542421877384,
0.0002353975287405774,
0.00018709225696511567,
0.00016635026258882135
]
}{
"max_abs_diff": 0.004337310791015625,
"mean_abs_diff": 0.0005934838026762009,
"central_max_diff": 0.004337310791015625,
"central_mean_diff": 0.0005921648318568865,
"atol": 0.008,
"rtol": 0.008,
"passed": true,
"shape": [
1,
10000,
3
],
"short_max_diff": 0.0023193359375
}{
"avg_latency_ms": 167.91844367980957,
"sequence_per_s": 5.955271964685553,
"bases_per_s": 59552.719646855534,
"warmup_iters": 3,
"stable_iters": 10,
"input_length": 10000,
"batch": 1,
"dtype": "float32",
"device": "npu:0"
}


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