2026-02-19 17:57:37 +00:00
|
|
|
module forge.lthn.ai/core/go-mlx
|
|
|
|
|
|
2026-02-22 20:33:48 +00:00
|
|
|
go 1.26.0
|
feat(api): migrate to go-inference shared interfaces
Replace local TextModel, Backend, Token, Message, and option types with
forge.lthn.ai/core/go-inference. go-mlx is now a pure backend that
registers "metal" into the shared inference registry via init().
Deleted: textmodel.go, options.go, backend.go
Updated: register_metal.go (implements inference.Backend with Available()),
mlx_test.go (uses inference.* types, 4 new tests), go.mod,
internal/metal/generate.go (added RepeatPenalty)
159 tests passing (148 internal/metal + 11 root).
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-19 20:15:42 +00:00
|
|
|
|
2026-02-22 20:15:06 +00:00
|
|
|
require forge.lthn.ai/core/go-inference v0.0.1
|
2026-02-22 21:41:04 +00:00
|
|
|
|
|
|
|
|
require (
|
|
|
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
|
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
|
|
|
)
|