Files
inference-worker/.runpod/hub.json
T

36 lines
1.3 KiB
JSON

{
"title": "llama.cpp inference",
"description": "Run llama.cpp inference using serverless RunPod workers!",
"type": "serverless",
"category": "language",
"iconUrl": "https://raw.githubusercontent.com/ggml-org/llama.cpp/master/media/llama1-icon-transparent.png",
"config": {
"runsOn": "GPU",
"gpuCount": 1,
"gpuIds": "AMPERE_16,AMPERE_24,ADA_24",
"containerDiskInGb": 32,
"presets": [],
"env": [
{
"key": "LLAMA_SERVER_CMD_ARGS",
"input": {
"name": "Model Name",
"type": "string",
"description": "Launch command line arguments (argv) for the llama-server binary. Do not define the port.",
"default": "-hf unsloth/gemma-3-270m-it-GGUF:Q6_K --ctx-size 4096",
"advanced": false
}
},
{
"key": "MAX_CONCURRENCY",
"input": {
"name": "Maximum Concurrency",
"type": "number",
"description": "Maximum number of concurrent requests to handle (default: 8).",
"default": 8,
"advanced": true
}
}
]
}
}