Quickstart
Follow this path to get a model response: install Lens → add a cluster → deploy a model → publish a service → send a request.
1. Install and open Lens
On Ubuntu 22.04+ (x86_64), run the online installer without cloning the repository.
Set VERSION to main or a release tag that contains the online installer:
VERSION=main && curl -fsSL "https://raw.githubusercontent.com/llm-d-incubation/llm-d-lens/${VERSION}/scripts/LensInstaller-Ubuntu-x86_64-online.sh" | bash
Or use wget:
VERSION=main && wget -qO- "https://raw.githubusercontent.com/llm-d-incubation/llm-d-lens/${VERSION}/scripts/LensInstaller-Ubuntu-x86_64-online.sh" | bash
Accept the installer defaults or enter your installation directory and ports. Open the URL printed at completion and sign in with the auto-generated administrator credentials. The installer prints the path to a mode-600 file containing them; the file is removed when the password changes. Prompts are read from the terminal, and a copy of the installer is saved in the current directory after source validation. Use a new or empty installation directory. To run from source instead, follow Installation.
2. Add a cluster and deploy a model
- In Clusters, click Add and upload the cluster's kubeconfig.
- Complete the wizard's proxy, gateway, accelerator, software and model-cache steps, then click Finish → Done.
- In Model cache, download the model into a cache volume and wait for it to be ready.
- In Model Market, choose the model and cluster. Select Manual → Configure deployment to use an llm-d Guide.
- Choose optimized-baseline, check the suggested resources, then click Generate YAML → Confirm & generate → Next.
- In Deployments, wait for Ready.
For the complete field-by-field walkthrough, use Add a cluster and deploy a model.
3. Publish and call the model
- In Model services, click Add model service, choose the cluster, enter the public model name, and click Create.
- Click Add model server, choose the cluster, service and deployment, then click Add provider.
- In API keys, click New key, create a key and save it immediately.
- In My services, find the model and click cURL.
- Copy the request, replace
lens-mk-...with your key, and run it in a terminal.
You are done when the request returns a model reply. If the gateway is not ready, follow Publish a model service.
4. Measure performance
Follow Evaluate a deployment for a small first benchmark. It measures the service you just published without deploying another model.