multimolecule/borzoi-human6a377a3bf83947284f601ddd57a7ed27b370e4f0long-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": "GGTTGTGAGGCGCTGCCCCCACCATGAGCGCTGCTCAGATAGCGATGGACTCCCCTGCCCT",
"alphabet": "ACGT",
"gc_percent": 62.5,
"tokenizer": "DnaTokenizer",
"vocab_size": 5,
"input_ids_shape": [
1,
524288
],
"source": "TP53 example repeated deterministically to 524288bp (Borzoi human 524kb window)",
"species": "human",
"strand": "5'-3'",
"mask": "none (full window valid)"
}{
"logits_shape": [
1,
6144,
7611
],
"logits_dtype": "float32",
"logits_device": "npu:0",
"coverage_shape": [
1,
6144,
7611
],
"bin_size": 32,
"target_length": 6144,
"num_tracks": 7611,
"finite_ratio": 1.0,
"logits_mean": -1.481689,
"logits_std": 2.824821,
"logits_min": -9.580877,
"logits_max": 21.374626,
"coverage_mean": 0.738118,
"coverage_min": 6.9e-05,
"coverage_max": 21.374626,
"sample_bin0_tracks0_4": [
-1.720968246459961,
-1.7014912366867065,
-3.3326332569122314,
-3.5460689067840576,
-3.2910983562469482
],
"sample_bin3072_tracks0_4": [
-1.7547061443328857,
-1.9683566093444824,
-3.477874517440796,
-4.065306663513184,
-3.4470503330230713
],
"sample_bin6143_tracks0_4": [
-2.013598680496216,
-2.1093523502349854,
-3.310823678970337,
-4.047330379486084,
-3.2699904441833496
],
"activation": "softplus via model.postprocess"
}{
"max_abs_diff": 0.009407,
"mean_abs_diff": 0.000233,
"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": 654.36,
"stable_avg_ms": 235.61,
"min_ms": 231.37,
"max_ms": 266.93,
"p50_ms": 232.2,
"p95_ms": 266.93,
"windows_per_s": 4.24,
"bases_per_s": 2225242,
"bins_per_s": 26077,
"dtype": "float32",
"batch": 1,
"n_warmup": 3,
"n_iter": 10,
"peak_memory_gb": 4.15,
"input_length": 524288,
"output_bins": 6144,
"cpu_latency_ms": 115296.17
}


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