@qvac/tts-ggml 0.9.1 → 0.9.2
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/README.md +25 -7
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -119,8 +119,9 @@ npm install @qvac/tts-ggml
|
|
|
119
119
|
Requires [Bare](https://github.com/holepunchto/bare) `>=1.19.0`.
|
|
120
120
|
|
|
121
121
|
`@qvac/tts-ggml` is a meta package that ships the JavaScript wrapper only.
|
|
122
|
-
The native prebuild for each host lives in a version-locked platform
|
|
123
|
-
selected at install time through `os`/`cpu` filtered
|
|
122
|
+
The native prebuild for each desktop host lives in a version-locked platform
|
|
123
|
+
package selected at install time through `os`/`cpu` filtered
|
|
124
|
+
`optionalDependencies`:
|
|
124
125
|
|
|
125
126
|
| Host | Package |
|
|
126
127
|
| --- | --- |
|
|
@@ -129,12 +130,10 @@ selected at install time through `os`/`cpu` filtered `optionalDependencies`:
|
|
|
129
130
|
| darwin-arm64 | `@qvac/tts-ggml-darwin-arm64` |
|
|
130
131
|
| darwin-x64 | `@qvac/tts-ggml-darwin-x64` |
|
|
131
132
|
| win32-x64 | `@qvac/tts-ggml-win32-x64` |
|
|
132
|
-
| android-arm64 | `@qvac/tts-ggml-android-arm64` |
|
|
133
|
-
| ios (device + simulators) | `@qvac/tts-ggml-ios` |
|
|
134
133
|
|
|
135
|
-
Do not depend on platform packages directly. Supported installers are
|
|
136
|
-
pnpm, bun, and Yarn Berry. Yarn v1 and `--omit=optional` installs skip
|
|
137
|
-
platform package and fail at require time with an error naming the missing
|
|
134
|
+
Do not depend on desktop platform packages directly. Supported installers are
|
|
135
|
+
npm 7+, pnpm, bun, and Yarn Berry. Yarn v1 and `--omit=optional` installs skip
|
|
136
|
+
the platform package and fail at require time with an error naming the missing
|
|
138
137
|
package; a locally built `prebuilds/` directory in the package root always
|
|
139
138
|
takes precedence. Use `require('@qvac/tts-ggml').resolveBackendsDir()` to
|
|
140
139
|
locate the directory holding the host's prebuilt binaries and dynamically
|
|
@@ -142,6 +141,25 @@ loaded ggml backends. Unsupported targets must
|
|
|
142
141
|
[build from source](#build-from-source); installation does not automatically
|
|
143
142
|
compile a local addon.
|
|
144
143
|
|
|
144
|
+
Mobile targets are cross-built, so no install host ever matches their `os`,
|
|
145
|
+
and `optionalDependencies` filtering can never select them. Mobile
|
|
146
|
+
applications must declare the target's platform package as a direct
|
|
147
|
+
dependency, pinned to the exact `@qvac/tts-ggml` version:
|
|
148
|
+
|
|
149
|
+
| Target | Package |
|
|
150
|
+
| --- | --- |
|
|
151
|
+
| android-arm64 | `@qvac/tts-ggml-android-arm64` |
|
|
152
|
+
| ios (device + simulators) | `@qvac/tts-ggml-ios` |
|
|
153
|
+
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"dependencies": {
|
|
157
|
+
"@qvac/tts-ggml": "x.y.z",
|
|
158
|
+
"@qvac/tts-ggml-android-arm64": "x.y.z"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
145
163
|
## Model files
|
|
146
164
|
|
|
147
165
|
Five engine families are wrapped (Chatterbox, Supertonic, Parler,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/tts-ggml",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Text to Speech (TTS) addon for qvac (ggml backend, wrapping the chatterbox + supertonic + parler + cosyvoice3 + audio8 engines from tts-cpp)",
|
|
5
5
|
"addon": true,
|
|
6
6
|
"engines": {
|
|
@@ -209,12 +209,10 @@
|
|
|
209
209
|
},
|
|
210
210
|
"types": "index.d.ts",
|
|
211
211
|
"optionalDependencies": {
|
|
212
|
-
"@qvac/tts-ggml-linux-x64": "0.9.
|
|
213
|
-
"@qvac/tts-ggml-linux-arm64": "0.9.
|
|
214
|
-
"@qvac/tts-ggml-darwin-arm64": "0.9.
|
|
215
|
-
"@qvac/tts-ggml-darwin-x64": "0.9.
|
|
216
|
-
"@qvac/tts-ggml-win32-x64": "0.9.
|
|
217
|
-
"@qvac/tts-ggml-android-arm64": "0.9.1",
|
|
218
|
-
"@qvac/tts-ggml-ios": "0.9.1"
|
|
212
|
+
"@qvac/tts-ggml-linux-x64": "0.9.2",
|
|
213
|
+
"@qvac/tts-ggml-linux-arm64": "0.9.2",
|
|
214
|
+
"@qvac/tts-ggml-darwin-arm64": "0.9.2",
|
|
215
|
+
"@qvac/tts-ggml-darwin-x64": "0.9.2",
|
|
216
|
+
"@qvac/tts-ggml-win32-x64": "0.9.2"
|
|
219
217
|
}
|
|
220
218
|
}
|