go/pkg/mlx
Claude dfd370cff6
refactor: strip to pure package library
- Fix remaining 187 pkg/ files referencing core/cli → core/go
- Move SDK library code from internal/cmd/sdk/ → pkg/sdk/ (new package)
- Create pkg/rag/helpers.go with convenience functions from internal/cmd/rag/
- Fix pkg/mcp/tools_rag.go to use pkg/rag instead of internal/cmd/rag
- Fix pkg/build/buildcmd/cmd_sdk.go and pkg/release/sdk.go to use pkg/sdk
- Remove all non-library content: main.go, internal/, cmd/, docker/,
  scripts/, tasks/, tools/, .core/, .forgejo/, .woodpecker/, Taskfile.yml
- Run go mod tidy to trim unused dependencies

core/go is now a pure Go package suite (library only).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:22:04 +00:00
..
cache refactor: strip to pure package library 2026-02-16 14:22:04 +00:00
model refactor: strip to pure package library 2026-02-16 14:22:04 +00:00
sample refactor: strip to pure package library 2026-02-16 14:22:04 +00:00
tokenizer fix: handle both string and array merge formats in tokenizer 2026-02-16 05:53:52 +00:00
array.go fix: remove Go-side array ref tracking, rely on MLX-C refcounting 2026-02-16 05:53:52 +00:00
CMakeLists.txt chore: target macOS 26.0, fix duplicate -lstdc++ linker warning 2026-02-16 05:53:52 +00:00
compile.go fix: correct 20 mlx-c API mismatches for v0.4.1 2026-02-16 05:53:52 +00:00
dtype.go feat: add native MLX backend for Apple Silicon inference (pkg/mlx) 2026-02-16 05:53:52 +00:00
fast.go fix: correct SDPA mask mode and slice logits to last position 2026-02-16 05:53:52 +00:00
io.go fix: remove Go-side array ref tracking, rely on MLX-C refcounting 2026-02-16 05:53:52 +00:00
mlx.go debug: add shape logging and stderr error handler for inference debugging 2026-02-16 05:53:52 +00:00
mlx_stub.go feat: add native MLX backend for Apple Silicon inference (pkg/mlx) 2026-02-16 05:53:52 +00:00
nn.go feat: support quantized inference (4-bit) for Gemma 3 2026-02-16 05:53:52 +00:00
ops.go fix: use affine quantization mode and infer head_dim from weights 2026-02-16 05:53:52 +00:00
random.go fix: correct 20 mlx-c API mismatches for v0.4.1 2026-02-16 05:53:52 +00:00
slice.go fix: correct 20 mlx-c API mismatches for v0.4.1 2026-02-16 05:53:52 +00:00
stream.go fix: add Metal cache management to prevent memory growth 2026-02-16 05:53:52 +00:00