You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = SetFitModel.from_pretrained("model_to_deploy")
from setfit.exporters.onnx import export_onnx
# Export the sklearn based model
output_path = "setfit_dummy_model.onnx"
export_onnx(model.model_body,
model.model_head,
opset=12,
output_path=output_path)
Here the exported onnx model visualized (not fully shown - check model properties):
Triton Information
What version of Triton are you using?
24.04
Are you using the Triton container or did you build it yourself?
To Reproduce
Steps to reproduce the behavior.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered:
Description
Hi,
I have a question to https://github.com/triton-inference-server/tutorials/tree/main/HuggingFace for a SetFit model im currently looking at.
Info to the SetFitModel (using sentence-transformers/all-MiniLM-L6-v2):
I exported the SetFitModel to onnx:
Here the exported onnx model visualized (not fully shown - check model properties):
How can i configure the config.pbtxt regarding input and output dims for batch size = 1 for and use python backend similar to: https://github.com/triton-inference-server/tutorials/tree/main/HuggingFace/python_model_repository/python_vit? the input and output tensors in netron.app show some '?'
Triton Information
What version of Triton are you using?
24.04
Are you using the Triton container or did you build it yourself?
To Reproduce
Steps to reproduce the behavior.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).
Expected behavior
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered: