multimolecule/borzoi-human6a377a3bf83947284f601ddd57a7ed27b370e4f0long-context-tracksnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"transformers": null,
"multimolecule": "0.2.1"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_source": "Ensembl GRCh38/hg38 chr17:7431809-7956096 (TP53-centred 524 kb window)",
"sequence_length": 524288,
"sequence_sha256": "ff85b34726ef3c331327058284a5e98ebc389defef9eef3681c0ea25a4074f0b",
"tokenizer": "DnaTokenizer (nmers=1)"
}{
"shape": [
1,
6144,
7611
],
"num_tracks": 7611,
"bin_size_bp": 32,
"coverage_mean": 0.8880775570869446,
"tp53_gene_body_mean_coverage": 1.2092502117156982,
"tp53_gene_body_flank_enrichment": 1.8636937130055178,
"top_tracks": [
5277,
4662,
3342,
4526,
4760
]
}{
"method": "identical weights, identical real 524288 bp window, fp32 CPU baseline vs NPU",
"selected_track_pearson_mean": 0.99999994,
"selected_track_pearson_min": 0.9999995,
"track_total_pearson": 1.0,
"compare_outputs_atol": 0.01,
"compare_outputs_rtol": 0.001
}{
"first_compile_forward_seconds": 0.642,
"stable_forward_seconds": 0.233,
"windows_per_second": 4.29,
"bases_per_second": 2249097.2,
"input_length": 524288,
"dtype": "float32",
"peak_memory_usage_hint": "output tensor 6144x7611 float32"
}


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