Commit df72cc1
committed
[Parakeet] Add Vulkan backend documentation and fix CMake build
Summary:
Add Vulkan backend documentation to the Parakeet README covering export
commands, quantization options, build instructions, and runner examples.
Guard `quantized_ops_lib` and `custom_ops` link targets with
`if(TARGET ...)` in CMakeLists.txt. These targets don't exist in
Vulkan-only or XNNPACK-only builds, causing a hard CMake configure
error from `target_link_options()`. This matches the existing pattern
used for `optimized_native_cpu_ops_lib`.
Validated on Samsung S24 (Adreno 750), 8da4w quantization, test_audio.wav (7.2s):
| Metric | XNNPACK (686 MB) | Vulkan (781 MB) | Vulkan fp16 (550 MB) |
|----------------|-------------------|-----------------|----------------------|
| Inference | 0.56s | 0.46s | 0.32s |
| Encoder speed | 188 tok/s | 275 tok/s | 360 tok/s |
| Decoder speed | 657 tok/s | 373 tok/s | 746 tok/s |
Authored by Claude (Anthropic)1 parent fcccda3 commit df72cc1
2 files changed
Lines changed: 39 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
73 | 93 | | |
74 | 94 | | |
75 | 95 | | |
| |||
186 | 206 | | |
187 | 207 | | |
188 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
189 | 212 | | |
190 | 213 | | |
191 | 214 | | |
| |||
216 | 239 | | |
217 | 240 | | |
218 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
219 | 248 | | |
220 | 249 | | |
221 | 250 | | |
| |||
0 commit comments