2 files changed
+7
-7
lines changed- .github/workflows/ci.yml+70-1
- .gitignore+3-1
- CMakeLists.txt+88-1
- README.md+14
- ci/run.sh+106-32
- examples/common.cpp+14-8
- examples/common.h+9-6
- examples/dolly-v2/main.cpp+26-17
- examples/gpt-2/CMakeLists.txt+23
- examples/gpt-2/README.md+67
- examples/gpt-2/main-batched.cpp+1.2k
- examples/gpt-2/main.cpp+273-114
- examples/gpt-j/main.cpp+15-7
- examples/gpt-neox/main.cpp+24-15
- examples/mnist/CMakeLists.txt+7
- examples/mnist/README.md+85-66
- examples/mnist/main-cnn.cpp+169
- examples/mnist/main-cpu.cpp+1-1
- examples/mnist/main-mtl.m+4-4
- examples/mnist/mnist-cnn.py+101
- examples/mpt/main.cpp+5-4
- examples/replit/main.cpp+12-11
- examples/sam/README.md+33-17
- examples/sam/convert-pth-to-ggml.py+31-18
- examples/sam/main.cpp+412-368
- examples/starcoder/main.cpp+10-9
- examples/starcoder/starcoder-mmap.cpp+10-9
- examples/whisper/CMakeLists.txt+1-1
- examples/whisper/convert-pt-to-ggml.py+175-160
- examples/whisper/main.cpp+50-3
- examples/whisper/quantize.cpp+1-1
- examples/whisper/whisper.cpp+1.2k-848
- examples/whisper/whisper.h+8-1
- include/ggml/ggml-alloc.h+12-5
- include/ggml/ggml-backend.h+143
- include/ggml/ggml.h+201-70
- scripts/sync-llama.sh+2
- scripts/sync-whisper.sh+2
- src/CMakeLists.txt+18-21
- src/ggml-alloc.c+166-151
- src/ggml-backend.c+385
- src/ggml-cuda.cu+2.2k-952
- src/ggml-cuda.h+18
- src/ggml-metal.h+22
- src/ggml-metal.m+736-253
- src/ggml-metal.metal+874-301
- src/ggml-opencl.cpp+129-63
- src/ggml.c+3.0k-1.6k
- tests/CMakeLists.txt+22-1
- tests/test-blas0.c+1-1
- tests/test-conv-transpose.c+91-30
- tests/test-grad0.cpp+170-87
- tests/test-mul-mat0.c+1-5
- tests/test-mul-mat1.c+1-1
- tests/test-mul-mat2.c+9-14
- tests/test-opt.cpp+6-38
- tests/test-quantize-fns.cpp+14-12
- tests/test-quantize-perf.cpp+18-19
- tests/test-svd0.c+1-1
- tests/test-vec1.c+1-1
- tests/test-vec2.c+1-1
- tests/test-xpos.c+27-21
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
| 769 | + | |
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
| 1203 | + | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | | - | |
| 1251 | + | |
1252 | 1252 | | |
1253 | 1253 | | |
1254 | 1254 | | |
| |||
1299 | 1299 | | |
1300 | 1300 | | |
1301 | 1301 | | |
1302 | | - | |
| 1302 | + | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
| |||
0 commit comments