Skip to content

joeywhelan/sm-gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic/Nvidia GPU Integration

Contents

  1. Summary
  2. Architecture
  3. Features
  4. Prerequisites
  5. Installation
  6. Usage

Summary

This is a demonstration of integration of Nvidia GPUs to self-managed Elastic Cloud on Kubernetes (ECK) for the purpose of acceleration of embeddings and indexing.

Architecture

architecture

Features

  • Jupyter notebook
  • Builds an ECK deployment on Google Kubernetes Engine (GKE)
  • GKE deployment includes CPU-only nodes for the Elastic Master nodes and CPU + Nvidia GPU nodes for the Elastic Data nodes.
  • Creates a synthetic multi-lingual dataset with a text field and dense vector field from jina-embeddings-v3
  • Executes a semantic search against that multi-lingual dataset
  • Deletes the entire GKE environment

Prerequisites

  • GCP project
  • gcloud CLI
  • Elastic Cloud Connected API Key
  • Python

Installation

  • Create a Python virtual environment

Usage

  • Execute notebook
  • Elastic credentials will be stored in a .env file that is created dynamically. Use those credentials to access Kibana.

Releases

No releases published

Packages

 
 
 

Contributors