mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-07 19:55:22 +00:00
wip
This commit is contained in:
parent
ce00e387c3
commit
d0703eaf44
1
llama/.gitignore
vendored
1
llama/.gitignore
vendored
@ -7,4 +7,3 @@
|
|||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
ollama_runner*
|
ollama_runner*
|
||||||
ggml-metal.metal
|
|
||||||
|
4
llama/ggml-metal.h
vendored
4
llama/ggml-metal.h
vendored
@ -61,6 +61,9 @@ struct ggml_cgraph;
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char* ggml_metallib_start;
|
||||||
|
const char* ggml_metallib_end;
|
||||||
|
|
||||||
//
|
//
|
||||||
// backend API
|
// backend API
|
||||||
// user-code should use only these functions
|
// user-code should use only these functions
|
||||||
@ -89,4 +92,3 @@ GGML_API void ggml_backend_metal_capture_next_compute(ggml_backend_t backend);
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -35,8 +35,6 @@ package llama
|
|||||||
// #include "sampling_ext.h"
|
// #include "sampling_ext.h"
|
||||||
//
|
//
|
||||||
// bool llamaProgressCallback(float progress, void *user_data);
|
// bool llamaProgressCallback(float progress, void *user_data);
|
||||||
// const char* ggml_metallib_start;
|
|
||||||
// const char* ggml_metallib_end;
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
_ "embed"
|
_ "embed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user