multimolecule/chrombpnet74a4692c4ed0e4974345fd8f9d4367beab9280caregulatory-sequencenpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1",
"device_name": "Ascend910_9362",
"device_count": 2,
"npu_available": true,
"cann": "8.5.1"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_length": 2114,
"profile_length": 1000,
"vocab_size": 5,
"alphabet": "DNA ACGT N",
"primary": "p53_2114",
"primary_sha256": "233616d27f86001aabc4b0f2e537ed3d0e40e96c1e50669e72cd1cb9ebf23d8a",
"batch": 1,
"dtype": "float32",
"other_sequences": [
"hemoglobin_2114",
"brca1_2114",
"telomerase_2114",
"synthetic_acgt_2114"
]
}{
"profile_shape": [
1,
1000,
1
],
"count_shape": [
1,
1
],
"track_shape": [
1,
1000,
1
],
"track_stats": {
"min": 0.000445725949248299,
"max": 3.703517198562622,
"mean": 0.31942787766456604,
"sum": 319.4278564453125
},
"count_logits": [
[
5.766531467437744
]
],
"device": "npu:0",
"dtype": "torch.float32"
}{
"profile_max_abs_diff": 0.00093841552734375,
"profile_mean_abs_diff": 0.00039045143127441407,
"count_max_abs_diff": 0.00023698806762695312,
"track_max_abs_diff": 0.0017235279083251953,
"track_mean_abs_diff": 8.566882618470117e-05,
"track_pearson_r": 1.0,
"atol_profile": 0.001,
"atol_track": 0.002,
"rtol": 0.001,
"passed": true
}{
"avg_ms": 12.66,
"p50_ms": 12.66,
"throughput_seq_per_s": 79.02,
"throughput_bases_per_s": 167038.0,
"warmup": 3,
"stable_iters": 10,
"batch": 1,
"sequence_length": 2114,
"profile_length": 1000,
"dtype": "float32",
"device": "npu:0"
}


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