mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-19 04:37:51 +00:00
f96e1c5b78
* sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) * metal : allow env metal variable to override resource path (#1415) * Allow env variable to override resource path * Update ggml-metal.m --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * sync : restore common / main from `master` * sync : restore whisper from `master` * talk-llama : update to latest llama.cpp * ruby : fix build * ggml : fix 32-bit ARM build * ggml : fix MIN / MAX macro collisions + update ios bindings * ggml : fix ifdefs and MIN / MAX again * exampels : fix Obj-C and Swift examples * ggml : fix 32-bit ARM compatibility * ggml : one more attempt to fix 32-bit ARM compat * whisper : fix support for larger graphs --------- Co-authored-by: Chris Raethke <codesoda@users.noreply.github.com>
34 lines
1.6 KiB
Bash
Executable File
34 lines
1.6 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
cp -rpv ../ggml/src/ggml.c ./ggml.c
|
|
cp -rpv ../ggml/src/ggml-alloc.c ./ggml-alloc.c
|
|
cp -rpv ../ggml/src/ggml-backend-impl.h ./ggml-backend-impl.h
|
|
cp -rpv ../ggml/src/ggml-backend.c ./ggml-backend.c
|
|
cp -rpv ../ggml/src/ggml-cuda.cu ./ggml-cuda.cu
|
|
cp -rpv ../ggml/src/ggml-cuda.h ./ggml-cuda.h
|
|
cp -rpv ../ggml/src/ggml-impl.h ./ggml-impl.h
|
|
cp -rpv ../ggml/src/ggml-metal.h ./ggml-metal.h
|
|
cp -rpv ../ggml/src/ggml-metal.m ./ggml-metal.m
|
|
cp -rpv ../ggml/src/ggml-metal.metal ./ggml-metal.metal
|
|
#cp -rpv ../ggml/src/ggml-mpi.h ./ggml-mpi.h
|
|
#cp -rpv ../ggml/src/ggml-mpi.c ./ggml-mpi.c
|
|
cp -rpv ../ggml/src/ggml-opencl.cpp ./ggml-opencl.cpp
|
|
cp -rpv ../ggml/src/ggml-opencl.h ./ggml-opencl.h
|
|
cp -rpv ../ggml/src/ggml-quants.c ./ggml-quants.c
|
|
cp -rpv ../ggml/src/ggml-quants.h ./ggml-quants.h
|
|
|
|
cp -rpv ../ggml/include/ggml/ggml.h ./ggml.h
|
|
cp -rpv ../ggml/include/ggml/ggml-alloc.h ./ggml-alloc.h
|
|
cp -rpv ../ggml/include/ggml/ggml-backend.h ./ggml-backend.h
|
|
|
|
cp -rpv ../ggml/examples/common.h ./examples/common.h
|
|
cp -rpv ../ggml/examples/common.cpp ./examples/common.cpp
|
|
cp -rpv ../ggml/examples/common-ggml.h ./examples/common-ggml.h
|
|
cp -rpv ../ggml/examples/common-ggml.cpp ./examples/common-ggml.cpp
|
|
|
|
cp -rpv ../ggml/examples/whisper/whisper.h ./whisper.h
|
|
cp -rpv ../ggml/examples/whisper/whisper.cpp ./whisper.cpp
|
|
cp -rpv ../ggml/examples/whisper/main.cpp ./examples/main/main.cpp
|
|
cp -rpv ../ggml/examples/whisper/quantize.cpp ./examples/quantize/quantize.cpp
|
|
|