8000 Fix model loading time through prefetching the file on another thread by CoderRC · Pull Request #734 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content

Fix model loading time through prefetching the file on another thread #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Prev Previous commit
Next Next commit
Remove redundant duplicate #include <windows.h>
  • Loading branch information
CoderRC authored Apr 3, 2023
commit 8889c3be0172a23221116e95fb174bc30a651af5
3 changes: 0 additions & 3 deletions ggml.h
Original file line number Diff line number Diff line change
Expand Up @@ -785,9 +785,6 @@ int ggml_cpu_has_vsx(void);
#endif

#ifndef _POSIX_THREADS
#if defined(_WIN32)
#include <windows.h>
#endif
typedef HANDLE pthread_t;
int pthread_create(pthread_t* out, void* unused, void*(*func)(void*), void* arg);
int pthread_join(pthread_t thread, void* unused);
Expand Down
0