multimolecule/borzoi-mouse2a03d813289ccb49f98879c1c91f88888c94ca7along-context-tracksnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"transformers": "4.57.6",
"multimolecule": "0.2.1",
"python": "3.11.14",
"soc_version": "ascend910_9391",
"device_name": "Ascend910_9362",
"npu_count": 2
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_sha256": "485bdeec7800c9614a28f304de8dd98c5a1d82257e68dc22d74f1ae2414abb05",
"sequence_length": 524288,
"sequence_preview_first_60": "ACTCCCCTGCCCTCAACAAGATGTTTTGCCAACTGGCCAAGACCTGCCCTGTGCAGCTGT",
"sequence_preview_last_60": "TCAACAAGATGTTTTGCCAACTGGCCAAGACCTGCCCTGTGCAGCTGTGGGTTGATTCCA",
"alphabet": "ACGT",
"gc_percent": 62.5,
"tokenizer": "DnaTokenizer",
"vocab_size": 5,
"input_ids_shape": [
1,
524288
],
"source": "TP53 example repeated deterministically to 524288bp (Borzoi mouse 524kb window, TP53-derived)",
"species": "mouse",
"strand": "5'-3'",
"mask": "none (full window valid)"
}{
"logits_shape": [
1,
6144,
2608
],
"logits_dtype": "float32",
"logits_device": "npu:0",
"coverage_shape": [
1,
6144,
2608
],
"bin_size": 32,
"target_length": 6144,
"num_tracks": 2608,
"finite_ratio": 1.0,
"logits_mean": -1.691763,
"logits_std": 2.686739,
"logits_min": -12.241969,
"logits_max": 15.62299,
"coverage_mean": 0.66135,
"coverage_min": 5e-06,
"coverage_max": 15.62299,
"sample_bin0_tracks0_4": [
-3.7548398971557617,
-3.7845022678375244,
-3.906949520111084,
-4.08142614364624,
-4.316953182220459
],
"sample_bin3072_tracks0_4": [
-4.291917324066162,
-4.108853816986084,
-4.288074970245361,
-4.380809307098389,
-4.816294193267822
],
"sample_bin6143_tracks0_4": [
-3.8491601943969727,
-4.20989465713501,
-3.8754937648773193,
-4.485974311828613,
-4.30644416809082
],
"activation": "softplus via model.postprocess"
}{
"max_abs_diff": 0.004868,
"mean_abs_diff": 0.000308,
"pearson_corr": 1.0,
"thresholds": {
"max_abs": 0.5,
"mean_abs": 0.02,
"pearson": 0.99
},
"finite_ok": true,
"shape_ok": true,
"device_ok": true,
"status": "PASS",
"comparison": "CPU vs NPU same weight/sequence/dtype float32"
}{
"first_latency_ms": 685.8881,
"stable_avg_ms": 231.2788,
"min_ms": 230.4184,
"max_ms": 232.3344,
"p50_ms": 231.3654,
"p95_ms": 232.3344,
"windows_per_s": 4.32,
"bases_per_s": 2266909,
"bins_per_s": 26565,
"dtype": "float32",
"batch": 1,
"n_warmup": 3,
"n_iter": 10,
"peak_memory_gb": 3.77,
"input_length": 524288,
"output_bins": 6144,
"cpu_latency_ms": 110967.521
}


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