返回全部动态
llama.cpp b10783 发布:mtmd 模块添加 const 限定符
原标题:b10783
AI 摘要
llama.cpp 发布 b10783 版本,主要更新为在 mtmd 模块中多处添加 const 限定符,包括将 mtmd_context 标记为 const,以及将 tokenize 函数的输入指针标记为 const,以支持多线程安全调用。该版本同时提供了适用于 macOS、Linux、Windows、Android 等平台的预编译二进制文件。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<details open> mtmd : add `const` in various places (#28307) * mtmd : mark context as const in more methods Mark `mtmd_context` as `const` in: - mtmd_bitmap_init_lazy - mtmd_tokenize - mtmd_tokenize_from_parts - mtmd_helper_support_video - mtmd_helper_bitmap_init_from_file - mtmd_helper_bitmap_init_from_buf - mtmd_helper_video_init - mtmd_helper_video_init_from_buf - mtmd_helper_model_can_chat The tokenization functions in particular are useful to have marked `const`, as that allows more eas
发布时间:2026-09-03 19:17
抓取时间:2026-09-03 19:56
来源机构:ggml-org