Browse Source

fixed safe handle

tags/0.9.1
Martin Evans 2 years ago
parent
commit
b3e576608b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      LLama/Native/LLamaKvCacheView.cs

+ 1
- 1
LLama/Native/LLamaKvCacheView.cs View File

@@ -67,7 +67,7 @@ public class LLamaKvCacheViewSafeHandle
/// <param name="ctx"></param>
/// <param name="view"></param>
public LLamaKvCacheViewSafeHandle(SafeLLamaContextHandle ctx, LLamaKvCacheView view)
: base(IntPtr.MaxValue, true)
: base((IntPtr)1, true)
{
_ctx = ctx;
_view = view;


Loading…
Cancel
Save