Shared inference interfaces (TextModel, Backend, Token). Zero deps, compiles everywhere.
Scans a base directory for model directories (subdirs with config.json + *.safetensors). Returns path, architecture, quantisation info, and file count for each discovered model. Useful for embedding in applications that need to find available models at runtime. Co-Authored-By: Virgil <virgil@lethean.io> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| CLAUDE.md | ||
| discover.go | ||
| FINDINGS.md | ||
| go.mod | ||
| inference.go | ||
| options.go | ||
| README.md | ||
| TODO.md | ||
go-inference
Shared inference interfaces (TextModel, Backend, Token). Zero deps, compiles everywhere.