Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more
Container

Run this model inference with full control and performance in your environment.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

Files

  • adapter_model.safetensors: LoRA adapter weights
  • adapter_config.json: PEFT adapter configuration

Serving with vLLM

This adapter can be served with vLLM by loading the Gemma 3 base model and enabling the LoRA module from this repository.

bash

PORT=8071
GPU=0
MODEL_ID=google/gemma-3-4b-it
SERVED_MODEL_NAME=gemma3_with_reasoning
ADAPTER_REPO=sscollab2/gemma3_checkpoint_step100
CUDA_VISIBLE_DEVICES="$GPU" vllm serve "$MODEL_ID" \
--host 0.0.0.0 \
--port "$PORT" \
--tensor-parallel-size 1 \
--gpu-memory-utilization 0.90 \
--max-model-len 32768 \
--served-model-name gemma3_base \
--enable-lora \
--lora-modules "${SERVED_MODEL_NAME}=${ADAPTER_REPO}" \
--max-lora-rank 16 \
--enable-auto-tool-choice \
--tool-call-parser hermes \
--limit-mm-per-prompt '{"image":10,"audio":0}'

Once the server is ready, call the LoRA-served model name:

bash

curl http://127.0.0.1:8071/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gemma3_with_reasoning",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'

For the local serving script this was based on, see:

bash

/local3/elaine1wan/SS_inference/SS_inference_0507/gemma3_scripts/run_serve_gemma3_checkpoint.sh

Model provider

sscollab2

Model tree

Base

google/gemma-3-4b-it

Adapter

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today