mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
auto rope scale adjustments, added sched yield fix for apple, adjust warning for mirostat
This commit is contained in:
parent
0d7240b320
commit
e9467f5a44
3 changed files with 6 additions and 2 deletions
4
ggml.c
4
ggml.c
|
@ -16367,7 +16367,11 @@ static thread_ret_t ggml_graph_compute_thread(void * data) {
|
|||
// wait for other threads to finish
|
||||
const int last = node_n;
|
||||
do {
|
||||
#if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_METAL)
|
||||
//apple does nothing
|
||||
#else
|
||||
sched_yield();
|
||||
#endif
|
||||
node_n = atomic_load(&state->shared->node_n);
|
||||
} while (node_n == last);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue