Skip to content

0.3.7

Choose a tag to compare

@Saganaki22 Saganaki22 released this 19 Mar 06:33
· 17 commits to main since this release

Bug Fixes

  • Fixed MockDecoder / torchaudio 2.9+ crash — torchaudio 2.9+ replaced its audio backend with torchcodec, which does not support in-memory BytesIO audio buffers. Reference audio loading now uses soundfile directly for in-memory audio, bypassing torchcodec entirely. Falls back to torchaudio with the soundfile backend if needed. Existing users on torchaudio < 2.9 are unaffected.
  • Fixed fresh-install dependency failures — descript-audio-codec and descript-audiotools are installed with --no-deps to protect protobuf, but their transitive runtime dependencies were never being installed, causing ImportError on clean environments. The following packages are now auto-installed before dac/audiotools:
    • flatten-dict — imported by audiotools/core/util.py at module level
    • importlib-resources — imported by audiotools/core/playback.py at module level
    • julius — imported by audiotools/core/dsp.py and loudness.py at module level
    • randomname — imported by audiotools/ml/experiment.py at module level
    • ffmpy — imported by audiotools/core/ffmpeg.py at module level
    • argbind — imported by dac/utils/__init__.py at module level
  • Removed einx from required dependencies — einx is not imported anywhere in the bundled fish_speech_src codebase. It was being installed unnecessarily and caused hard startup failures in environments with a jax.py namespace conflict (e.g. certain launchers and custom node packs), blocking all three nodes from registering.

Documentation

  • Updated compatibility matrix to reflect Python 3.13 and torchaudio 2.9+ support
  • Added troubleshooting entries for:
    • torchaudio 2.9+ MockDecoder error
    • fish_speech namespace conflicts (e.g. comfyui-mixlab-nodes)
    • Manual dependency install commands for fresh portable environments
  • Updated README_ZH.md (Chinese) with all of the above

Dependencies

  • requirements.txt — added flatten-dict, importlib-resources, julius, randomname, ffmpy, argbind; removed einx; descript-audio-codec / descript-audiotools remain commented out with --no-deps instructions
  • pyproject.toml — synced with requirements.txt; all version pins removed (bare package names only)