okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
df20d7784
main
1# Strata on an AMD card. gfx120X image: RX 9000 series and Radeon AI PRO R9700 (RDNA4). gfx110X image: RX 7000 series (RDNA3). 2# Needs the amdgpu kernel driver on the host (the ROCm user-space is in the image). 3# 4# cp .env.example .env 5# docker compose -f docker-compose.amd.yml up -d 6# 7# Images: ghcr.io/niko1221/strata (published from 0.2.1 on). To use one you built yourself: STRATA_IMAGE=strata:0.2.7-<flavor> docker compose up -d 8services : 9strata : 10image : ${STRATA_IMAGE:-ghcr.io/niko1221/strata:0.2.7-rocm-gfx120x} 11container_name : strata 12restart : unless-stopped 13ports : 14- "${STRATA_BIND:-127.0.0.1}:${STRATA_PORT:-8080}:8080" 15environment : 16MODEL : ${MODEL:-} 17MODEL_PATH : ${MODEL_PATH:-} # GGUF files you already have, as seen inside the container (mount them below) 18CONTEXT : ${CONTEXT:-32k} 19PARALLEL : ${PARALLEL:-} 20VISION : ${VISION:-off} 21TUNE : ${TUNE:-skip} 22API_KEY : ${API_KEY:-} 23volumes : 24- strata-data:/data 25# - /srv/gguf/IQ3_XXS:/models:ro 26devices : 27- /dev/kfd:/dev/kfd 28- /dev/dri:/dev/dri 29group_add : 30- video 31- "${RENDER_GID:-render}" # the host's render group id: getent group render | cut -d: -f3 (needed if you add `user:`; root does not need it) 32ulimits : 33memlock : { soft : -1 , hard : -1 } 34shm_size : 2gb 35stop_grace_period : 2m 36# security_opt: [seccomp:unconfined] # only if the log says a ROCm call was blocked (rare) 37volumes : 38strata-data :