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

Aperta
#58 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin
Ambito
ai, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.