Upload Custom Models

To use your own custom models, you just need to upload the models to JFrog ML. After uploading, custom models are automatically allowed for use.

Before uploading custom models:

JFrog recommends that you scan your custom models using jf malicious-scan . It performs an on-demand local check for model binaries before loading them into memory. See Scan You ML Models for more information

Run the scan in a developer workstation or CI runner when you want immediate feedback before execution. On-demand CLI scan results are local and are not currently persisted in the JFrog Platform UI.

To upload a custom model:

  1. From the JFrog platform menu, select AI/ML > Registry.

  2. Click the + adjacent to the project on the left for which you want to upload and allow the custom model.

  3. Click Upload custom model.

  4. If you have not Installed it yet, install the frogml-cli (use Python versions 3.10 to 3.14).

    pip install frogml-cli
  5. Create the model either by entering the details here, or using the CLI.

    Enter details in
    Upload Model pane:

    Using CLI:

    a. Enter:

    1. Model Name
    2. Project

    b. Click Create Model.

    frogml models create "<MODEL_NAME>" --project "<PROJECT_NAME>"

  6. Select a template or an example as the base for your model.

    Start from TemplateStart from Example
    frogml models init --example general .frogml models init --example credit_risk .

  7. Build and deploy - trigger your first build in JFrog ML.

    frogml models build ./<MODEL_FOLDER> --model-id "<MODEL_NAME>" --deploy