63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
services:
|
|
gpt-oss:
|
|
image: nvcr.io/nvidia/vllm:26.03.post1-py3
|
|
container_name: vllm-gpt-oss
|
|
restart: always
|
|
ipc: host
|
|
environment:
|
|
- HF_MODEL_HANDLE=openai/gpt-oss-20b
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- /root/.cache/huggingface/hub:/root/.cache/huggingface/hub
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
command: >
|
|
vllm serve openai/gpt-oss-20b
|
|
--gpu-memory-utilization 0.40
|
|
--kv-cache-dtype fp8
|
|
--max-model-len 32768
|
|
--trust-remote-code
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 300s
|
|
|
|
qwen-blackwell:
|
|
image: nvcr.io/nvidia/vllm:26.03.post1-py3
|
|
container_name: vllm-qwen-blackwell
|
|
restart: always
|
|
ipc: host
|
|
depends_on:
|
|
gpt-oss:
|
|
condition: service_healthy # Aspetta che il primo sia "Healthy"
|
|
ports:
|
|
- "8001:8000"
|
|
volumes:
|
|
- /root/.cache/huggingface:/root/.cache/huggingface
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
command: >
|
|
vllm serve /root/.cache/huggingface/hub/models--Qwen--Qwen3.6-35B-A3B-FP8/snapshots/61a5771f218894aaacf97551e24a25b866750fc2
|
|
--quantization fp8
|
|
--kv-cache-dtype fp8
|
|
--max-model-len 32768
|
|
--gpu-memory-utilization 0.40
|
|
--trust-remote-code
|
|
--enable-auto-tool-choice
|
|
--tool-call-parser hermes
|
|
--served-model-name qwen-3.6-blackwell
|
|
|