File tree
9 files changed
+21
-65
lines changed9 files changed
+21
-65
lines changedLines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
443 | 443 |
| |
444 | 444 |
| |
445 | 445 |
| |
446 |
| - | |
447 |
| - | |
448 | 446 |
| |
449 | 447 |
| |
450 | 448 |
| |
451 | 449 |
| |
452 | 450 |
| |
453 | 451 |
| |
454 | 452 |
| |
455 |
| - | |
456 | 453 |
| |
457 | 454 |
| |
458 | 455 |
| |
| |||
479 | 476 |
| |
480 | 477 |
| |
481 | 478 |
| |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 | 479 |
| |
487 | 480 |
| |
488 | 481 |
| |
| |||
521 | 514 |
| |
522 | 515 |
| |
523 | 516 |
| |
524 |
| - | |
| 517 | + | |
525 | 518 |
| |
526 | 519 |
| |
527 | 520 |
| |
|
Lines changed: 5 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
| 164 | + | |
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
328 |
| - | |
| 328 | + | |
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
| |||
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
| 379 | + | |
385 | 380 |
| |
386 | 381 |
| |
387 | 382 |
| |
| |||
397 | 392 |
| |
398 | 393 |
| |
399 | 394 |
| |
400 |
| - | |
| 395 | + | |
401 | 396 |
| |
402 | 397 |
| |
403 | 398 |
| |
|
- Package.swift+49
- README.md+37-1
- examples/dolly-v2/main.cpp+20-21
- examples/gpt-2/main-alloc.cpp+20-26
- examples/gpt-2/main-backend.cpp+1-8
- examples/gpt-2/main-batched.cpp+18-25
- examples/gpt-2/main-ctx.cpp+20-24
- examples/gpt-2/main.cpp+3-14
- examples/gpt-j/main.cpp+18-19
- examples/gpt-neox/main.cpp+20-21
- examples/mnist/main.cpp+4-4
- examples/mpt/main.cpp+14-11
- examples/replit/main.cpp+14-11
- examples/sam/main.cpp+66-70
- examples/starcoder/main.cpp+20-23
- examples/starcoder/starcoder-mmap.cpp+1-2
- examples/whisper/whisper.cpp+62-74
- include/ggml/ggml-backend.h+8-1
- include/ggml/ggml.h+40-16
- scripts/sync-llama-am.sh+155
- scripts/sync-llama.last+1
- scripts/sync-whisper-am.sh+165
- scripts/sync-whisper.last+1
- src/CMakeLists.txt+8-1
- src/ggml-alloc.c+13-5
- src/ggml-backend-impl.h+13-9
- src/ggml-backend.c+94-20
- src/ggml-cuda.cu+830-554
- src/ggml-metal.h+4-1
- src/ggml-metal.m+236-66
- src/ggml-metal.metal+475-247
- src/ggml-opencl.h+9-9
- src/ggml-quants.c+84-399
- src/ggml-quants.h+1-1
- src/ggml.c+500-161
- tests/CMakeLists.txt+8
- tests/test-backend-ops.cpp+57-20
- tests/test-conv1d.cpp+2-2
- tests/test-conv2d.cpp+2-2
- tests/test-dup.c+110
- tests/test-grad0.cpp+5-8
- tests/test-mul-mat.cpp+2-2
- tests/test-quantize-perf.cpp+5-5
- tests/test0.c+3-3
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
449 | 449 |
| |
450 | 450 |
| |
451 | 451 |
| |
452 |
| - | |
| 452 | + | |
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
|
Lines changed: 4 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 | 126 |
| |
134 |
| - | |
| 127 | + | |
135 | 128 |
| |
136 |
| - | |
| 129 | + | |
137 | 130 |
| |
138 | 131 |
| |
139 | 132 |
| |
| |||
142 | 135 |
| |
143 | 136 |
| |
144 | 137 |
| |
145 |
| - | |
| 138 | + | |
146 | 139 |
| |
147 | 140 |
| |
148 | 141 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
673 | 673 |
| |
674 | 674 |
| |
675 | 675 |
| |
676 |
| - | |
| 676 | + | |
677 | 677 |
| |
678 | 678 |
| |
679 | 679 |
| |
| |||
1417 | 1417 |
| |
1418 | 1418 |
| |
1419 | 1419 |
| |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1420 | 1423 |
| |
1421 | 1424 |
| |
1422 | 1425 |
| |
|
Lines changed: 2 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 | 281 |
| |
285 | 282 |
| |
286 | 283 |
| |
| |||
351 | 348 |
| |
352 | 349 |
| |
353 | 350 |
| |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 | 351 |
| |
365 | 352 |
| |
366 | 353 |
| |
| |||
391 | 378 |
| |
392 | 379 |
| |
393 | 380 |
| |
394 |
| - | |
| 381 | + | |
395 | 382 |
| |
396 |
| - | |
| 383 | + | |
397 | 384 |
| |
398 | 385 |
| |
399 | 386 |
| |
|
Lines changed: 2 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 |
| - | |
186 |
| - | |
187 | 185 |
| |
188 | 186 |
| |
189 | 187 |
| |
| |||
202 | 200 |
| |
203 | 201 |
| |
204 | 202 |
| |
205 |
| - | |
206 | 203 |
| |
207 | 204 |
| |
208 | 205 |
| |
| |||
226 | 223 |
| |
227 | 224 |
| |
228 | 225 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 | 226 |
| |
235 | 227 |
| |
236 | 228 |
| |
| |||
332 | 324 |
| |
333 | 325 |
| |
334 | 326 |
| |
335 |
| - | |
| 327 | + | |
336 | 328 |
| |
337 | 329 |
| |
338 | 330 |
| |
| |||
380 | 372 |
| |
381 | 373 |
| |
382 | 374 |
| |
383 |
| - | |
| 375 | + | |
384 | 376 |
| |
385 | 377 |
| |
386 | 378 |
| |
|
Lines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
122 |
| - | |
123 | 121 |
| |
124 | 122 |
| |
125 | 123 |
| |
| |||
140 | 138 |
| |
141 | 139 |
| |
142 | 140 |
| |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 | 141 |
| |
149 | 142 |
| |
150 | 143 |
| |
| |||
181 | 174 |
| |
182 | 175 |
| |
183 | 176 |
| |
184 |
| - | |
| 177 | + | |
185 | 178 |
| |
186 | 179 |
| |
187 | 180 |
| |
|
0 commit comments