Skip to content
Merged
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
13 changes: 13 additions & 0 deletions packages/transcription-parakeet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Long audio no longer crashes or exhausts memory during offline transcription.
The batch `transcribe` path ran the Parakeet encoder over the entire input in
one pass, whose self-attention grows with the square of the audio length, so
multi-hour files were killed by the OS (a ~90 min file peaked at ~100 GB). The
bundled `parakeet-cpp` (bumped to `2026-07-21#0`) now slides the encoder over
long inputs in overlapping windows with bounded memory; short inputs keep the
identical single-pass path. `transcribeStream` was already bounded and is
unchanged.
Comment thread
Zbig9000 marked this conversation as resolved.

## [0.10.1] - 2026-07-20

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ test('ensureGgufForType(sortformer-streaming) resolves via the canonical env-key
process.env[envKey] = sentinel

t.teardown(() => {
if (previous === undefined) delete process.env[envKey]
else process.env[envKey] = previous
// Bare's process.env proxy rejects `delete` (deleteProperty returns false),
// which would abort the whole test process; best-effort unset instead.
if (previous === undefined) {
try {
delete process.env[envKey]
} catch (_) {}
} else {
process.env[envKey] = previous
}
try {
fs.unlinkSync(sentinel)
} catch (_) {}
Expand Down
6 changes: 3 additions & 3 deletions packages/transcription-parakeet/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"dependencies": [
{
"name": "parakeet-cpp",
"version>=": "2026-07-13#2",
"version>=": "2026-07-21",
"features": ["metal"],
"platform": "osx | ios"
},
{
"name": "parakeet-cpp",
"version>=": "2026-07-13#2",
"version>=": "2026-07-21",
"features": ["vulkan", "opencl"],
"platform": "android"
},
{
"name": "parakeet-cpp",
"version>=": "2026-07-13#2",
"version>=": "2026-07-21",
"features": ["vulkan"],
"platform": "!(osx | ios | android)"
},
Expand Down
Loading