From 6e69d784e4814c3dbe35e8f70c6cf4b920c8b20b Mon Sep 17 00:00:00 2001 From: 天地 <tiandiweizun@gmail.com> Date: 星期三, 19 三月 2025 23:10:13 +0800 Subject: [PATCH] 1. bug fix:list(mean)和list(var),由于mean和var是numpy,导致写入到文件的格式错误,参考上面的话,大概率是list(mean.tolist()),其实外层list没有必要 (#2437) --- runtime/docs/benchmark_libtorch_cpp.md | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/runtime/docs/benchmark_libtorch_cpp.md b/runtime/docs/benchmark_libtorch_cpp.md index b7f99c6..b9bd786 100644 --- a/runtime/docs/benchmark_libtorch_cpp.md +++ b/runtime/docs/benchmark_libtorch_cpp.md @@ -25,7 +25,9 @@ |------------------|:------:|:------:|:------------:| | 1 | 1 | 0.0076 | 130 | | 1 | 20 | 0.0048 | 208 | -| 20 | 20 | 0.0008 | 1200 | +| 5 | 20 | 0.0011 | 850 | +| 10 | 20 | 0.0008 | 1200+ | +| 20 | 20 | 0.0008 | 1200+ | Node: On CPUs, the single-thread RTF is 0.066, and 32-threads' speedup is 330+ -- Gitblit v1.9.1