add old compose files

This commit is contained in:
root
2026-07-08 20:21:28 +02:00
parent f5abd26426
commit b68bcfec14
2 changed files with 65 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
name: gpu-lab-vllm-legacy
services:
vllm-legacy:
image: vllm/vllm-openai:v0.4.0.post1
container_name: gpu-lab-vllm-legacy
network_mode: host
ipc: host
shm_size: "32gb"
volumes:
- /root/models:/models:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
entrypoint: ["/bin/sh", "-c"]
command:
- >
exec python3 -m vllm.entrypoints.openai.api_server
--model /models/llama3-70b-quantized
--served-model-name llama3-70b-gptq
--host 0.0.0.0 --port 8010
--tensor-parallel-size 4
--dtype float16
--max-model-len 8192
--gpu-memory-utilization 0.88
--max-num-seqs 4
--quantization gptq
--disable-custom-all-reduce
--enforce-eager
restart: "no"
+32
View File
@@ -0,0 +1,32 @@
name: gpu-lab-vllm-modern
services:
vllm-modern:
image: vllm/vllm-openai:v0.8.5.post1
container_name: gpu-lab-vllm-modern
network_mode: host
ipc: host
shm_size: "32gb"
volumes:
- /root/models:/models:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
entrypoint: ["/bin/sh", "-c"]
command:
- >
exec python3 -m vllm.entrypoints.openai.api_server
--model /models/deepseek-coder-v2-lite
--served-model-name deepseek-coder-v2-lite
--host 0.0.0.0 --port 8010
--tensor-parallel-size 2
--dtype bfloat16
--max-model-len 8192
--gpu-memory-utilization 0.9
--max-num-seqs 4
--trust-remote-code
--enforce-eager
restart: "no"