turbopilot

Turbopilot is an open source large-language-model based code completion engine that runs locally on CPU

Visit WebsiteView on GitHub
3.8k
Stars
+317
Stars/month
0
Releases (6m)

Overview

TurboPilot was an open-source, self-hosted code completion engine designed to provide GitHub Copilot-like functionality while running entirely on local CPU hardware. Built on the llama.cpp library, it could run large language models like the 6 billion parameter Salesforce Codegen model using only 4GB of RAM, making AI-powered code completion accessible without cloud dependencies or powerful GPUs. The project supported multiple state-of-the-art models including WizardCoder, StarCoder, SantaCoder, and StableCode, offering features like 'fill in the middle' completion and support for various programming languages. However, the project has been officially deprecated and archived as of September 30, 2023, with the creator citing the availability of other mature solutions that better meet community needs. While it demonstrated the feasibility of local code completion, TurboPilot was positioned as a proof-of-concept rather than a production-ready tool, with acknowledged performance limitations including slow autocompletion speeds.

Pros

  • + Complete privacy and offline operation with no data sent to external servers
  • + Efficient resource usage, capable of running large models in just 4GB RAM on CPU
  • + Support for multiple advanced code models including WizardCoder and StarCoder with fill-in-the-middle capabilities

Cons

  • - Officially deprecated and archived as of September 2023, no longer maintained
  • - Slow autocompletion performance compared to cloud-based solutions
  • - Was explicitly described as proof-of-concept rather than production-ready software

Use Cases

Getting Started

Note: Project is deprecated. Historically: 1) Download pre-quantized models from HuggingFace (StableCode for 4-8GB RAM, WizardCoder for 16+GB), 2) Run the Docker container with the selected model, 3) Configure your IDE with the fauxpilot plugin to connect to the local server endpoint.