mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-11-08 22:27:03 +03:00
Fix macos build.
This commit is contained in:
parent
371e2a5cbc
commit
cce5fe2045
@ -490,8 +490,10 @@ struct bert_ctx * bert_load_from_file(const char *fname)
|
||||
#endif
|
||||
|
||||
bert_ctx * new_bert = new bert_ctx;
|
||||
#if defined(GGML_USE_KOMPUTE)
|
||||
new_bert->buf_compute.force_cpu = true;
|
||||
new_bert->work_buf.force_cpu = true;
|
||||
#endif
|
||||
|
||||
bert_model & model = new_bert->model;
|
||||
bert_vocab & vocab = new_bert->vocab;
|
||||
|
Loading…
Reference in New Issue
Block a user