Skip to main content

xdp-tts-service wheel packaging

This directory builds a standalone wheel for the TTS Flask service without changing the monorepo layout.

What it does

  • Copies runtime files from text_to_speech/ into a temporary staging directory during build.
  • Bundles a sanitized config template as xdp_tts_service/tts_config.example.json.
  • Uses a standalone dependency list for the wheel instead of the full monorepo environment.
  • Builds a wheel with CLI entrypoints:
    • xdp-tts-service
    • xdp-tts-init-config

The temporary staging directory is deleted automatically after build.

Build

cd /data1/skill_dev/xDataPrep/xdp_service/tts_service
bash build_tts_service_wheel.sh

Wheel will be generated in dist/.

Install

python3 -m pip install dist/xdp_tts_service-0.1.1-py3-none-any.whl

Initialize config

xdp-tts-init-config --output ./tts_config.json

Run service

xdp-tts-service --host 127.0.0.1 --port 5002 --config ./tts_config.json

Notes

  • This wheel does not include model weights.
  • Generated config uses placeholder model paths. Update them before running.
  • cosyvoice3_0.5b_openvino is now supported in tts_config.json.
  • For cosyvoice3_0.5b_openvino, set model_dir/ov_model_dir to the OpenVINO-exported directory and original_model_dir to the original CosyVoice3 model directory.
  • The built wheel bundles the CosyVoice3 OpenVINO helper as text_to_speech/cosyvoice3_ov_helper.py.
  • If the CosyVoice helper is not in the default workspace location, set XDP_COSYVOICE3_OV_HELPER=/absolute/path/to/ov_cosyvoice_helper.py.
  • If the CosyVoice source repo is not in the default location, set XDP_COSYVOICE_REPO=/absolute/path/to/CosyVoice.
  • For qwen3_tts_0.6b_base_openvino, also set checkpoint_path to the original Base PyTorch checkpoint so voice-clone fallback can load the speech tokenizer weights.
  • xDataPrep now vendors the Qwen3 OpenVINO helper in text_to_speech/qwen3_ov_helper.py.
  • The built wheel bundles that vendored helper, so neither source-tree runs nor installed runs need the original notebook helper path.
  • Re-run build_tts_service_wheel.sh after changing text_to_speech/*.py.
  • The wheel is intended to be open-source distributable: no workspace-local helper path and no machine-local default model path are bundled anymore.

Model-Specific Guide

Metadata

Release files for xdp-tts-service 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for xdp-tts-service 0.1.1
File Interpreter ABI Platform Actions
xdp_tts_service-0.1.1-py3-none-any.whl Python 3 none any Details for xdp_tts_service-0.1.1-py3-none-any.whl

Release files / xdp_tts_service-0.1.1-py3-none-any.whl

Download URL xdp_tts_service-0.1.1-py3-none-any.whl
Size 60.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f64b291bdae61650bd856de5c9ab04caff0404f6c209bddb9b312e7dac39e37
BLAKE2b-256 checksum
How to use checksums
2eef24b5eff937cfa975586ca598db3caf059e223f7eea05065ca3f5c3796cc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.6

Security for xdp-tts-service 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page