Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions LLama/Native/DecodeResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,19 @@ public enum DecodeResult
/// Could not find a KV slot for the batch (try reducing the size of the batch or increase the context)
/// </summary>
NoKvSlot = 1,

/// <summary>
/// Compute was aborted (e.g. due to callback request or timeout)
/// </summary>
ComputeAborted = 2,

/// <summary>
/// Failed to allocate memory or reserve output space
/// </summary>
AllocationFailed = -2,

/// <summary>
/// General failure during decode (e.g. internal error, slot failure)
/// </summary>
DecodeFailed = -3,
}
Loading