22 lines
600 B
YAML
22 lines
600 B
YAML
services:
|
|
vllm:
|
|
image: vllm/vllm-openai:latest
|
|
container_name: vllm
|
|
network_mode: bridge
|
|
environment:
|
|
- HF_TOKEN=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
|
|
- PYTORCH_ALLOC_CONF=expandable_segments:True
|
|
ipc: host
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- /Var/lib/docker/volumes/vllm/huggingface:/root/.cache/huggingface
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [ gpu ]
|
|
runtime: nvidia
|
|
# command: --model NVFP4/Qwen3-Coder-30B-A3B-Instruct-FP4 |