Archived
- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves every shipped container - Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime - /v1/messages works with Claude Code as it ships (gearwave00001) - a long agent conversation keeps its cached history when the client rewrites its last turn (manueloverride) - a stream's first event goes out with the first token, so llama-benchy measures prefill right - opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42) - four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b) - NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA adapters (baKon) - many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool arguments and the CPU's vision and audio encoders - plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
# The service every model file in this directory extends: what any radiance container needs on an
|
|
# AMD host. A model file adds only its container and its flags.
|
|
#
|
|
# Each model takes both cards (--tp 2; a -tp1 file one) and the same port, so run one at a time:
|
|
# docker compose -f flashnext.yaml up -d start (it comes back after a reboot)
|
|
# docker compose -f flashnext.yaml logs -f follow the log
|
|
# docker compose -f flashnext.yaml down stop
|
|
#
|
|
# Settings come from .env beside this file (see .env.example).
|
|
services:
|
|
radiance:
|
|
image: ${RADIANCE_IMAGE:-stilldeadcode/radiance:latest}
|
|
restart: unless-stopped
|
|
init: true
|
|
# Host networking: the server binds the host's own addresses, IPv4 and IPv6, with no NAT
|
|
# between it and a reverse proxy.
|
|
network_mode: host
|
|
# Run as the host user so files the server writes belong to that user, not root.
|
|
user: "${RADIANCE_UID:-1000}:${RADIANCE_GID:-1000}"
|
|
devices:
|
|
- /dev/kfd
|
|
- /dev/dri
|
|
group_add:
|
|
- "${RENDER_GID:?set RENDER_GID in .env}"
|
|
- "${VIDEO_GID:?set VIDEO_GID in .env}"
|
|
# Docker's default seccomp profile refuses io_uring (used for the n-gram table's reads from the
|
|
# model file) and the NUMA binding calls (mbind, set_mempolicy) the ROCm runtime makes for
|
|
# host memory.
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
ulimits:
|
|
memlock: -1
|
|
volumes:
|
|
- ${RADIANCE_MODELS:?set RADIANCE_MODELS in .env}:/models:ro
|
|
# A server finishes the step in flight and releases the cards on SIGTERM.
|
|
stop_grace_period: 60s
|
|
healthcheck:
|
|
test: ["CMD", "busybox", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:${PORT:-8000}/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 15m
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: 100m
|
|
max-file: "5"
|