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/diaor
Install via npx
npx @hexmos/ipm i nari-labs/diaPrerequisites
Python
languageVersion: >=3.6.0
pip
package_managerVersion: 21.x
git
system_toolCUDA
system_packagetorch
build_toolVersion: 2.8.0
Hugging Face Transformers
libraryVersion: 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.gitRun with uv
uv run example/simple.pyPost Installation Steps
- Start the server: `python app.py`
- Run migrations: `python manage.py makemigrations && python manage.py migrate`
