Fixed OOM for Qwen3.5-397B
This commit is contained in:
@@ -22,21 +22,21 @@ build_args:
|
|||||||
mods:
|
mods:
|
||||||
# - mods/fix-qwen3.5-autoround
|
# - mods/fix-qwen3.5-autoround
|
||||||
- mods/fix-qwen3.5-chat-template
|
- mods/fix-qwen3.5-chat-template
|
||||||
- mods/gpu-mem-util-gb
|
#- mods/gpu-mem-util-gb
|
||||||
- mods/drop-caches
|
# - mods/drop-caches
|
||||||
|
|
||||||
# Default settings (can be overridden via CLI)
|
# Default settings (can be overridden via CLI)
|
||||||
defaults:
|
defaults:
|
||||||
port: 8000
|
port: 8000
|
||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
tensor_parallel: 2
|
tensor_parallel: 2
|
||||||
gpu_memory_utilization: 112
|
gpu_memory_utilization: 0.9
|
||||||
max_model_len: 262144
|
max_model_len: 262144
|
||||||
max_num_batched_tokens: 4176
|
max_num_batched_tokens: 4176
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
env:
|
env:
|
||||||
PYTORCH_CUDA_ALLOC_CONF: "expandable_segments:True"
|
# PYTORCH_CUDA_ALLOC_CONF: "expandable_segments:True"
|
||||||
VLLM_MARLIN_USE_ATOMIC_ADD: 1
|
VLLM_MARLIN_USE_ATOMIC_ADD: 1
|
||||||
|
|
||||||
# The vLLM serve command template
|
# The vLLM serve command template
|
||||||
@@ -45,7 +45,7 @@ command: |
|
|||||||
--max-model-len {max_model_len} \
|
--max-model-len {max_model_len} \
|
||||||
--max-num-seqs 2 \
|
--max-num-seqs 2 \
|
||||||
--kv-cache-dtype fp8 \
|
--kv-cache-dtype fp8 \
|
||||||
--gpu-memory-utilization-gb {gpu_memory_utilization} \
|
--gpu-memory-utilization {gpu_memory_utilization} \
|
||||||
--port {port} \
|
--port {port} \
|
||||||
--host {host} \
|
--host {host} \
|
||||||
--enable-prefix-caching \
|
--enable-prefix-caching \
|
||||||
|
|||||||
Reference in New Issue
Block a user