EQTY LabDocs

Verifiable NIM Builder

Convert any NVidia Nim to a Verifiable vNIM with EQTY Middleware.

View as Markdown

Build a NIM

Make sure you get a NGCC_API key form https://build.nvidia.com/ and update the field above and select the model you wish to build. If you want to build a generic Nim and use a custom model you can specify MULTI as the model.

  1. Prepare

Clone the https://github.com/eqtylab-RND/vNIM-builder repo.

bash
git clone https://github.com/eqtylab-RND/vNIM-builder
cd vNIM-builder
  1. Build the NIM of your choice
Advanced options
  • IMAGE_REF=
    Specified a new name for the iamge. The default copies the input image as <name>-eqty:<tag>

  • IMAGE_REGISTRY=
    Specified a registry to prepend the iamge. The defaults to ghcr.io/eqtylab

  • VNIM_CPU=1
    vLLM ONLY: Build vLLM for CPU target

From the git direcetory you checked out start the builder

bash
NGC_API_KEY={{NGC_API_KEY}} ./vnim-build.sh {{NIM_IMAGE}}
  1. Push to a registry

Push to a container registry

bash
docker push ghcr.io/eqtylab/vnim/llm-nim-eqty:latest

Deploy the NIM

Follow instructions in vNIM deployment.