README: sync with the tested deployment, add smoke_test.py
- fix the wrong warning about GPU_MEMORY_UTILIZATION: 0.15 is enough for BAAI/bge-m3 (measured: 2.1 GB of VRAM on an 8 GB card) - document batch/dense response shapes, token ids, and that BGE-M3 has a single ReLU sparse logit per token (no rel/abs pair as in ColBERT) - Portainer: env vars belong to the stack's Environment variables field, stack must run in docker compose (standalone) mode - add the measured verification table (determinism, thresholds, nnz, max|delta| vs the FlagEmbedding reference) - add smoke_test.py: dependency-free checks of every scenario plus an optional --reference mode that recomputes weights with torch/transformers
This commit is contained in:
1 parent
17f7c92b47
commit
75816679b2
3 files changed
+250
-31
No files matched your search
+6
-2
@@ -1,10 +1,14 @@
|
||||
# Values used by docker-compose.yml. Every variable has a default,
|
||||
# so the stack starts even without this file.
|
||||
# so the stack starts even without this file. In Portainer set the same names
|
||||
# in the stack's "Environment variables" field instead.
|
||||
|
||||
# port on the host
|
||||
HOST_PORT=8083
|
||||
|
||||
# share of VRAM vLLM may use (raise it if the model does not fit)
|
||||
# name of the container
|
||||
CONTAINER_NAME=vllm-bge-sparse-backend
|
||||
|
||||
# share of VRAM vLLM may use (0.15 is enough for BAAI/bge-m3: ~2.1 GB)
|
||||
GPU_MEMORY_UTILIZATION=0.15
|
||||
|
||||
MAX_MODEL_LEN=8192
|
||||
|
||||
Reference in new issue
Block a user