logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt
How to install nari-labs/dia. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

nari-labs/dia Installation Guide

How to install nari-labs/dia. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for nari-labs/dia. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i nari-labs/dia
or

Install via npx

npx @hexmos/ipm i nari-labs/dia

Prerequisites

Python

language

Version: >=3.6.0

pip

package_manager

Version: 21.x

git

system_tool

CUDA

system_package

torch

build_tool

Version: 2.8.0

Hugging Face Transformers

library

Version: 4.15.0

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Clone Repository and Install via Pip

git clone https://github.com/nari-labs/dia.git

cd dia

python -m venv .venv && source .venv/bin/activate

pip install -e . 

Install via pip

pip install git+https://github.com/nari-labs/dia.git

Run with uv

uv run example/simple.py

Post Installation Steps

  • Start the server: `python app.py`
  • Run migrations: `python manage.py makemigrations && python manage.py migrate`