mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-12 05:23:05 +00:00
Update build.md
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
3a253c6cd7
commit
e6c3e483a1
@ -79,6 +79,16 @@ make build
|
|||||||
|
|
||||||
This should produce the binary `local-ai`
|
This should produce the binary `local-ai`
|
||||||
|
|
||||||
|
Here is the list of the variables available that can be used to customize the build:
|
||||||
|
|
||||||
|
| Variable | Default | Description |
|
||||||
|
| ---------------------| ------- | ----------- |
|
||||||
|
| `BUILD_TYPE` | None | Build type. Available: `cublas`, `openblas`, `clblas`, `metal`,`hipblas` |
|
||||||
|
| `GO_TAGS` | `tts stablediffusion` | Go tags. Available: `stablediffusion`, `tts`, `tinydream` |
|
||||||
|
| `CLBLAST_DIR` | | Specify a CLBlast directory |
|
||||||
|
| `CUDA_LIBPATH` | | Specify a CUDA library path |
|
||||||
|
| `BUILD_API_ONLY` | false | Set to true to build only the API (no backends will be built) |
|
||||||
|
|
||||||
{{% alert note %}}
|
{{% alert note %}}
|
||||||
|
|
||||||
#### CPU flagset compatibility
|
#### CPU flagset compatibility
|
||||||
@ -159,15 +169,6 @@ make GO_TAGS=tts build
|
|||||||
|
|
||||||
### Acceleration
|
### Acceleration
|
||||||
|
|
||||||
List of the variables available to customize the build:
|
|
||||||
|
|
||||||
| Variable | Default | Description |
|
|
||||||
| ---------------------| ------- | ----------- |
|
|
||||||
| `BUILD_TYPE` | None | Build type. Available: `cublas`, `openblas`, `clblas`, `metal`,`hipblas` |
|
|
||||||
| `GO_TAGS` | `tts stablediffusion` | Go tags. Available: `stablediffusion`, `tts`, `tinydream` |
|
|
||||||
| `CLBLAST_DIR` | | Specify a CLBlast directory |
|
|
||||||
| `CUDA_LIBPATH` | | Specify a CUDA library path |
|
|
||||||
|
|
||||||
#### OpenBLAS
|
#### OpenBLAS
|
||||||
|
|
||||||
Software acceleration.
|
Software acceleration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user