vllm (haechi) 추가
This commit is contained in:
1 parent
310b85bf36
commit
e32f8ef533
13 files changed
+119
-14
No files matched your search
@@ -0,0 +1,43 @@
|
||||
services:
|
||||
haechi:
|
||||
image: vllm/vllm-openai:v0.31.0
|
||||
container_name: haechi-27b
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- haechi-net
|
||||
environment:
|
||||
- HF_TOKEN=${HF_TOKEN:-}
|
||||
- CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-0,1}
|
||||
command:
|
||||
- --model=${MODEL_ID:-KETI-AIR/Qwen3.5-KETI-HAECHI-27B}
|
||||
- --served-model-name=${SERVED_NAME:-haechi}
|
||||
- --api-key=${VLLM_API_KEY:?VLLM_API_KEY를 .env에 설정하세요}
|
||||
- --quantization=${QUANTIZATION:-fp8_per_tensor}
|
||||
- --tensor-parallel-size=${TENSOR_PARALLEL_SIZE:-2}
|
||||
- --max-model-len=${MAX_MODEL_LEN:-32768}
|
||||
- --gpu-memory-utilization=${GPU_MEMORY_UTILIZATION:-0.9}
|
||||
- --language-model-only
|
||||
- '--default-chat-template-kwargs={"enable_thinking": false}'
|
||||
volumes:
|
||||
- ${HF_CACHE_DIR:-./hf_cache}:/root/.cache/huggingface
|
||||
shm_size: "16gb"
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 1200s
|
||||
ports:
|
||||
- "30103:8000"
|
||||
|
||||
networks:
|
||||
haechi-net:
|
||||
name: haechi-net
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user