@qvac/audiogen-ggml 0.8.0 → 0.9.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 +30 -0
- package/README.md +22 -0
- package/package.json +17 -12
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,36 @@ 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.9.0] - 2026-10-23
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Bounded FuzzTest coverage for the JS-adapter number parsers
|
|
13
|
+
(`parseInteger`, `parseFloat`, `checkedInteger`, `checkedFloat`)
|
|
14
|
+
([#4606](https://github.com/tetherto/qvac/pull/4606)). Linux C++ CI runs the
|
|
15
|
+
suite after the native build's caches are saved; this addon has no
|
|
16
|
+
addon-level C++ unit tests yet. The parsers compile without audiogen-cpp, so
|
|
17
|
+
ASan and LeakSanitizer stay at full strength. No public addon API changes.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Align the shared native `speech-cpp` source pin to `2026-10-20#1` across
|
|
22
|
+
the speech addons so they use the same source revision
|
|
23
|
+
([#5062](https://github.com/tetherto/qvac/pull/5062),
|
|
24
|
+
[#5194](https://github.com/tetherto/qvac/pull/5194),
|
|
25
|
+
[#5245](https://github.com/tetherto/qvac/pull/5245)).
|
|
26
|
+
- Move the shared native `speech-cpp` source pin to `2026-10-23#2` across
|
|
27
|
+
the speech addons so they use the same source revision
|
|
28
|
+
([#5326](https://github.com/tetherto/qvac/pull/5326)).
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Adreno GPUs (Android, OpenCL): q8_0 matrix products whose sums exceed
|
|
33
|
+
the fp16 range no longer come back as infinity, and attention over 32 or
|
|
34
|
+
more tokens with unpadded lengths is computed correctly. The shared native
|
|
35
|
+
`ggml-speech` moves to `2026-10-23` across the speech addons
|
|
36
|
+
([#5326](https://github.com/tetherto/qvac/pull/5326)).
|
|
37
|
+
|
|
8
38
|
## [0.8.0] - 2026-10-14
|
|
9
39
|
|
|
10
40
|
### Breaking
|
package/README.md
CHANGED
|
@@ -835,6 +835,28 @@ dispatches to the corresponding `audiogen-cpp` engine.
|
|
|
835
835
|
them keeps one copy of each: use releases that record the same
|
|
836
836
|
`ggml-speech`.
|
|
837
837
|
|
|
838
|
+
## Fuzzing
|
|
839
|
+
|
|
840
|
+
The JS-adapter number parsers have a [Google FuzzTest][fuzztest] target,
|
|
841
|
+
`audiogen-config-parse-fuzz`. Fuzzing is Linux-only: it needs clang with
|
|
842
|
+
libFuzzer and AddressSanitizer, CMake 3.25 or newer, [vcpkg](https://vcpkg.io/)
|
|
843
|
+
(set `VCPKG_ROOT`) and `bare-make`. The target does not link audiogen-cpp, so
|
|
844
|
+
it runs with full ASan and LeakSanitizer.
|
|
845
|
+
|
|
846
|
+
```bash
|
|
847
|
+
npm install
|
|
848
|
+
npm run fuzz # bounded run of every FUZZ_TEST, as Linux CI does
|
|
849
|
+
npm run fuzz:continuous # coverage-guided, one FUZZ_TEST at a time
|
|
850
|
+
npm run fuzz:continuous -- AudiogenConfigParseFuzz.ParseFloatNeverCrashes --fuzz_for=30m
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
Flags other than `--continuous` and `--build-dir` go to the fuzz binary. See
|
|
854
|
+
[`docs/architecture/ADDON-FUZZING.md`](../../docs/architecture/ADDON-FUZZING.md)
|
|
855
|
+
for the fuzzing design, the vcpkg-supplied FuzzTest stack, and how to add a
|
|
856
|
+
target.
|
|
857
|
+
|
|
858
|
+
[fuzztest]: https://github.com/google/fuzztest
|
|
859
|
+
|
|
838
860
|
## Benchmarking
|
|
839
861
|
|
|
840
862
|
The package ships the Real-Time Factor benchmark it is measured with, so the
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/audiogen-ggml",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Audio generation (music) addon for qvac",
|
|
5
5
|
"qvac": {
|
|
6
|
-
"ggml-speech": "2026-10-
|
|
6
|
+
"ggml-speech": "2026-10-23"
|
|
7
7
|
},
|
|
8
8
|
"engines": {
|
|
9
9
|
"bare": ">=1.19.0"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "npm run build:ts && npm run build:native",
|
|
37
|
-
"build:native": "bare-make generate && bare-make build && bare-make install && npm run link:platform",
|
|
38
|
-
"build:native:cuda": "bare-make generate -D ENABLE_CUDA=ON && bare-make build && bare-make install && npm run link:platform",
|
|
37
|
+
"build:native": "bare-make generate -D BUILD_FUZZING=OFF && bare-make build && bare-make install && npm run link:platform",
|
|
38
|
+
"build:native:cuda": "bare-make generate -D ENABLE_CUDA=ON -D BUILD_FUZZING=OFF && bare-make build && bare-make install && npm run link:platform",
|
|
39
39
|
"link:platform": "node ../../scripts/ci/slice-platform-packages.mjs --link-local --workdir .",
|
|
40
40
|
"build:cuda": "npm run build:ts && npm run build:native:cuda",
|
|
41
41
|
"build:ts": "tsc -p tsconfig.build.json",
|
|
@@ -59,6 +59,11 @@
|
|
|
59
59
|
"test:integration": "npm run build:ts && brittle-bare test/integration/**/*.test.js",
|
|
60
60
|
"test:benchmark:rtf": "npm run build:ts && brittle-bare test/benchmark/rtf-benchmark.test.js",
|
|
61
61
|
"test:benchmark:rtf:matrix": "node scripts/run-rtf-benchmark-matrix.js",
|
|
62
|
+
"fuzz:build": "bare-make generate -D BUILD_FUZZING=ON -D BUILD_TESTING=OFF -D FUZZTEST_FUZZING_MODE=OFF && bare-make build --target audiogen-config-parse-fuzz",
|
|
63
|
+
"fuzz:build:continuous": "bare-make generate -D BUILD_FUZZING=ON -D BUILD_TESTING=OFF -D FUZZTEST_FUZZING_MODE=ON && bare-make build --target audiogen-config-parse-fuzz",
|
|
64
|
+
"fuzz:run": "node scripts/run-cpp-fuzz.js",
|
|
65
|
+
"fuzz": "npm run fuzz:build && npm run fuzz:run",
|
|
66
|
+
"fuzz:continuous": "npm run fuzz:build:continuous && node scripts/run-cpp-fuzz.js --continuous",
|
|
62
67
|
"test": "npm run test:types && npm run test:unit && npm run test:integration",
|
|
63
68
|
"lint": "npm run lint:js && npm run lint:ts && npm run test:types",
|
|
64
69
|
"lint:js": "prettier --check \"addon-unavailable.js\" \"binding.js\" \"examples/*.js\" \"lib/*.js\" \"scripts/**/*.{js,mjs}\" \"test/**/*.js\" && lunte \"addon-unavailable.js\" \"binding.js\" \"examples/*.js\" \"lib/*.js\" \"scripts/**/*.{js,mjs}\" \"test/**/*.js\"",
|
|
@@ -126,7 +131,7 @@
|
|
|
126
131
|
],
|
|
127
132
|
"devDependencies": {
|
|
128
133
|
"@qvac/registry-client": "^0.6.1",
|
|
129
|
-
"bare-pack": "^
|
|
134
|
+
"bare-pack": "^3.0.0",
|
|
130
135
|
"brittle": "^3.17.0",
|
|
131
136
|
"cmake-bare": "^1.7.5",
|
|
132
137
|
"cmake-vcpkg": "^1.1.0",
|
|
@@ -151,19 +156,19 @@
|
|
|
151
156
|
"bare-process": "^4.2.2"
|
|
152
157
|
},
|
|
153
158
|
"optionalDependencies": {
|
|
154
|
-
"@qvac/audiogen-ggml-linux-x64": "0.
|
|
155
|
-
"@qvac/audiogen-ggml-linux-arm64": "0.
|
|
156
|
-
"@qvac/audiogen-ggml-darwin-arm64": "0.
|
|
157
|
-
"@qvac/audiogen-ggml-darwin-x64": "0.
|
|
158
|
-
"@qvac/audiogen-ggml-win32-x64": "0.
|
|
159
|
+
"@qvac/audiogen-ggml-linux-x64": "0.9.0",
|
|
160
|
+
"@qvac/audiogen-ggml-linux-arm64": "0.9.0",
|
|
161
|
+
"@qvac/audiogen-ggml-darwin-arm64": "0.9.0",
|
|
162
|
+
"@qvac/audiogen-ggml-darwin-x64": "0.9.0",
|
|
163
|
+
"@qvac/audiogen-ggml-win32-x64": "0.9.0"
|
|
159
164
|
},
|
|
160
165
|
"overrides": {
|
|
161
166
|
"bare-module-lexer": "1.6.3"
|
|
162
167
|
},
|
|
163
168
|
"types": "index.d.ts",
|
|
164
169
|
"peerDependencies": {
|
|
165
|
-
"@qvac/audiogen-ggml-android-arm64": "0.
|
|
166
|
-
"@qvac/audiogen-ggml-ios": "0.
|
|
170
|
+
"@qvac/audiogen-ggml-android-arm64": "0.9.0",
|
|
171
|
+
"@qvac/audiogen-ggml-ios": "0.9.0"
|
|
167
172
|
},
|
|
168
173
|
"peerDependenciesMeta": {
|
|
169
174
|
"@qvac/audiogen-ggml-android-arm64": {
|