This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/deploy/compose/common.yaml
T
Deadcode dc339b4cd2 radiance 1.4.0
- Qwen3.8-Flash-Next on one card: the heat engine moves 64 experts a step (was 8), its copies and
  the prefill's expert staging run on the card's DMA engines instead of as copy kernels, and at
  decode the next layer's likeliest experts are copied onto the card ahead of its GEMMs. Against
  1.3.0 at --tp 1: prefill +17-20% from 8K tokens up, throughput under load +16-20%
- deploy/compose/flashnext-tp1.yaml: Qwen3.8-Flash-Next on one card and 64 GB of host RAM
  (4096-token prefill steps, 4 sequences, a 301K-token cache)
- #61: --busy-prefill-chunk (default auto): a long prefill leaves the rest of the step to the
  requests decoding beside it and to new arrivals, instead of taking all of it (baKon)
- LiquidAI's LFM2 and LFM2-VL, and d1's /v1/systemone (after zivius's PR #50)
- a startup report: every option with its value and where it came from, the hardware, and what
  on it costs speed with the fix; /diagnostics serves it (behind the API key; without one, only
  to the same machine)
- #69: a GPU memory fault names the buffer and kernel argument behind it and ends the server at
  once (exit status 70), instead of hanging or writing a core of tens of gigabytes
- #64: a card without Resizable BAR is refused at startup, naming what to turn on, instead of
  crashing at the first launch
- the image is built with ROCm 10.1 (the host's amdgpu driver must support it), with ROCm's
  libLLVM rebuilt so the same source compiles to the same kernels every time; a source build
  takes ROCm 10.1 or 7.2
- #71: the image ships curl, jq and a CA bundle, so --model <HF repo id> works in the container,
  and hfget.sh runs under its busybox (baKon)
- --profile-ops shows how long each op's lane sat idle before it; cardclock.py skips an
  integrated GPU instead of stopping
2026-10-12 11:46:14 +02:00

49 lines
1.9 KiB
YAML

# The service every model file in this directory extends. It holds 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
# The host user, so the prefix cache's files on disk belong to that user and not to 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, which the n-gram table's reads from the
# container go through, 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
- ${RADIANCE_STATE:?set RADIANCE_STATE in .env}:/data
# 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"