Files
Seth adeda6dd84 Pre-set HSA_OVERRIDE_GFX_VERSION for Strix Halo ROCm detection
Ollama ROCm doesn't auto-detect newer AMD iGPUs (gfx1150/1151).
Setting HSA_OVERRIDE_GFX_VERSION=11.0.0 in the compose fixes this.
Configurable via .env for other AMD chips.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 20:37:06 -04:00

32 lines
1.1 KiB
Bash

# Mortdecai Gateway Configuration
# All values can also be adjusted live via POST /config
# Auth
API_KEY=mk_change_this_to_a_real_key
# Power model
GPU_IDLE_WATTS=15 # GPU at idle (watts)
GPU_LOAD_WATTS=54 # GPU during inference (watts)
SYSTEM_IDLE_WATTS=45 # Whole system idle (watts)
SYSTEM_INFERENCE_WATTS=65 # Whole system during inference (watts)
# Billing
ELECTRICITY_RATE=0.15 # $/kWh
BILLING_MODE=marginal # "marginal" (only extra watts) or "dedicated" (all uptime)
BASE_RATE_PER_HOUR=0.00 # $/hr base (dedicated mode only)
SPENDING_CAP=10.00 # $ before gateway stops accepting
# Labor & profit
LABOR_RATE_PER_HOUR=0.00 # $/hr for setup/maintenance time
PROFIT_MARGIN=0.00 # Markup multiplier (0.10 = 10%)
# Dual ledger
LEDGER_SECRET=change_me_to_a_shared_secret # Both sides must match
CALLBACK_URL= # Seth's server (e.g. http://seth_ip:8435/transaction)
# Features
ALLOW_MODEL_UPDATES=false # Allow remote model push via /admin/update-model
# AMD GPU (Strix Halo / newer chips that ROCm doesn't auto-detect)
HSA_OVERRIDE_GFX_VERSION=11.0.0