Local AI: CPU-only sidecar profile with hash-locked requirements

未关闭
#58 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
kotlin
领域
ai, backend

调研方向

Start with hub/cloudbridge_hub/modules/ai.py to understand the existing client and socket protocol; the sidecar source and build files are not identified in the issue. Define a CPU-only sidecar and hash-locked requirements for linux/arm64 and linux/amd64, with pinned model digests and runtime networking disabled. Document synthetic thumbnail indexing and memory benchmarks, and confirm hub tests pass with the sidecar disabled.

由索引模型根据 Issue 内容生成。

描述

ai difficulty: advanced help wanted

Context

The local AI sidecar (semantic search, similar items, duplicates) is not in this repository yet and is not part of
0.4.1; only the hub's optional ai module client is, off by default. Before the sidecar can be published as an opt-in
profile it needs a CPU build that does not pull proprietary GPU libraries, and a hash-locked dependency file.

Acceptance criteria

  • The sidecar source added to the repository with a CPU requirements lock file (exact versions and hashes for
    linux/arm64 and linux/amd64).
  • A CPU image target with network_mode: none at runtime and model weights fetched and verified at build time
    against pinned digests.
  • Benchmarks on a synthetic set of thumbnails documented (indexing rate, memory).
  • Hub tests with the sidecar disabled stay green; nothing changes for users who do not enable it.

Pointers

  • hub/cloudbridge_hub/modules/ai.py (the hub side and its socket protocol)
主要语言
Kotlin
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ft-dev-org/cloudbridge-oss 的其他 Issue

查看 ft-dev-org/cloudbridge-oss 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。