You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

DecodeResult.cs 428 B

12345678910111213141516171819202122
  1. namespace LLama.Native;
  2. /// <summary>
  3. /// Return codes from llama_decode
  4. /// </summary>
  5. public enum DecodeResult
  6. {
  7. /// <summary>
  8. /// An unspecified error
  9. /// </summary>
  10. Error = -1,
  11. /// <summary>
  12. /// Ok.
  13. /// </summary>
  14. Ok = 0,
  15. /// <summary>
  16. /// Could not find a KV slot for the batch (try reducing the size of the batch or increase the context)
  17. /// </summary>
  18. NoKvSlot = 1,
  19. }