This guide is aimed at experienced users working with a self-hosted Meilisearch instance. It shows you how to compile a Meilisearch binary that generates Hugging Face embeddings with an Nvidia GPU.Documentation Index
Fetch the complete documentation index at: https://www.meilisearch.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A CUDA-compatible Linux distribution
- An Nvidia GPU with CUDA support
- A modern Rust compiler
Install CUDA
Follow Nvidia’s CUDA installation instructions.Verify your CUDA install
After you have installed CUDA in your machine, run the following command in your command-line terminal:Compile Meilisearch
First, clone Meilisearch:cuda enabled:
Configure the Hugging Face embedder
Run your freshly compiled binary:taskUid to monitor the task status. The Hugging Face embedder will be ready to use once the task is completed.