Move all 40 ML command files from core/cli/cmd/ml to go-ml/cmd/. Commands self-register via init() + cli.RegisterCommands(). - Fixed stale go-ai/ml import in cmd_ab.go (now uses go-ml + go-mlx) - Disabled cmd_train.go (needs go-mlx training API export) - Removed all local replace directives, deps resolve from forge - go build ./... passes cleanly Co-Authored-By: Virgil <virgil@lethean.io>
9 lines
179 B
Go
9 lines
179 B
Go
//go:build !(darwin && arm64)
|
|
|
|
package cmd
|
|
|
|
import "forge.lthn.ai/core/go-ml"
|
|
|
|
func createServeBackend() (ml.Backend, error) {
|
|
return ml.NewHTTPBackend(apiURL, modelName), nil
|
|
}
|