ONNX ScikitLearn
flytekitplugins-onnxscikitlearn
This plugin allows you to generate ONNX models from your ScikitLearn models.
pip install flytekitplugins-onnxscikitlearnQuick Start(example, may need adjustment)
See full examplespip install flytekitplugins-onnxscikitlearn
from flytekit import task, workflow
from flytekitplugins.onnxscikitlearn import ScikitLearn2ONNX, ScikitLearn2ONNXConfig
config = ScikitLearn2ONNX(...)
@task
def my_task() -> None:
...
@workflow
def my_workflow() -> None:
my_task()Available Imports (2)
ScikitLearn2ONNXConfig is the config used during the scikitlearn to ONNX conversion.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.onnxscikitlearn import ScikitLearn2ONNX
ScikitLearn2ONNXConfig is the config used during the scikitlearn to ONNX conversion.
extends dataclass — configuration or data structure for plugin setup
from flytekitplugins.onnxscikitlearn import ScikitLearn2ONNXConfig
Dependencies
Related Plugins
ONNX PyTorch
This plugin allows you to generate ONNX models from your PyTorch models.
ONNX TensorFlow
This plugin allows you to generate ONNX models from your TensorFlow Keras models.
Dgxc-lepton
A professional Flytekit plugin that enables seamless deployment and management of AI inference endpoints using Lepton AI infrastructure within Flyte workflows.
Inference
Serve models natively in Flyte tasks using inference providers like NIM, Ollama, and others.