refactor(metal): move nn, io, grad, lora, optim to internal/metal
Co-Authored-By: Virgil <virgil@lethean.io> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d6a49544bd
commit
a669d1d9c1
5 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
//go:build darwin && arm64
|
||||
|
||||
package mlx
|
||||
package metal
|
||||
|
||||
/*
|
||||
#include "mlx/c/mlx.h"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//go:build darwin && arm64
|
||||
|
||||
package mlx
|
||||
package metal
|
||||
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//go:build darwin && arm64
|
||||
|
||||
package mlx
|
||||
package metal
|
||||
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//go:build darwin && arm64
|
||||
|
||||
package mlx
|
||||
package metal
|
||||
|
||||
// Linear is a fully-connected layer: y = x @ W.T + bias.
|
||||
// For quantized models, set Scales/Biases/GroupSize/Bits to use QuantizedMatmul.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
//go:build darwin && arm64
|
||||
|
||||
package mlx
|
||||
package metal
|
||||
|
||||
import "math"
|
||||
|
||||
Loading…
Add table
Reference in a new issue