Skip to content

Commit

Permalink
fix common
Browse files Browse the repository at this point in the history
Signed-off-by: zehao-intel <[email protected]>
  • Loading branch information
zehao-intel committed Jul 16, 2024
1 parent 38fdcff commit 4f7916b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/3.x_api/pytorch/cv/mixed_precision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ bash run_autotune.sh --input_model=resnet18 --dataset_location=/path/to/imagenet
## Benchmark
```Shell
# run optimized performance
bash run_benchmark.sh --input_model=resnet18 --dataset_location=/path/to/imagenet --mode=performance --batch_size=1 --optimized=true --iters=500
bash run_benchmark.sh --input_model=resnet18 --dataset_location=/path/to/imagenet --mode=performance --batch_size=100 --optimized=true --iters=500
# run optimized accuracy
bash run_benchmark.sh --input_model=resnet18 --dataset_location=/path/to/imagenet --mode=accuracy --batch_size=100 --optimized=true
bash run_benchmark.sh --input_model=resnet18 --dataset_location=/path/to/imagenet --mode=accuracy --batch_size=1 --optimized=true
```


Expand Down
2 changes: 1 addition & 1 deletion neural_compressor/common/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
AUTOROUND = "autoround"
FP8_QUANT = "fp8_quant"
MX_QUANT = "mx_quant"
MIX_PRECISION = "mix_precision"
MIXED_PRECISION = "mixed_precision"

# options
import datetime
Expand Down

0 comments on commit 4f7916b

Please sign in to comment.