Skip to content

Commit

Permalink
Merge pull request #1414 from ShiningZhang/dev-bug
Browse files Browse the repository at this point in the history
fix: use_calib is not configured properly
  • Loading branch information
TeslaZhao authored Oct 11, 2021
2 parents 32ada7a + 072114e commit 086605b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ python3 -m paddle_serving_server.serve --model uci_housing_model --thread 10 --p
| `use_lite` (Only for Intel x86 CPU or ARM CPU) | - | - | Run PaddleLite inference |
| `use_xpu` | - | - | Run PaddleLite inference with Baidu Kunlun XPU |
| `precision` | str | FP32 | Precision Mode, support FP32, FP16, INT8 |
| `use_calib` | bool | False | Only for deployment with TensorRT |
| `use_calib` | bool | False | Use TRT int8 calibration |
| `gpu_multi_stream` | bool | False | EnableGpuMultiStream to get larger QPS |

#### Description of asynchronous model
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ python3 -m paddle_serving_server.serve --model uci_housing_model --thread 10 --p
| `use_lite` (Only for Intel x86 CPU or ARM CPU) | - | - | Run PaddleLite inference |
| `use_xpu` | - | - | Run PaddleLite inference with Baidu Kunlun XPU |
| `precision` | str | FP32 | Precision Mode, support FP32, FP16, INT8 |
| `use_calib` | bool | False | Only for deployment with TensorRT |
| `use_calib` | bool | False | Use TRT int8 calibration |
| `gpu_multi_stream` | bool | False | EnableGpuMultiStream to get larger QPS |

#### 异步模型的说明
Expand Down
2 changes: 1 addition & 1 deletion python/paddle_serving_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def run_server(self):
"-num_threads {} " \
"-port {} " \
"-precision {} " \
"-use_calib {} " \
"-use_calib={} " \
"-reload_interval_s {} " \
"-resource_path {} " \
"-resource_file {} " \
Expand Down

0 comments on commit 086605b

Please sign in to comment.