multimolecule/deepseamainregulatory-sequencenpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"device_name": "Ascend910_9362",
"device_count": 2,
"cann": "8.5.1",
"python": "3.11.14"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence": "ACTCCCCTGCCCTCAACAAGATGTTTTGCCAACTGGCCAAGACCTGCCCTGTGCAGCTGTGGGTTGATTCCACACCCCCGCCCGGCACCCGCGTCCGCGCCATGGCCATCTACAAGCAGTCACAGCACATGACGGAGGTTGTGAGGCGCTGCCCCCACCATGAGCGCTGCTCAGATAGCGATGG",
"padded_length": 1000,
"alphabet": "ACGTN",
"reverse_complement_average": true,
"seq_sha256_prefix": "31a7db94472e227b",
"input_shape": "[1, 4, 1000]",
"dtype": "float32"
}{
"output_shape": "[1, 919]",
"output_type": "chromatin feature logits (919) + sigmoid prob",
"prob_min": 2.189319275203161e-05,
"prob_max": 0.051391005516052246,
"prob_mean": 0.002905978122726083,
"top5_indices": [
856,
449,
119,
831,
858
],
"top5_probs": [
0.051391005516052246,
0.0374704971909523,
0.03165464475750923,
0.030404984951019287,
0.03025364875793457
],
"logits_sample": [
-5.381053924560547,
-5.634707927703857,
-4.735892295837402,
-4.9737749099731445,
-4.093157768249512
]
}{
"max_abs_diff": 0.00023126602172851562,
"mean_abs_diff": 5.085190787212923e-05,
"cosine_similarity": 1.0,
"pearson": 1.0,
"threshold_max_abs_diff": 0.005,
"passed": true
}{
"warmup_iterations": 3,
"stable_iterations": 10,
"avg_time_per_inference_ms": 1.51,
"sequences_per_second": 662.79,
"bases_per_second": 662785.3,
"first_inference_ms": 3.1,
"dtype": "float32",
"batch": 1,
"sequence_length": 1000
}


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