postgresml/postgresml
Postgres with GPUs for ML/AI apps. observed · 2026-08-28
Health v2 · maintenance only
36/100
- Activity 29
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1605
- days_rel: 594
- days_push: 428
- n_releases_24m: 1
Adoption not part of the score
6821 stars · 363 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PostgresML is a PostgreSQL extension that brings machine learning and AI inference directly into the database, with GPU acceleration and pgvector-based vector search. It lets you run LLMs, embeddings, RAG pipelines, and supervised learning via SQL without moving data to separate ML services.
Use cases
- build a RAG chatbot without a separate vector database
- generate embeddings for text stored in Postgres using SQL
- run LLM inference and text generation inside the database
- train and deploy classification and regression models on data in Postgres
- improve search results with semantic vector search and ranking
- fine-tune Hugging Face models on your own data
- consolidate vector DB, embedding service, and LLM API into one database
When to choose
- your data already lives in Postgres and you want ML/AI close to it
- you want to simplify an AI stack by replacing separate vector DB, embedding, and inference services
- you need GPU-accelerated inference with lower latency than HTTP-based model serving
- you prefer SQL as the interface for ML workflows
- data privacy requires keeping models and data together
When to avoid
- you need a lightweight standalone vector store without a full Postgres deployment
- your ML workloads are better served by specialized frameworks like PyTorch or dedicated serving stacks
- you cannot run GPU-backed Postgres infrastructure and lack cloud budget
- you need non-Postgres databases or multi-database ML orchestration
Facets
library · maturity active
vector-database machine-learning llm-inference rag search-engine nlp machine-learning large-language-models databases artificial-intelligence self-hosted cloud python rust postgres-extension pgvector huggingface gpu-acceleration in-database-ml sql embeddings vector-search fine-tuning retrieval-augmented-generation search natural-language-processing linux docker gpu
10 sources
- readme: https://github.com/postgresml/postgresml · fetched 2026-08-28 · 27fde752a1d1
- homepage: https://postgresml.org · fetched 2026-08-29 · 9ee6d24b48e2
- site_page: https://postgresml.org/docs/cloud/overview · fetched 2026-08-29 · 3967bf4e27ba
- site_page: https://postgresml.org/docs/cloud/enterprise/vpc · fetched 2026-08-29 · 8ed00db20956
- site_page: https://postgresml.org/docs/open-source/pgml/guides/llms · fetched 2026-08-29 · 0dd72baeee4b
- site_page: https://postgresml.org/docs/open-source/pgml/guides/embeddings · fetched 2026-08-29 · a812cb201bd6
- site_page: https://postgresml.org/docs/open-source/pgml/guides/vector-database · fetched 2026-08-29 · d13d6fff9649
- site_page: https://postgresml.org/docs/open-source/pgml/guides/supervised-learning · fetched 2026-08-29 · fe335e49b8e8
- site_page: https://postgresml.org/docs/open-source/pgml/guides/improve-search-results-with-machine-learning · fetched 2026-08-29 · d5bb22bbea47
- site_page: https://postgresml.org/pricing · fetched 2026-08-29 · f50ecf3015e3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| postgresml/postgresml | main | 36 |
For agents
markdown · JSON · MCP: product_card(name="postgresml/postgresml")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem