multimolecule/maxentscan-score5bca49854adf4c53362a82a6cfa58bea4de0d4e92splicingnpu:0{
"torch": "2.9.0+cpu",
"torch_npu": "2.9.0.post1+gitee7ba04",
"device_name": "Ascend910_9362",
"npu_count": 2,
"python": "3.11.14",
"multimolecule": "0.4.7",
"transformers": "4.57.1",
"hf_endpoint": "https://hf-mirror.com"
}安装:pip install -r requirements.txt
默认执行:python inference.py
{
"sequences": [
"CAGGTAGGT",
"AAGGTACGT",
"CAGGTGAGT",
"GTAAGTTTT",
"TTTTTTTTT",
"CCCCCCCCC",
"AACCGGTAA",
"GGGGTGGGG"
],
"sha256": "f52b6621973362d9574ba212ff1c8c008963809cec9d1fbcce137cc78b683806",
"window": 9,
"alphabet": "ACGU/N (DNA T->U)",
"tokenizer": "RnaTokenizer",
"batch": 8,
"dtype": "float32",
"source": "human donor consensus + negative controls, traceable fixture"
}{
"shape": [
8,
1
],
"dtype": "float32",
"device": "npu:0",
"logits_cpu": [
10.280213356018066,
10.746074676513672,
10.673585891723633,
-30.759328842163086,
-31.079252243041992,
-31.02950668334961,
-28.89767837524414,
-0.13592524826526642
],
"logits_npu": [
10.280213356018066,
10.746074676513672,
10.673585891723633,
-30.759326934814453,
-31.079252243041992,
-31.029504776000977,
-28.89767837524414,
-0.13592524826526642
],
"task": "MaxEntScan 5' splice donor scoring (log2 scale)"
}{
"max_abs_diff": 1.9073486328125e-06,
"mean_abs_diff": 4.76837158203125e-07,
"atol": 1e-05,
"rtol": 1e-05,
"passed": true,
"ranking_match": true,
"metric": "max_abs_diff within dtype tolerance, ranking preserved"
}{
"avg_ms": 1.14,
"p50_ms": 1.15,
"first_latency_ms": 1.01,
"batch": 8,
"window": 9,
"seq_per_s": 7027.0,
"bases_per_s": 63249.0,
"dtype": "float32",
"warmup": 3,
"stable_runs": 10,
"device": "npu:0",
"peak_hbm_mb": 3166
}


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