mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-23 15:01:32 -05:00
fix(cli): make sure make_tag to respect config trust_remote_code
Signed-off-by: aarnphm-ec2-dev <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
@@ -684,7 +684,7 @@ def cli_factory() -> click.Group:
|
||||
else:
|
||||
model = openllm.AutoLLM.for_model(model_name, pretrained=pretrained, llm_config=config)
|
||||
|
||||
tag = model.make_tag()
|
||||
tag = model.make_tag(trust_remote_code=config.__openllm_trust_remote_code__)
|
||||
|
||||
if len(bentoml.models.list(tag)) == 0:
|
||||
if output == "pretty":
|
||||
|
||||
Reference in New Issue
Block a user