Metadata-Version: 2.4
Name: voxcpm2-compat
Version: 0.3.0
Summary: Standalone macOS and CPU compatibility patches for VoxCPM2 on PyTorch
Author: Shiftbloom Studio
License-Expression: AGPL-3.0-only
Project-URL: Homepage, https://github.com/shiftbloom-studio/voxcpm2-api
Project-URL: Repository, https://github.com/shiftbloom-studio/voxcpm2-api
Project-URL: Issues, https://github.com/shiftbloom-studio/voxcpm2-api/issues
Keywords: voxcpm2,torch,macos,mps,compatibility
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# voxcpm2-compat

Standalone compatibility helpers for running VoxCPM2 safely on macOS and CPU-only hosts.

This package exposes:

- `prepare_process_environment()` for early OpenMP and PyTorch process flags
- `apply_torch_compat_patches()` for the macOS MPS disablement and the CPU-safe SDPA wrapper used by VoxCPM2

It is the same compatibility layer shipped inside `voxcpm2-api`, published separately so it can be reused in custom Python integrations that do not need the full API service.
