Skip to content

新增本地 K8s Ray Daft 音频处理环境 - #25

Merged
FANNG1 merged 1 commit into
mainfrom
feat/k8s-ray-audio-local
Sep 2, 2026
Merged

FANNG1 merged 1 commit into
mainfrom
feat/k8s-ray-audio-local

Conversation

@FANNG1

@FANNG1 FANNG1 commented Sep 2, 2026

Copy link
Copy Markdown
Owner

背景

为多模态音频流水线提供可复现的本地 Kubernetes 验证环境:Daft 通过 KubeRay 执行,配套 Ray Dashboard、Prometheus、集群内 MinIO 与 Mock LLM。

改动

  • 新增 CPU-only 完整音频运行镜像、KubeRay RayCluster、MinIO、Mock LLM 与 Prometheus 清单。
  • 新增启动、状态、清理与真实音频 smoke 脚本;smoke 通过 Ray Jobs API 执行 MinIO → Daft/Ray → SenseVoice ASR → Mock LLM → Lance Blob v2。
  • Prometheus 使用最小 RBAC 与 KubeRay Ray Pod discovery,抓取 head 和 worker 的 metrics endpoint。
  • 新增中文操作文档与 Lance Blob v2 结果校验入口;构建上下文仅保留 smoke 所需种子音频。

验证

  • .venv/bin/python -m pytest tests/benchmark/test_submit.py tests/storage/test_io.py -q:16 passed。
  • Shell、Python、全部 Kubernetes YAML 静态校验,以及 KubeRay CRD server-side dry-run 通过。
  • 实际 Minikube 部署:Ray head/worker、MinIO、Mock LLM、Prometheus 全部 Ready;Ray Dashboard API 返回 Ray 2.55.1;Prometheus 两个 Ray target 均为 UP。
  • 真实 smoke Job 成功:4/4 行 status=ok、doc_id 唯一、Lance Blob v2 独立校验通过;处理 297.39 秒音频耗时 377.39 秒。

@FANNG1
FANNG1 merged commit de07c53 into main Sep 2, 2026
1 check passed
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.

1 participant