unstale

pypi / funasr

funasr

What changed in funasr 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

1 new APIs and options3 performance2 behavior and defaults1 tooling31 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

funasr 138 changes

New APIs and options 1

  • Supports explicit PCM16 input without container probing.

    1.4.17release notes

Performance 3

  • Bounds clustering thread usage and avoids over-computing the spectrum.

    1.4.17release notes

  • Reports a B200 single-GPU step-time reduction from 0.244 s to 0.068 s, mostly by avoiding cuDNN SDPA plan builds on every new batch shape.

    1.4.17release notes

  • Avoids deep-copying the checkpoint when loading a pretrained model.

    1.4.17release notes

Behavior and default changes 2

  • Idle time is excluded from the dynamic VAD silence schedule.

    1.4.15release notes

  • The NumPy upper bound is removed, enabling compatibility with NumPy 2.

    1.4.15release notes

Tooling 1

  • Adds first nonempty transcript latency to benchmark reporting.

    1.4.17release notes

Fixes and other changes 31

  • Warns when unavailable accelerators cause a fallback to CPU.

    1.4.17release notes

  • Resolves the autocast and GradScaler device type for non-CUDA accelerators.

    1.4.17release notes

  • Prevents crashes on blank lines and avoids returning empty statistics.

    1.4.17release notes

  • Uses y.device instead of hardcoded .cuda() when computing variance.

    1.4.17release notes

  • Skips empty deduplicated event segments.

    1.4.17release notes

  • Binds distributed training to the active accelerator.

    1.4.17release notes

  • Handles empty references, sizes cost matrices for long inputs, and reports unscored references in the WER summary line.

    1.4.17release notes

  • Prevents fuzzy postprocess matching from rewriting nearby text.

    1.4.17release notes

  • Warns when jieba is unavailable for readable SRT splitting.

    1.4.17release notes

  • Ignores empty keyword entries.

    1.4.17release notes

  • Avoids duplicate fs and preserves audio loading errors.

    1.4.17release notes

  • Corrects punctuation timestamps across VAD merges.

    1.4.17release notes

  • Skips blank lines and reads hotword files as UTF-8.

    1.4.17release notes

  • Corrects timestamp alpha and peak argument order.

    1.4.17release notes

  • Recovers partials for merged long segments.

    1.4.17release notes

  • Reads and writes lists as UTF-8.

    1.4.17release notes

  • Stops rendering the Cough event as the Sneeze emoji.

    1.4.17release notes

  • Preserves SentencePiece word boundaries.

    1.4.17release notes

  • Assigns sentence speakers by total overlap without double counting.

    1.4.17release notes

  • Retains the unpunctuated tail in sentence timestamps.

    1.4.17release notes

  • Preserves the resampled rate for speaker inference.

    1.4.17release notes

  • Avoids a stale start timestamp when the timestamp list is shorter than the punctuation list.

    1.4.17release notes

  • Retains token separators in raw_text.

    1.4.17release notes

  • Generates independent keys for unkeyed batch inputs.

    1.4.17release notes

  • Skips blank lines in wav.scp and jsonl file lists.

    1.4.17release notes

  • Explicit device placement is preserved across repeated inference calls, and runtime device overrides do not mutate already-loaded models or caller-owned submodel configuration.

    1.4.16release notes

  • Explicit device placement is preserved across repeated inference calls; speaker inference uses the speaker model's own configuration.

    1.4.16release notes

  • Explicit device placement is preserved across repeated inference calls, and runtime device overrides do not mutate already-loaded models or caller-owned submodel configuration.

    1.4.16release notes

  • Unavailable validation metrics are excluded from checkpoint ranking.

    1.4.15release notes

  • Streaming preserves KWS frames across packet and EOS boundaries.

    1.4.15release notes

  • Optional output directories are now honored.

    1.4.15release notes