Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit cd9bcb3

Browse files
committed
complete v2.0 test
1 parent e66d7ef commit cd9bcb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/builder/build_kernel_latency_predictor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ predictor, data = build_predictor_for_kernel(
244244
)
245245
```
246246

247-
In the experiment of nn-Meter, we set `init_sample_num` as 1000, `finegrained_sample_num` as 10, `iteration` as 5, and `error_threshold` as 0.1.
247+
In the experiment of nn-Meter, we set default `init_sample_num` as 1000, `finegrained_sample_num` as 10, `iteration` as 5, and `error_threshold` as 0.1.
248248

249249
nn-Meter also provided a end-to-end method for users to build a series of general latency predictors, named `nn_meter.builder.build_latency_predictor`. This method will build predictors for all kernels in `<workspace-path>/configs/predictorbuild_config.yaml` according to their corresponding parameters. The parameters includes `INIT_SAMPLE_NUM`, `FINEGRAINED_SAMPLE_NUM`, `ITERATION`, and `ERROR_THRESHOLD`. Here is an example:
250250

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='nn-meter',
8-
version='2.0a1',
8+
version='2.0',
99
description='nn-Meter is a novel and efficient system to accurately predict the inference latency of DNN models on diverse edge devices.',
1010
long_description = open('README.md', encoding='utf-8').read(),
1111
long_description_content_type = 'text/markdown',

0 commit comments

Comments
 (0)