Browse Source

Merge pull request #303 from martindevans/expose_progress_callback

progress_callback in `LLamaModelParams`
tags/v0.8.1
Martin Evans GitHub 2 years ago
parent
commit
18b3a5595a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      LLama/Native/LLamaModelParams.cs

+ 2
- 2
LLama/Native/LLamaModelParams.cs View File

@@ -27,12 +27,12 @@ namespace LLama.Native
/// <summary>
/// called with a progress value between 0 and 1, pass NULL to disable
/// </summary>
LlamaProgressCallback progress_callback;
public LlamaProgressCallback progress_callback;

/// <summary>
/// context pointer passed to the progress callback
/// </summary>
void* progress_callback_user_data;
public void* progress_callback_user_data;

/// <summary>
/// only load the vocabulary, no weights


Loading…
Cancel
Save