Skip to content

feat(audio): add CAMPPlus speaker embedding support - #5298

Open
leslie2046 wants to merge 6 commits into
xorbitsai:mainfrom
leslie2046:codex/feat-audio-speaker-embeddings
Open

feat(audio): add CAMPPlus speaker embedding support#5298
leslie2046 wants to merge 6 commits into
xorbitsai:mainfrom
leslie2046:codex/feat-audio-speaker-embeddings

Conversation

@leslie2046

Copy link
Copy Markdown
Collaborator

Summary

  • Add the speaker_embedding capability for CAMPPlus audio models, including speaker-vector extraction through /v1/audio/embeddings.
  • Add the required ModelScope runtime dependencies so CAMPPlus models can be installed and launched reliably.
  • Add a complete Web UI workflow: speech-sample upload, 192-dimensional embedding display, result copying, and “Try To API” examples.
  • Fix Web UI ability filtering so speaker_embedding remains selectable.
  • Document speaker embedding usage in the Web UI, REST API, and Python client, including cosine-similarity guidance.
  • Remove the two CAMPPlus model records from the bundled audio JSON so their metadata can be managed through Xinference Models Hub.

Testing

  • Frontend ESLint, TypeScript type check, Prettier, and production build
  • Browser QA for the speaker-embedding workflow and responsive layouts
  • Pre-commit: Black, Ruff, isort, mypy, and codespell
  • JSON validation and Python compilation

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@XprobeBot XprobeBot added this to the v3.x milestone Aug 7, 2026
@leslie2046
leslie2046 marked this pull request as ready for review August 7, 2026 06:44
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Comment thread xinference/model/audio/speaker_embedding.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants