AI/ML Database Extension
6.7k 2026-04-18

postgresml/postgresml

PostgresML integrates machine learning and AI capabilities, including GPU acceleration and large language models, directly into PostgreSQL, eliminating the need for separate systems and data transfers.

Core Features

In-Database ML/AI operations directly within PostgreSQL
GPU acceleration for faster computations and model inference
Integration of Large Language Models (LLMs) and RAG pipelines
Efficient vector search via pgvector integration
High performance (8-40X faster inference) and horizontal scalability

Quick Start

docker run -it -v postgresml_data:/var/lib/postgresql -p 5433:5432 -p 8000:8000 ghcr.io/postgresml/postgresml:2.10.0 sudo -u postgresml psql -d postgresml

Detailed Introduction

PostgresML is a powerful PostgreSQL extension designed to bring machine learning and AI inference directly to your data. By embedding ML operations within the database, it eliminates the inefficiencies and security risks associated with constantly moving large datasets to external ML models. This architecture leverages GPU power for accelerated computations, supports state-of-the-art LLMs and RAG pipelines, and offers a wide range of ML algorithms, all while ensuring high performance, scalability, and seamless integration with existing PostgreSQL tools.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.