pygpt4all  by nomic-ai

Python bindings for local LLM inference (deprecated)

created 2 years ago
1,018 stars

Top 37.4% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides Python bindings for llama.cpp and gpt4all, enabling local execution of large language models. It targets developers and researchers seeking to integrate LLM capabilities into Python applications without relying on cloud APIs. The primary benefit is local, private, and cost-effective LLM inference.

How It Works

The project offers Python bindings that interface directly with the llama.cpp C++ library. This allows users to load and run various quantized LLM architectures (like LLaMA, GPT-J, and GPT-Neo) efficiently on local hardware, leveraging CPU or GPU acceleration through llama.cpp's optimized inference engine.

Quick Start & Requirements

Highlighted Details

  • Supports a wide range of quantized LLM architectures.
  • Leverages llama.cpp for efficient CPU and GPU inference.
  • Enables local, private LLM execution.

Maintenance & Community

This repository is archived. Future development and support are handled by the main nomic-ai/gpt4all repository.

Licensing & Compatibility

The project is released under the MIT License, permitting commercial use and integration into closed-source applications.

Limitations & Caveats

This repository is archived and no longer actively maintained. The pygpt4all PyPI package may diverge from backend model updates. Users are directed to use the gpt4all package for current bindings.

Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 90 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Georgios Konstantopoulos Georgios Konstantopoulos(CTO, General Partner at Paradigm), and
2 more.

lit-llama by Lightning-AI

0.1%
6k
LLaMA implementation for pretraining, finetuning, and inference
created 2 years ago
updated 1 month ago
Feedback? Help us improve.