Browse Source

Added the `pure` field to `LLamaModelQuantizeParams` (it's been added to llama.cpp)

tags/0.9.1
Martin Evans 2 years ago
parent
commit
cedef5e45a
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      LLama/Native/LLamaModelQuantizeParams.cs

+ 10
- 0
LLama/Native/LLamaModelQuantizeParams.cs View File

@@ -48,5 +48,15 @@ namespace LLama.Native
set => _only_copy = Convert.ToSByte(value);
}
private sbyte _only_copy;

/// <summary>
/// disable k-quant mixtures and quantize all tensors to the same type
/// </summary>
public bool pure
{
get => Convert.ToBoolean(_pure);
set => _pure = Convert.ToSByte(value);
}
private sbyte _pure;
}
}

Loading…
Cancel
Save