multimolecule/chrombpnet74a4692c4ed0e4974345fd8f9d4367beab9280caregulatory-sequencenpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1",
"cann": "8.5.1",
"device_name": "Ascend910_9362",
"device_count": 2,
"python": "3.11.14",
"multimolecule": "0.4.x"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequence_type": "DNA",
"sequence_length": 2114,
"profile_length": 1000,
"sequence_sha256": "233616d27f86001aabc4b0f2e537ed3d0e40e96c1e50669e72cd1cb9ebf23d8a",
"source": "tumor protein p53 window from model card (extended to 2114 bp via repeat)",
"alphabet": "ACGT",
"tokenizer": "DnaTokenizer",
"input_shape": [
1,
2114
],
"dtype": "float32"
}{
"profile_logits_shape": [
1,
1000,
1
],
"count_logits_shape": [
1,
1
],
"track_shape": [
1,
1000,
1
],
"profile_sample_cpu": [
30.157651901245117,
26.828655242919922,
31.901824951171875
],
"profile_sample_npu": [
30.15750503540039,
26.82829475402832,
31.901321411132812
],
"count_cpu": 5.766768,
"count_npu": 5.766531,
"track_sum_cpu": 319.5036,
"track_sum_npu": 319.4279
}{
"profile_max_abs_diff": 0.000938,
"profile_mean_abs_diff": 0.00039,
"count_max_abs_diff": 0.000237,
"track_max_abs_diff": 0.001724,
"track_mean_abs_diff": 8.6e-05,
"profile_pearson": 1.0,
"atol": 0.001,
"rtol": 0.001,
"threshold_max_diff": 0.005,
"passed": true
}{
"warmup": 3,
"stable_runs": 10,
"avg_latency_ms": 14.29,
"windows_per_s": 69.98,
"bases_per_s": 147938.0,
"profile_length": 1000,
"sequence_length": 2114,
"dtype": "float32",
"device": "npu:0"
}


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