okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Docker docs, compose defaults, scripts and the file test name the 0.2.7 image tags (0.2.7-cuda13 and the other flavors)df20d7784

main
1.3 KiB35 linesraw
1# Strata on an Intel Arc card (A-series or B-series, including Arc Pro B70). Needs the xe or i915 kernel driver on the host.
2# The Level Zero loader and Intel's compute runtime are in the image (Ubuntu 26.04 based).
3#
4#   cp .env.example .env
5#   docker compose -f docker-compose.intel.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:
9  strata:
10    image: ${STRATA_IMAGE:-ghcr.io/niko1221/strata:0.2.7-sycl}
11    container_name: strata
12    restart: unless-stopped
13    ports:
14      - "${STRATA_BIND:-127.0.0.1}:${STRATA_PORT:-8080}:8080"
15    environment:
16      MODEL: ${MODEL:-}
17      MODEL_PATH: ${MODEL_PATH:-}            # GGUF files you already have, as seen inside the container (mount them below)
18      CONTEXT: ${CONTEXT:-32k}
19      PARALLEL: ${PARALLEL:-}
20      VISION: ${VISION:-off}
21      TUNE: ${TUNE:-skip}
22      API_KEY: ${API_KEY:-}
23    volumes:
24      - strata-data:/data
25      # - /srv/gguf/IQ3_XXS:/models:ro
26    devices:
27      - /dev/dri:/dev/dri
28    group_add:
29      - "${RENDER_GID:-render}"              # the host's render group id: getent group render | cut -d: -f3 (needed if you add `user:`)
30    ulimits:
31      memlock: { soft: -1, hard: -1 }
32    shm_size: 2gb
33    stop_grace_period: 2m
34volumes:
35  strata-data: