Repository navigation
feat: 补齐线程配置与实际后端探测 ABI - #37
Open
youngshunf wants to merge 1 commit into
Open
youngshunf wants to merge 1 commit into
youngshunf wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当前 C ABI 无法配置 CPU 线程数,也不能查询实际执行后端;设备选择依赖进程环境变量。本改动将
n_threads和严格 GGML 设备选择加入qt_init_params,提升 ABI 至 v6,并复用 GGML 注册表提供无模型设备枚举、初始化 probe 与已加载上下文的实际后端查询。指定设备缺席或 CPU 线程配置入口缺失时明确失败。ABI 布局已变化,调用者必须使用同版头文件重新编译。改动仅含 ABI、实现和有界测试。
验证:
提交:
fb2eb5eabb0cc27f9af6edc061495e18e81066bc。