Fix worker db

This commit is contained in:
2026-09-29 05:39:45 +00:00
parent 73c51ed1cd
commit 498a22ab61
8 changed files with 241 additions and 43 deletions

View File

@@ -2,14 +2,15 @@
# --- Model (compose) ---
GPU_DEVICE=0 # index hoặc UUID card, như `docker run --gpus device=0`
CHANDRA_MODEL_DIR=/path/to/chandra-dla-v2 # thư mục weights trên host
KIE_MODEL_DIR=/path/to/Qwen3.5-4B # snapshot HF đã bung (không để symlink trỏ ra ngoài)
KIE_MODEL_DIR=./qwen35-4b-model # mkdir -p qwen35-4b-model; tar -xf qwen35-4b-weights.tar -C qwen35-4b-model
GPU_UTIL=0.55 # chandra; GPU_UTIL + KIE_GPU_UTIL < phần card còn trống
KIE_GPU_UTIL=0.3
MAX_MODEL_LEN=32768 # chandra; cấu hình cũ 98304 cần thêm KV cache GPU
MAX_NUM_SEQS=128
MAX_BATCHED_TOKENS=65536
PORT=9222
KIE_PORT=9224
# IMAGE_TAG=chandra-dla-api:v2-20260906-024126
# KIE_IMAGE=vllm/vllm-openai:v0.23.0
# APP_IMAGE=idp-parsing-service:0.2.0
# --- HDFS native (worker) ---