]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
llama : add comment about thread-safety [no ci] (#9449)
authorGeorgi Gerganov <redacted>
Sat, 28 Sep 2024 12:13:21 +0000 (15:13 +0300)
committerGeorgi Gerganov <redacted>
Sat, 28 Sep 2024 12:13:42 +0000 (15:13 +0300)
include/llama.h

index caef0bfff0b7dfaaa54aa3f5a15164a2a751141a..4ea8a2c2b664b552f320f29706bb014611529856 100644 (file)
@@ -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.