@qvac/audiogen-ggml 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.8.0] - 2026-10-14
9
+
10
+ ### Breaking
11
+
12
+ - `assessFit` returns a Promise; the synchronous binding is removed
13
+ ([#5010](https://github.com/tetherto/qvac/pull/5010)). The fit runs on a worker thread so the JavaScript loop keeps
14
+ running, and concurrent calls run one at a time within the addon. A model
15
+ the fitter cannot read still resolves with `status: 'error'`; a malformed
16
+ request rejects instead of throwing. Change
17
+ `const fit = assessFit(request)` to `const fit = await assessFit(request)`.
18
+
19
+ ### Changed
20
+
21
+ - `@qvac/infer-base` dependency raised `^0.6.2` -> `^0.8.0`
22
+ ([#5065](https://github.com/tetherto/qvac/pull/5065)). `^0.6.2` never took 0.7.0 or 0.8.0; 0.8.0 adds an
23
+ optional `retainOutput: false` on `QvacResponse` and
24
+ `createJobHandler().start()` for consuming output events through
25
+ `onUpdate()` without keeping every chunk in memory ([#5028](https://github.com/tetherto/qvac/pull/5028)).
26
+ Retention stays enabled by default and this package does not pass the option, so there is no API or
27
+ runtime behaviour change for this package.
28
+ - `speech-cpp` is pinned to `2026-10-12` port-version 1, the registry
29
+ revision that ships the merged MOSS CUDA/Vulkan backend source, the same
30
+ pin as the other speech addons ([#5001](https://github.com/tetherto/qvac/pull/5001)).
31
+
32
+ ### Fixed
33
+
34
+ - The linux-x64 prebuild ships the CUDA backend again, next to Vulkan and
35
+ the CPU variants; releases 0.5.0 to 0.7.0 left it out. Where the NVIDIA
36
+ driver and the CUDA 13 runtime libraries (cudart, cuBLAS) resolve, GPU
37
+ requests run on CUDA instead of Vulkan; other hosts keep Vulkan or CPU
38
+ ([#4985](https://github.com/tetherto/qvac/pull/4985)).
39
+
8
40
  ## [0.7.0] - 2026-10-14
9
41
 
10
42
  ### Breaking
package/README.md CHANGED
@@ -709,10 +709,12 @@ answers the same as the file itself and the projection can run before anything
709
709
  is downloaded. It is a module export, not an instance method — nothing is
710
710
  loaded to call it.
711
711
 
712
+ `assessFit` returns a Promise. Fits run one at a time within the addon.
713
+
712
714
  ```js
713
715
  const { assessFit } = require('@qvac/audiogen-ggml')
714
716
 
715
- const fit = assessFit({
717
+ const fit = await assessFit({
716
718
  modelsDir: '/models/ace-step',
717
719
  durationSeconds: 30,
718
720
  textTokens: 256,
@@ -760,7 +762,7 @@ peak of repeated generations, and the `stages` rows are `lm`, `depth`, `cond`,
760
762
  `dit` and `vocoder`.
761
763
 
762
764
  ```js
763
- const fit = assessFit({
765
+ const fit = await assessFit({
764
766
  engine: 'minimax',
765
767
  modelsDir: '/models/minimax-music3',
766
768
  device: 'gpu',
@@ -780,7 +782,7 @@ On Android and iOS, where MiniMax-Music3 is unavailable, `engine: 'minimax'`
780
782
  comes back as `status: "error"` with `reason: "unsupported-engine"`.
781
783
 
782
784
  A model the engine cannot read is `status: "error"`; a broken request, or a
783
- host with no native binding, throws.
785
+ host with no native binding, rejects.
784
786
 
785
787
  ## Lifecycle
786
788
 
package/lib/fit.d.ts CHANGED
@@ -113,4 +113,4 @@ export interface AudiogenFitResult {
113
113
  report: string
114
114
  }
115
115
 
116
- export function assessFit(request: AudiogenFitRequest): AudiogenFitResult
116
+ export function assessFit(request: AudiogenFitRequest): Promise<AudiogenFitResult>
package/lib/fit.js CHANGED
@@ -11,12 +11,13 @@
11
11
  * `status: "error"` with `reason: "unsupported-engine"`.
12
12
  *
13
13
  * A model set the engine cannot read comes back as `status: "error"` with its
14
- * own reason; a broken request, or a host with no native binding, throws.
14
+ * own reason; a broken request, or a host with no native binding, rejects.
15
+ * Fits run one at a time within the addon.
15
16
  */
16
- function assessFit(request) {
17
+ async function assessFit(request) {
17
18
  const binding = require('../binding.js')
18
19
 
19
- return binding.assessFit(request)
20
+ return await binding.assessFit(request)
20
21
  }
21
22
 
22
23
  module.exports = { assessFit }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/audiogen-ggml",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Audio generation (music) addon for qvac",
5
5
  "qvac": {
6
6
  "ggml-speech": "2026-10-07#1"
@@ -142,7 +142,7 @@
142
142
  },
143
143
  "dependencies": {
144
144
  "@qvac/error": "^0.1.1",
145
- "@qvac/infer-base": "^0.6.2",
145
+ "@qvac/infer-base": "^0.8.0",
146
146
  "@qvac/logging": "^0.1.0",
147
147
  "bare-ffmpeg": "^1.4.0",
148
148
  "bare-fs": "^4.5.6",
@@ -151,19 +151,19 @@
151
151
  "bare-process": "^4.2.2"
152
152
  },
153
153
  "optionalDependencies": {
154
- "@qvac/audiogen-ggml-linux-x64": "0.7.0",
155
- "@qvac/audiogen-ggml-linux-arm64": "0.7.0",
156
- "@qvac/audiogen-ggml-darwin-arm64": "0.7.0",
157
- "@qvac/audiogen-ggml-darwin-x64": "0.7.0",
158
- "@qvac/audiogen-ggml-win32-x64": "0.7.0"
154
+ "@qvac/audiogen-ggml-linux-x64": "0.8.0",
155
+ "@qvac/audiogen-ggml-linux-arm64": "0.8.0",
156
+ "@qvac/audiogen-ggml-darwin-arm64": "0.8.0",
157
+ "@qvac/audiogen-ggml-darwin-x64": "0.8.0",
158
+ "@qvac/audiogen-ggml-win32-x64": "0.8.0"
159
159
  },
160
160
  "overrides": {
161
161
  "bare-module-lexer": "1.6.3"
162
162
  },
163
163
  "types": "index.d.ts",
164
164
  "peerDependencies": {
165
- "@qvac/audiogen-ggml-android-arm64": "0.7.0",
166
- "@qvac/audiogen-ggml-ios": "0.7.0"
165
+ "@qvac/audiogen-ggml-android-arm64": "0.8.0",
166
+ "@qvac/audiogen-ggml-ios": "0.8.0"
167
167
  },
168
168
  "peerDependenciesMeta": {
169
169
  "@qvac/audiogen-ggml-android-arm64": {