Skip to content

Commit d2607ac

Browse files
dpmm99martindevans
andauthored
Use unsafe type directly for -ot field in LLamaModelParams
Co-authored-by: Martin Evans <[email protected]>
1 parent f4213a2 commit d2607ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LLama/Native/LLamaModelParams.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ public unsafe struct LLamaModelParams
1616

1717
/// <summary>
1818
/// NULL-terminated list of buffer types to use for tensors that match a pattern
19-
/// actual type: llama_model_tensor_buft_override*
2019
/// </summary>
21-
public IntPtr tensor_buft_overrides;
20+
public LLamaModelTensorBufferOverride* tensor_buft_overrides;
2221

2322
/// <summary>
2423
/// // number of layers to store in VRAM

0 commit comments

Comments
 (0)