-
Notifications
You must be signed in to change notification settings - Fork 42
Update: build.sh; WIP #24
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ else | |
| CUBLAS_FLAG_CMAKE="OFF" | ||
| fi | ||
|
|
||
| mkdir -p bindings | ||
| mkdir -p bindings/whisper | ||
|
|
||
| # Navigate to whisper.cpp examples directory and install dependencies | ||
| echo "Installing npm dependencies for whisper.cpp examples..." | ||
|
|
@@ -69,14 +69,18 @@ cp -r build/Release/* ../bindings/whisper/ | |
| # Navigate back to the root directory | ||
| cd ../ | ||
|
|
||
| # Navigate to llama.cpp | ||
| # Navigate to llama.cpp | ||
| cd llama.cpp | ||
|
|
||
| echo "Compiling llama.cpp server" | ||
| LLAMA_BUILD_SERVER=1 make | ||
| rm -rf build-server | ||
| mkdir build-server | ||
| cd build-server | ||
| cmake -DLLAMA_BUILD_SERVER=ON .. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here you will also need to take care of where CUDA flag was set or not. See the whisper command for reference
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
CUDA flags? What do you mean? |
||
| cmake --build . --config Release | ||
|
|
||
| # Navigate back to the root directory | ||
| cd ../ | ||
| cd ../../ | ||
|
|
||
| # Prompt the user for whether they want to download models or not | ||
| read -p "Do you want to download models? [y/n] " DOWNLOAD_CHOICE | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for the previous line, you can remove that