mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
This reverts commit 9422c5e34b
.
This commit is contained in:
parent
d4d915d351
commit
fe1e3917cf
@ -6,10 +6,6 @@
|
|||||||
#include "ggml-metal.h"
|
#include "ggml-metal.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GGML_USE_SYCL
|
|
||||||
#include "ggml-sycl.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "ggml-rpc.h"
|
#include "ggml-rpc.h"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
@ -83,12 +79,6 @@ static ggml_backend_t create_backend() {
|
|||||||
if (!backend) {
|
if (!backend) {
|
||||||
fprintf(stderr, "%s: ggml_backend_metal_init() failed\n", __func__);
|
fprintf(stderr, "%s: ggml_backend_metal_init() failed\n", __func__);
|
||||||
}
|
}
|
||||||
#elif GGML_USE_SYCL
|
|
||||||
fprintf(stderr, "%s: using SYCL backend\n", __func__);
|
|
||||||
backend = ggml_backend_sycl_init(0); // init device 0
|
|
||||||
if (!backend) {
|
|
||||||
fprintf(stderr, "%s: ggml_backend_sycl_init() failed\n", __func__);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// if there aren't GPU Backends fallback to CPU backend
|
// if there aren't GPU Backends fallback to CPU backend
|
||||||
|
Loading…
Reference in New Issue
Block a user