Skip to content

Commit

Permalink
llama : add comment about thread-safety [no ci] (ggerganov#9449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and arthw committed Nov 18, 2024
1 parent 5daa669 commit 416ef0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/llama.h
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@ extern "C" {
//
// Tokenization
//
// The API is thread-safe.
//

/// @details Convert the provided text into tokens.
/// @param tokens The tokens pointer must be large enough to hold the resulting tokens.
Expand Down

0 comments on commit 416ef0f

Please sign in to comment.