go-rocm/register_rocm.go
Snider aa42cff417 feat: scaffold go-rocm AMD GPU inference package
Implements inference.Backend via llama-server subprocess (llama.cpp + HIP/ROCm).
Targets RX 7800 XT (gfx1101, RDNA 3, 16GB VRAM).

Includes:
- Backend registration with build tags (linux/amd64)
- Stub backend.go with llama-server lifecycle outline
- CLAUDE.md with build instructions for llama.cpp + ROCm
- TODO.md with 5-phase task queue
- FINDINGS.md with hardware specs, VRAM budget, design rationale

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-19 19:39:40 +00:00

12 lines
244 B
Go

//go:build linux && amd64
package rocm
import "forge.lthn.ai/core/go-inference"
func init() {
inference.Register(&rocmBackend{})
}
// ROCmAvailable reports whether ROCm GPU inference is available.
func ROCmAvailable() bool { return true }