Browse Source

Merge pull request #367 from martindevans/fix_quantisation_pure_field

Added missing field to LLamaModelQuantizeParams
tags/0.9.1
Martin Evans GitHub 2 years ago
parent
commit
8494fd5769
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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