multimolecule/borzoi-mouse2a03d813289ccb49f98879c1c91f88888c94ca7along-context-tracksnpu:0 (Ascend910){
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"transformers": "5.9.0",
"multimolecule": "0.2.1",
"cann_python": "/usr/local/Ascend/cann-8.5.1",
"npu_device_count": 2,
"npu_device_name": "Ascend910_9362",
"dtype": "float32"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_source": {
"provider": "Ensembl REST (https://rest.ensembl.org)",
"endpoint": "GET /sequence/region/mouse/11:69214041:69738328:1",
"species": "Mus musculus",
"assembly": "GRCm39",
"region": "chr11:69214041-69738328",
"feature": "524288 bp window centred on Trp53 (ENSMUSG00000059552)"
},
"sequence_sha256": "8be8e37214817db27371e054fce0be1928a2eab28f8ad7b6beda0a6264fc6674",
"length_bp": 524288,
"alphabet": [
"A",
"C",
"G",
"T"
],
"input_shape": [
1,
524288
],
"tokenizer": "DnaTokenizer",
"window_contract": "fixed 524288 bp; 32 bp/bin; center crop to 6144 bins"
}{
"output_shape": [
1,
6144,
2608
],
"output_semantics": "pre-softplus logits on bins x tracks grid (mouse track set)",
"output_device": "npu:0",
"postprocess": "model.postprocess -> softplus coverage (non-negative)",
"top5_tracks_by_mean_central_coverage": [
1860,
1956,
1833,
1980,
1418
],
"central_bin_mean_coverage": 1.341133661414411,
"central_bin_max_coverage": 149.92733764648438,
"central_region_gcoords": "chr11:69279577-69345112"
}{
"baseline_backend": "cpu fp32",
"target_backend": "npu:0 fp32",
"atol": 0.05,
"rtol": 0.02,
"allclose": true,
"max_abs_diff": 0.02639007568359375,
"mean_abs_diff": 0.00023902791622835927,
"finite_ratio_cpu": 1.0,
"finite_ratio_npu": 1.0,
"pearson_central_overall": 0.9999999958521658,
"pearson_per_sample_track": {
"track_0_central_bins": 0.9999999814200269,
"track_652_central_bins": 0.9999999873873044,
"track_1304_central_bins": 0.9999999941269566,
"track_1956_central_bins": 0.9999999974317864,
"track_2607_central_bins": 0.9999999936465114
},
"threshold_policy": "pre-declared: full-tensor allclose(0.05, 0.02) AND per-track Pearson r > 0.999 AND finite ratio == 1.0"
}{
"input_length_bp": 524288,
"batch_size": 1,
"dtype": "float32",
"warmup_iterations": 3,
"stable_iterations": 10,
"first_call_latency_s": 0.638,
"stable_mean_latency_s": 0.2305,
"stable_min_latency_s": 0.2298,
"stable_max_latency_s": 0.231,
"windows_per_s": 4.33892,
"mbases_per_s": 2.275,
"peak_npu_memory_gib": 3.65
}


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