• Stefy Lanza (nextime / spora )'s avatar
    config: per-engine AMD GPU power-state lock (Polaris compute-hang mitigation) · 20b55838
    Stefy Lanza (nextime / spora ) authored
    New server.dpm_force_performance_level_overrides (engine name → level,
    e.g. {"radeon":"high"}). At engine startup the engine writes the level
    to every amdgpu card's power_dpm_force_performance_level — locking a
    Polaris/GCN card to fixed top clocks avoids the DPM power-state
    transitions that hang these cards under sustained Vulkan compute
    (current default is 'auto', the hang-prone mode). Card is matched by PCI
    vendor id (0x1002), robust to DRM card renumbering across resets.
    Best-effort: an unprivileged container logs the exact host command on
    PermissionError.
    
    Pairs with two config-only stability levers applied for the radeon:
    n_ctx reduction (qwen3 1024→512, gme 1536→1024) to keep all three
    embedders in real VRAM with headroom (no GTT-over-PCIe spill during
    compute — another Polaris hang trigger), and max_parallel_requests
    override {"radeon":1} to serialize Vulkan submissions.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014S8VtAvG499SsCbeESRK7V
    20b55838
Name
Last commit
Last update
..
admin Loading commit data...
api Loading commit data...
backends Loading commit data...
broker Loading commit data...
frontproxy Loading commit data...
models Loading commit data...
openai Loading commit data...
pydantic Loading commit data...
queue Loading commit data...
tasks Loading commit data...
__init__.py Loading commit data...
cli.py Loading commit data...
config.py Loading commit data...
main.py Loading commit data...
platform_paths.py Loading commit data...
system_app.py Loading commit data...