add changes from pr

This commit is contained in:
velaraptor-runpod
2026-02-06 18:10:09 -06:00
parent 461f89cea6
commit e1e9ef74ad
7 changed files with 368 additions and 368 deletions
+153 -252
View File
@@ -9,7 +9,7 @@
"containerDiskInGb": 150,
"gpuIds": "ADA_80_PRO,AMPERE_80",
"gpuCount": 1,
"allowedCudaVersions": ["12.9", "12.8", "12.7", "12.6", "12.5", "12.4"],
"minimumCudaVersion": "12.4",
"presets": [
{
"name": "deepseek-ai/deepseek-r1-distill-llama-8b",
@@ -181,15 +181,6 @@
"advanced": true
}
},
{
"key": "QUANTIZATION_PARAM_PATH",
"input": {
"name": "Quantization Param Path",
"type": "string",
"description": "Path to the JSON file containing the KV cache scaling factors.",
"advanced": true
}
},
{
"key": "MAX_MODEL_LEN",
"input": {
@@ -199,26 +190,6 @@
"advanced": true
}
},
{
"key": "GUIDED_DECODING_BACKEND",
"input": {
"name": "Guided Decoding Backend",
"type": "string",
"description": "Which engine will be used for guided decoding by default.",
"options": [
{
"label": "outlines",
"value": "outlines"
},
{
"label": "lm-format-enforcer",
"value": "lm-format-enforcer"
}
],
"default": "outlines",
"advanced": true
}
},
{
"key": "DISTRIBUTED_EXECUTOR_BACKEND",
"input": {
@@ -238,16 +209,6 @@
"advanced": true
}
},
{
"key": "WORKER_USE_RAY",
"input": {
"name": "Worker Use Ray",
"type": "boolean",
"description": "Deprecated, use --distributed-executor-backend=ray.",
"default": false,
"advanced": true
}
},
{
"key": "RAY_WORKERS_USE_NSIGHT",
"input": {
@@ -307,26 +268,6 @@
"advanced": true
}
},
{
"key": "USE_V2_BLOCK_MANAGER",
"input": {
"name": "Use V2 Block Manager",
"type": "boolean",
"description": "Use BlockSpaceMangerV2.",
"default": false,
"advanced": true
}
},
{
"key": "NUM_LOOKAHEAD_SLOTS",
"input": {
"name": "Num Lookahead Slots",
"type": "number",
"description": "Experimental scheduling config necessary for speculative decoding.",
"default": 0,
"advanced": true
}
},
{
"key": "SEED",
"input": {
@@ -412,53 +353,6 @@
"advanced": true
}
},
{
"key": "ROPE_SCALING",
"input": {
"name": "RoPE Scaling",
"type": "string",
"description": "RoPE scaling configuration in JSON format.",
"advanced": true
}
},
{
"key": "ROPE_THETA",
"input": {
"name": "RoPE Theta",
"type": "number",
"description": "RoPE theta. Use with rope_scaling.",
"advanced": true
}
},
{
"key": "TOKENIZER_POOL_SIZE",
"input": {
"name": "Tokenizer Pool Size",
"type": "number",
"description": "Size of tokenizer pool to use for asynchronous tokenization.",
"default": 0,
"advanced": true
}
},
{
"key": "TOKENIZER_POOL_TYPE",
"input": {
"name": "Tokenizer Pool Type",
"type": "string",
"description": "Type of tokenizer pool to use for asynchronous tokenization.",
"default": "ray",
"advanced": true
}
},
{
"key": "TOKENIZER_POOL_EXTRA_CONFIG",
"input": {
"name": "Tokenizer Pool Extra Config",
"type": "string",
"description": "Extra config for tokenizer pool.",
"advanced": true
}
},
{
"key": "ENABLE_LORA",
"input": {
@@ -489,16 +383,6 @@
"advanced": true
}
},
{
"key": "LORA_EXTRA_VOCAB_SIZE",
"input": {
"name": "LoRA Extra Vocab Size",
"type": "number",
"description": "Maximum size of extra vocabulary for LoRA adapters.",
"default": 256,
"advanced": true
}
},
{
"key": "LORA_DTYPE",
"input": {
@@ -527,15 +411,6 @@
"advanced": true
}
},
{
"key": "LONG_LORA_SCALING_FACTORS",
"input": {
"name": "Long LoRA Scaling Factors",
"type": "string",
"description": "Specify multiple scaling factors for LoRA adapters.",
"advanced": true
}
},
{
"key": "MAX_CPU_LORAS",
"input": {
@@ -615,6 +490,55 @@
"advanced": true
}
},
{
"key": "SPECULATIVE_CONFIG",
"input": {
"name": "Speculative Config (JSON)",
"type": "string",
"description": "Full speculative decoding configuration as a JSON string. Overrides individual speculative env vars.",
"advanced": true
}
},
{
"key": "SPECULATIVE_METHOD",
"input": {
"name": "Speculative Method",
"type": "string",
"description": "Speculative decoding method to use.",
"options": [
{
"label": "None",
"value": ""
},
{
"label": "Draft Model",
"value": "draft_model"
},
{
"label": "N-gram",
"value": "ngram"
},
{
"label": "EAGLE",
"value": "eagle"
},
{
"label": "EAGLE3",
"value": "eagle3"
},
{
"label": "Medusa",
"value": "medusa"
},
{
"label": "MLP Speculator",
"value": "mlp_speculator"
}
],
"default": "",
"advanced": true
}
},
{
"key": "SPECULATIVE_MODEL",
"input": {
@@ -633,33 +557,6 @@
"advanced": true
}
},
{
"key": "SPECULATIVE_DRAFT_TENSOR_PARALLEL_SIZE",
"input": {
"name": "Speculative Draft Tensor Parallel Size",
"type": "number",
"description": "Number of tensor parallel replicas for the draft model.",
"advanced": true
}
},
{
"key": "SPECULATIVE_MAX_MODEL_LEN",
"input": {
"name": "Speculative Max Model Length",
"type": "number",
"description": "The maximum sequence length supported by the draft model.",
"advanced": true
}
},
{
"key": "SPECULATIVE_DISABLE_BY_BATCH_SIZE",
"input": {
"name": "Speculative Disable by Batch Size",
"type": "number",
"description": "Disable speculative decoding if the number of enqueue requests is larger than this value.",
"advanced": true
}
},
{
"key": "NGRAM_PROMPT_LOOKUP_MAX",
"input": {
@@ -669,53 +566,6 @@
"advanced": true
}
},
{
"key": "NGRAM_PROMPT_LOOKUP_MIN",
"input": {
"name": "Ngram Prompt Lookup Min",
"type": "number",
"description": "Min size of window for ngram prompt lookup in speculative decoding.",
"advanced": true
}
},
{
"key": "SPEC_DECODING_ACCEPTANCE_METHOD",
"input": {
"name": "Speculative Decoding Acceptance Method",
"type": "string",
"description": "Specify the acceptance method for draft token verification in speculative decoding.",
"options": [
{
"label": "rejection_sampler",
"value": "rejection_sampler"
},
{
"label": "typical_acceptance_sampler",
"value": "typical_acceptance_sampler"
}
],
"default": "rejection_sampler",
"advanced": true
}
},
{
"key": "TYPICAL_ACCEPTANCE_SAMPLER_POSTERIOR_THRESHOLD",
"input": {
"name": "Typical Acceptance Sampler Posterior Threshold",
"type": "number",
"description": "Set the lower bound threshold for the posterior probability of a token to be accepted.",
"advanced": true
}
},
{
"key": "TYPICAL_ACCEPTANCE_SAMPLER_POSTERIOR_ALPHA",
"input": {
"name": "Typical Acceptance Sampler Posterior Alpha",
"type": "number",
"description": "A scaling factor for the entropy-based threshold for token acceptance.",
"advanced": true
}
},
{
"key": "MODEL_LOADER_EXTRA_CONFIG",
"input": {
@@ -725,54 +575,6 @@
"advanced": true
}
},
{
"key": "PREEMPTION_MODE",
"input": {
"name": "Preemption Mode",
"type": "string",
"description": "If 'recompute', the engine performs preemption-aware recomputation. If 'save', the engine saves activations into the CPU memory as preemption happens.",
"advanced": true
}
},
{
"key": "PREEMPTION_CHECK_PERIOD",
"input": {
"name": "Preemption Check Period",
"type": "number",
"description": "How frequently the engine checks if a preemption happens.",
"default": 1,
"advanced": true
}
},
{
"key": "PREEMPTION_CPU_CAPACITY",
"input": {
"name": "Preemption CPU Capacity",
"type": "number",
"description": "The percentage of CPU memory used for the saved activations.",
"default": 2,
"advanced": true
}
},
{
"key": "MAX_LOG_LEN",
"input": {
"name": "Max Log Length",
"type": "number",
"description": "Max number of characters or ID numbers being printed in log.",
"advanced": true
}
},
{
"key": "DISABLE_LOGGING_REQUEST",
"input": {
"name": "Disable Logging Request",
"type": "boolean",
"description": "Disable logging requests.",
"default": false,
"advanced": true
}
},
{
"key": "TOKENIZER_NAME",
"input": {
@@ -860,6 +662,35 @@
"advanced": true
}
},
{
"key": "ATTENTION_BACKEND",
"input": {
"name": "Attention Backend",
"type": "string",
"description": "Attention backend to use (e.g., FLASH_ATTN, XFORMERS, FLASHINFER).",
"advanced": true
}
},
{
"key": "ASYNC_SCHEDULING",
"input": {
"name": "Async Scheduling",
"type": "boolean",
"description": "Enable async scheduling for improved throughput.",
"default": false,
"advanced": true
}
},
{
"key": "STREAM_INTERVAL",
"input": {
"name": "Stream Interval",
"type": "number",
"description": "Interval in seconds between streaming responses.",
"default": 0,
"advanced": true
}
},
{
"key": "DEFAULT_BATCH_SIZE",
"input": {
@@ -959,12 +790,12 @@
}
},
{
"key": "DISABLE_LOG_REQUESTS",
"key": "ENABLE_LOG_REQUESTS",
"input": {
"name": "Disable Log Requests",
"name": "Enable Log Requests",
"type": "boolean",
"description": "Enables or disables vLLM request logging",
"default": true,
"description": "Enables vLLM request logging",
"default": false,
"advanced": true
}
},
@@ -1030,6 +861,76 @@
"default": "",
"advanced": true
}
},
{
"key": "TRUST_REQUEST_CHAT_TEMPLATE",
"input": {
"name": "Trust Request Chat Template",
"type": "boolean",
"description": "Allow chat templates from incoming requests to override the server default.",
"default": false,
"advanced": true
}
},
{
"key": "RETURN_TOKENS_AS_TOKEN_IDS",
"input": {
"name": "Return Tokens as Token IDs",
"type": "boolean",
"description": "Return token IDs instead of token strings in responses.",
"default": false,
"advanced": true
}
},
{
"key": "EXCLUDE_TOOLS_WHEN_TOOL_CHOICE_NONE",
"input": {
"name": "Exclude Tools When Tool Choice None",
"type": "boolean",
"description": "When tool_choice is 'none', exclude tool definitions from the prompt.",
"default": false,
"advanced": true
}
},
{
"key": "ENABLE_PROMPT_TOKENS_DETAILS",
"input": {
"name": "Enable Prompt Tokens Details",
"type": "boolean",
"description": "Enable detailed prompt token usage in responses.",
"default": false,
"advanced": true
}
},
{
"key": "ENABLE_FORCE_INCLUDE_USAGE",
"input": {
"name": "Enable Force Include Usage",
"type": "boolean",
"description": "Force include usage information in all streaming responses.",
"default": false,
"advanced": true
}
},
{
"key": "ENABLE_LOG_OUTPUTS",
"input": {
"name": "Enable Log Outputs",
"type": "boolean",
"description": "Log model outputs for debugging.",
"default": false,
"advanced": true
}
},
{
"key": "LOG_ERROR_STACK",
"input": {
"name": "Log Error Stack",
"type": "boolean",
"description": "Log full error stack traces.",
"default": false,
"advanced": true
}
}
]
}