Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

ml: fix struct field name in comment (#12123)

pxwanglue42300f25b64
diff --git a/ml/backend.go b/ml/backend.go
index 57823e4d3..154a0f1b5 100644
--- a/ml/backend.go
+++ b/ml/backend.go
@@ -266,7 +266,7 @@ func (m DeviceMemory) LogValue() slog.Value {
// allocation is guaranteed to be provided so that if it failed, the caller can
// accommodate that to make forward progress.
type BackendMemory struct {
- // InputsWeights are always located on the CPU and cannot be moved
+ // InputWeights are always located on the CPU and cannot be moved
InputWeights Memory
// CPU model components are located in system memory. This does not