From e6c3e483a1f437d02d6b7423407c2848cab1a5cc Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 19 Jan 2024 19:09:35 +0100 Subject: [PATCH] Update build.md Signed-off-by: Ettore Di Giacinto --- docs/content/docs/getting-started/build.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/content/docs/getting-started/build.md b/docs/content/docs/getting-started/build.md index cd320720b512..c2a7e0eef8b3 100644 --- a/docs/content/docs/getting-started/build.md +++ b/docs/content/docs/getting-started/build.md @@ -79,6 +79,16 @@ make build 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 %}} #### CPU flagset compatibility @@ -159,15 +169,6 @@ make GO_TAGS=tts build ### 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 Software acceleration.