mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
update build instructions
This commit is contained in:
parent
57ab06d457
commit
7266451f44
14
BUILD.md
14
BUILD.md
@ -32,25 +32,19 @@ Make sure the ggml subproject is checked out with `git submodule init` and `git
|
|||||||
Configure cmake to build the project with the following:
|
Configure cmake to build the project with the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir ggml/build
|
mkdir build
|
||||||
cd ggml/build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are running on linux you can optionally compile a static build with `cmake -D CMAKE_EXE_LINKER_FLAGS="-static" ..` which should make your binary portable across different flavours of the OS.
|
If you are running on linux you can optionally compile a static build with `cmake -D CMAKE_EXE_LINKER_FLAGS="-static" ..` which should make your binary portable across different flavours of the OS.
|
||||||
|
|
||||||
From here you can now build the components that make up turbopilot:
|
From here you can now build the components that make up turbopilot by running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make codegen codegen-quantize codegen-serve
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
Where:
|
|
||||||
|
|
||||||
- *codegen* is a command line tool for testing out prompts in a lightweight way (a lot like llama.cpp)
|
|
||||||
- *codegen-serve* is the actual REST server that can be used to connect to VSCode
|
|
||||||
- *codegen-quantize* is the tool for quantizing models exported by the conversion script. For more details see [Converting and Quantizing The Models](https://github.com/ravenscroftj/turbopilot/wiki/Converting-and-Quantizing-The-Models).
|
|
||||||
|
|
||||||
### Building with OpenBLAS
|
### Building with OpenBLAS
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user