@@ -198,14 +198,14 @@ class TritonPythonModel:
198198
199199 @ staticmethod
200200 def auto_complete_config (auto_complete_model_config ):
201- """ `auto_complete_config` is called only once when the server is started
202- with `--strict-model- config=false `. Implementing this function is optional.
203- A no implementation of `auto_complete_config` will do nothing. This function
204- can be used to set `max_batch_size`, `input` and `output` properties of the
205- model using `set_max_batch_size`, `add_input`, and `add_output`.
206- These properties will allow Triton to load the model with minimal model
207- configuration in absence of a configuration file. This function returns the
208- `pb_utils.ModelConfig` object with these properties. You can use `as_dict`
201+ """ `auto_complete_config` is called only once when loading the model assuming
202+ the server was not started with `--disable-auto-complete- config`. Implementing
203+ this function is optional. No implementation of `auto_complete_config` will
204+ do nothing. This function can be used to set `max_batch_size`, `input` and
205+ `output` properties of the model using `set_max_batch_size`, `add_input`, and
206+ `add_output`. These properties will allow Triton to load the model with minimal
207+ model configuration in absence of a configuration file. This function returns
208+ the `pb_utils.ModelConfig` object with these properties. You can use the `as_dict`
209209 function to gain read-only access to the `pb_utils.ModelConfig` object.
210210 The `pb_utils.ModelConfig` object being returned from here will be used as
211211 the final configuration for the model.
@@ -345,10 +345,10 @@ Every Python backend can implement four main functions:
345345
346346### ` auto_complete_config `
347347
348- ` auto_complete_config ` is called only once when the server is started
349- with [ ` --strict-model- config=false ` ] (
350- https://github.com/triton-inference-server/server/blob/main/docs/model_configuration.md#auto-generated-model-configuration ).
351- Implementing this function is optional. A no implementation of
348+ ` auto_complete_config ` is called only once when loading the model assuming
349+ the server was not started with [ ` --disable-auto-complete- config ` ] ( https://github.com/triton-inference-server/server/blob/main/docs/model_configuration.md#auto-generated-model-configuration ) .
350+
351+ Implementing this function is optional. No implementation of
352352` auto_complete_config ` will do nothing. This function can be used to set
353353[ ` max_batch_size ` ] (
354354 https://github.com/triton-inference-server/server/blob/main/docs/model_configuration.md#maximum-batch-size ),
@@ -363,7 +363,7 @@ properties of the model using `set_max_batch_size`, `set_dynamic_batching`, `add
363363[ minimal model configuration] (
364364 https://github.com/triton-inference-server/server/blob/main/docs/model_configuration.md#minimal-model-configuration )
365365in absence of a configuration file. This function returns the
366- ` pb_utils.ModelConfig ` object with these properties. You can use ` as_dict `
366+ ` pb_utils.ModelConfig ` object with these properties. You can use the ` as_dict `
367367function to gain read-only access to the ` pb_utils.ModelConfig ` object.
368368The ` pb_utils.ModelConfig ` object being returned from here will be used as the
369369final configuration for the model.
0 commit comments