Set Up a Local GitHub Copilot‑Like AI Assistant in 5 Minutes
This guide shows how to deploy the open‑source Tabby AI coding assistant with the Qwen2.5‑Coder‑1.5B‑Instruct model using Docker, register an admin account, configure the Tabby VS Code extension, and verify real‑time multi‑line code completion, all in a few minutes.
Introduction
Tabby is an open‑source, self‑hosted AI coding assistant that enables teams to run a local LLM‑driven code‑completion service.
Deploy with Docker
Ensure Docker, Nvidia drivers, and the Nvidia Toolkit are installed on the host.
Start Tabby with Docker.
docker run -it --gpus all \
-p 8080:8080 -v $HOME/.tabby:/data \
registry.tabbyml.com/tabbyml/tabby \
serve --model StarCoder-1B --chat-model Qwen2.5-Coder-1.5B-Instruct --device cudaRegister an Account
After the container starts, open the URL shown in the startup logs (e.g., http://{ip}:8080) and create an admin account. The home page displays statistics such as the number of generated code snippets and their usage rate.
Configure Visual Studio Code
Install the Tabby VSCode extension.
The extension is available on the Visual Studio Marketplace and Open VSX.
ext install TabbyML.vscode-tabbyAfter installation, click the Tabby button in the lower‑right corner of VS Code, then paste the token shown on the login page to connect the client.
Code Completion Demo
When editing a Python file, Tabby suggests multi‑line completions and full functions in real time. A quick‑sort implementation is completed instantly, demonstrating low latency and useful suggestions.
References
Qwen2.5‑Coder‑1.5B‑Instruct: https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF
Tabby VSCode extension (Visual Studio Marketplace): https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby
Open VSX: https://open-vsx.org/extension/TabbyML/vscode-tabby
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Infra Learning Club
Infra Learning Club shares study notes, cutting-edge technology, and career discussions.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
