From 3df109adfccedeb134dea4ba2ea9a2da89872048 Mon Sep 17 00:00:00 2001 From: Isuxiz Slidder <48672727+Isuxiz@users.noreply.github.com> Date: 星期一, 31 三月 2025 17:51:52 +0800 Subject: [PATCH] Update model.py to fix "IndexError: index 1 is out of bounds for dimension 1 with size 0" (#2454) --- 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