Skip to content

feat: white-themed interactive demo + env setup - #3

Closed
hhrwhhrw wants to merge 1 commit into
Relaxed-System-Lab:mainfrom
hhrwhhrw:main
Closed

hhrwhhrw wants to merge 1 commit into
Relaxed-System-Lab:mainfrom
hhrwhhrw:main

Conversation

@hhrwhhrw

Copy link
Copy Markdown

本 PR 在 V3DB 基础上新增白色主题交互演示与环境文档。

  • demo/:FastAPI 后端(懒加载模型、Standard/ZK/Merkle 证明、PCA 可视化)+ 白色主题前端(单行 6 指标、无外部 CDN)
  • requirements.txt / README:Environment Setup 与 Interactive Demo 使用说明
  • fixivf_pq/util/kmeans.py 自动探测 GPU 可用性并回退 CPU(Blackwell sm_120)

演示已在本地验证:siftsmall/sift/gist 均就绪,GIST 带证明 476KB/803k门 verified。

- Add demo/server.py (FastAPI backend with lazy model loading,
  Standard/ZK/Merkle proof via Rust extension, PCA viz)
- Add demo/static/{index.html,style.css,app.js} (white theme,
  single-row 6 metrics, no external CDN)
- Add requirements.txt and update README with Environment Setup
  and Interactive Demo usage
- Fix ivf_pq/util/kmeans.py: auto-detect GPU availability and
  fallback to CPU (faiss-gpu prebuilt lacks Blackwell sm_120)

Co-authored-by: tabibitoqzp <tabibitoqzp@gmail.com>
@hhrwhhrw hhrwhhrw closed this by deleting the head repository Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants