Skip to content

Commit 3555572

Browse files
authored
Change the default value for strict model config for parity (#347)
1 parent 5fc928a commit 3555572

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/tritonserver/_api/_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Options:
137137
List of models to load at startup. Only relevant with ModelControlMode.EXPLICIT.
138138
See :c:func:`TRITONSERVER_ServerOptionsSetStartupModel`
139139
140-
strict_model_config : bool, default True
140+
strict_model_config : bool, default False
141141
Enable or disable strict model configuration.
142142
See :c:func:`TRITONSERVER_ServerOptionsSetStrictModelConfig`
143143
@@ -275,7 +275,7 @@ class Options:
275275
server_id: str = "triton"
276276
model_control_mode: ModelControlMode = ModelControlMode.NONE
277277
startup_models: list[str] = field(default_factory=list[str])
278-
strict_model_config: bool = True
278+
strict_model_config: bool = False
279279

280280
rate_limiter_mode: RateLimitMode = RateLimitMode.OFF
281281
rate_limiter_resources: list[RateLimiterResource] = field(
@@ -507,7 +507,7 @@ def __init__(
507507
508508
Options(server_id='triton', model_repository='/workspace/models',
509509
model_control_mode=<TRITONSERVER_ModelControlMode.NONE: 0>,
510-
startup_models=[], strict_model_config=True,
510+
startup_models=[], strict_model_config=False,
511511
rate_limiter_mode=<TRITONSERVER_RateLimitMode.OFF: 0>,
512512
rate_limiter_resources=[], pinned_memory_pool_size=268435456,
513513
cuda_memory_pool_sizes={}, cache_config={},

0 commit comments

Comments
 (0)