From 15c5873c201ce81e29cd249ffe2176a4842a07c6 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 28 May 2024 20:55:06 +0530 Subject: [PATCH] Provide more context in docs for self-hosting Khoj on Windows --- documentation/docs/get-started/setup.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/docs/get-started/setup.mdx b/documentation/docs/get-started/setup.mdx index 4cdac282..cbf2af7c 100644 --- a/documentation/docs/get-started/setup.mdx +++ b/documentation/docs/get-started/setup.mdx @@ -59,6 +59,7 @@ Khoj uses the `pgvector` package to store embeddings of your index in a Postgres Install [Postgres.app](https://postgresapp.com/). This comes pre-installed with `pgvector` and relevant dependencies. + For detailed instructions and troubleshooting, see [this section](/contributing/development#2-postgres-installation--setup). 1. Use the [recommended installer](https://www.postgresql.org/download/windows/). 2. Follow instructions to [Install PgVector](https://github.com/pgvector/pgvector#windows) in case you need to manually install it. Windows support is experimental for pgvector currently, so we recommend using Docker. @@ -117,13 +118,14 @@ python -m pip install khoj-assistant ``` + In PowerShell on Windows ```shell # 1. (Optional) To use NVIDIA (CUDA) GPU $env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on" # 1. (Optional) To use AMD (ROCm) GPU - CMAKE_ARGS="-DLLAMA_HIPBLAS=on" + $env:CMAKE_ARGS = "-DLLAMA_HIPBLAS=on" # 1. (Optional) To use VULCAN GPU - CMAKE_ARGS="-DLLAMA_VULKAN=on" + $env:CMAKE_ARGS = "-DLLAMA_VULKAN=on" # 2. Install Khoj py -m pip install khoj-assistant