All Products
Search
Document Center

PolarDB:Procedure to load an external model

Last Updated:Mar 28, 2026

With the MLOps capabilities provided by PolarDB for AI, you can upload, deploy, and use externally trained models.

Supported model types

A wide array of external models are supported. The following table lists examples of supported frameworks:

FrameworkType
scikit-learn (sklearn)-compatible algorithms — LightGBM, Gradient Boosted Decision Tree (GBDT)Traditional ML
TensorFlowDeep learning
PyTorchDeep learning

Steps

Complete the following steps in order:

  1. Upload a model — store the trained model file in PolarDB for AI.

  2. Deploy a model — activate the uploaded model so it is ready to serve inference requests.

  3. Evaluate a model — assess model performance against a test dataset before running it in production.

  4. Perform model inference — run predictions against your data using SQL.