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
# export the model data to a model repository directory
from merlin.systems.dag.ops.fil import PredictForest
model = ... # XGBoost, LightGBM, or cuml/sklearn random forest.
input_schema = ... # merlin Schema representing input features to the model
ops = feature_names >> PredictForest(model, input_schema)
ensemble = Ensemble(ops, input_schema)
ensemble.export(export_path)
# make a request to the ensemble
from merlin.systems.triton.utils import send_triton_request
outputs_list = ensemble.graph.output_schema.column_names
response = send_triton_request(request, outputs_list, endpoint="triton:8001", triton_model="ensemble_model")
response
The text was updated successfully, but these errors were encountered:
Description
Provide example how to serve XGBoost model with Merlin Systems. The example should reference training with merlin models and continue with the artficats from it (similar as https://github.com/NVIDIA-Merlin/systems/tree/main/examples )
The text was updated successfully, but these errors were encountered: