Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ __pycache__/
venv/

*.wav

# Build artifacts
build/
dist/
*.egg-info/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Model weights: https://huggingface.co/stabilityai/stable-codec-speech-16k

## Changelog

### [v0.1.3] TBD
- __Fix__ restricted Python version to <3.12 due to dependency incompatibilities
- __Fix__ clarified installation instructions regarding Python version requirements
### [v0.1.2] 14-01-25
- __New__ added hooks for `stable-codec-speech-16k-base`.
- __Fix__ fixed major issue with precision in FSQ token calculation, which was degrading results. Fix is currently local, will be upstreamed to `stable-audio-tools` later.
Expand All @@ -34,6 +37,12 @@ In addition to the training described in the paper, the weights for `stable-code

The model itself is defined in [stable-audio-tools](https://github.com/Stability-AI/stable-audio-tools) package.

### Python Version Compatibility

**Important:** This package currently requires **Python 3.9, 3.10, or 3.11**. Python 3.12 and later are not supported due to incompatibilities in the `stable-audio-tools` dependency chain (specifically `PyWavelets==1.4.1` and `pandas==2.0.2`).

If you attempt to install on Python 3.12+, you will encounter build errors. Please use Python 3.11 or earlier.

To install `stable-codec`:

```bash
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

setup(
name='stable-codec',
version='0.1.2',
version='0.1.3',
author='Stability AI',
author_email='julian.parker@stability.ai',
description='Stable Codec: A series of codec models for speech and audio',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/Stability-AI/stable-codec/',
packages=find_packages(),
python_requires='>=3.9',
python_requires='>=3.9,<3.12',
install_requires=['packaging',
'wheel',
'torch==2.4',
Expand Down