Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlflow-triton-plugin] wrong "backend" value when deploying in onnx flavor #4214

Closed
Rusteam opened this issue Apr 13, 2022 · 1 comment
Closed

Comments

@Rusteam
Copy link
Contributor

Rusteam commented Apr 13, 2022

Description
When deploying an MLflow model with ONNX flavor, backend equals to onnx in config.pbtxt, while it should be backend=onnxruntime or platform=onnxruntime_onnx.
source

Triton Information

  • docker image: nvcr.io/nvidia/tritonserver:21.12-py3
  • mlflow-triton-plugin=0.1.0

To Reproduce

mlflow deployments create -t triton --flavor onnx --name <model-name> -m <model-uri>

Error source mlflow_triton/deployments.py:

config = '''
backend: "onnx"
default_model_filename: "{}"
'''.format(model_file)

Expected behavior
backend: "onnxruntime"

I can submit a PR!

@Rusteam
Copy link
Contributor Author

Rusteam commented Apr 13, 2022

I see it has been fixed here as well

@Rusteam Rusteam closed this as completed Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant