mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-10-30 14:40:16 +01:00
4760e7cc0b
* sync : ggml (backend v2) (wip) * sync : migrate examples and llama.cpp to dynamic graphs (wip) * sync : update tests + fix max op params to 64 ggml-ci * sync : ggml-cuda ggml-ci * llama : fix save/load state context size ggml-ci * sync : try to fix build on tvOS * sync : pass custom graph sizes in training examples * sync : update graph copies to new ggml API * sync : update sync-ggml.sh with new files * scripts : fix header in sync script * train : fix context size calculations * llama : increase inference graph size up to 4096 nodes * train : allocate grads for backward graphs * train : allocate grads for gb_tmp
25 lines
1.2 KiB
Bash
Executable File
25 lines
1.2 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/tests/test-opt.cpp ./tests/test-opt.cpp
|
|
cp -rpv ../ggml/tests/test-grad0.cpp ./tests/test-grad0.cpp
|