社区发布 Radiance 非官方 WSL2 移植
Reddit 用户 /u/bruns20 发布了非官方补丁和脚本,可通过 WSL2 在 Windows 上运行仅支持 Linux 的 Radiance 大模型推理引擎。该移植从上游源码构建、应用 WSL 专用修改并获取兼容的 ROCm 运行时,随后在本地提供 OpenAI 兼容 API;性能数据仅来自一套 Radeon R9700 测试环境。
这项发布为在 Windows 上部署 Radiance 提供了具体的社区方案,但未获上游支持,且报告的性能仅在一套硬件配置上得到验证。
Hey guys, not going to take much credit since claude did 90% of this, but wanted to share the patches I used to get StillDeadcode's Radiance running on my windows pc. I'm sure that multiple people have done this already, but I couldn't find a post, so thought I'd throw this out there if anybody else wants to use it.
https://github.com/bruns20/radiance-wsl
Radiance is Linux-only, and the author has said WSL won’t be supported in the main tree, which is fair. So this is unofficial. Please send problems to my repo, not upstream.
What it does
build.shbuilds any Radiance release from upstream’s own source and Dockerfile, with a few small WSL patches applied. When a new release comes out, it’s./build.sh 1.18.0.make-runtime.shgrabs a ROCm runtime that actually works under WSL. The stock ROCm 10.1 hangs on the first GPU job if your PC also has an integrated GPU (ROCm/rocm-systems#13291), and AMD’s 10.3 nightlies fix it.run.shserves an OpenAI-compatible API on 127.0.0.1:8000.
Two of the four patches are godzillakong’s from codeberg #341. They did the hard part of getting it running without /dev/kfd.
Numbers (R9700 32 GB, Qwen3.8-27B MXFP4 + DFlash2, 131k context)
| start until serving | ~8 s (vLLM on the same box: 70-75 s) |
| prefill, 9.4k / 36k-token prompt | 3,223 / 2,784 tok/s |
| decode, prose | ~75-80 tok/s |
| decode, code | ~145-160 tok/s |
Tested on: R9700 + Ryzen 5 7600 (with its iGPU), Windows 11 26200, Adrenalin 26.10.1, Radiance 1.17.0. That’s the only setup I’ve tried. Other gfx1201 cards (RX 9070 / 9070 XT) should work, but I’d love to hear either way.
submitted by /u/bruns20 [link] [comments]
#Radiance#StillDeadcode#Windows Subsystem for Linux 2#AMD ROCm#Radeon R9700#Qwen3.8-27B#DFlash2#OpenAI API