From: Georgi Gerganov Date: Sat, 28 Sep 2024 12:13:21 +0000 (+0300) Subject: llama : add comment about thread-safety [no ci] (#9449) X-Git-Tag: upstream/0.0.4488~651 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=739842703e32cd43443c45e0b4f6647cc4e6b3d6;p=pkg%2Fggml%2Fsources%2Fllama.cpp llama : add comment about thread-safety [no ci] (#9449) --- diff --git a/include/llama.h b/include/llama.h index caef0bff..4ea8a2c2 100644 --- a/include/llama.h +++ b/include/llama.h @@ -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.