Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
* Update README.md

fixing typo

* Fix for default auto complete
  • Loading branch information
nnshah1 authored Jan 17, 2024
1 parent 3c47438 commit fe3bb16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Triton_Inference_Server_Python_API/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ The `diffusers` build includes a `stable_diffustion` pipeline that
takes a text prompt and returns a generated image. For more details on
the models and pipeline please see the
[building_complex_pipelines](/Conceptual_Guide/Part_6-building_complex_pipelines)
gtutorial.
tutorial.

### Start Container

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ def auto_complete_config(auto_complete_model_config):

auto_complete_model_config.set_max_batch_size(0)

if config["parameters"]["decoupled"]["string_value"] == "True":
auto_complete_model_config.set_model_transaction_policy({"decoupled": True})
auto_complete_model_config.set_model_transaction_policy({"decoupled": False})

if "parameters" in config and "decoupled" in config["parameters"]:
if config["parameters"]["decoupled"]["string_value"] == "True":
auto_complete_model_config.set_model_transaction_policy(
{"decoupled": True}
)

return auto_complete_model_config

Expand Down

0 comments on commit fe3bb16

Please sign in to comment.