How to install datalab-to/chandra. 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.
datalab-to/chandra Installation Guide
How to install datalab-to/chandra. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for datalab-to/chandra. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i datalab-to/chandraor
Install via npx
npx @hexmos/ipm i datalab-to/chandraPrerequisites
Python
runtimeVersion: >=3.8
pip
package manageruv
package managerVersion: >=0.1.21
git
version controltorch
libraryOptional
flash attention
libraryVersion: >=2.0
Optional
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Install via Package Manager (vLLM backend - Recommended)
pip install chandra-ocrInstall via Package Manager (HuggingFace backend)
pip install chandra-ocr[hf]Install via Package Manager (All extras)
pip install chandra-ocr[all]Install from Source
git clone https://github.com/datalab-to/chandra.git
cd chandra
uv sync
source .venv/bin/activatePost Installation Steps
- Verify installation by running `chandra --help` or `chandra_app`.
- For vLLM backend, run `chandra_vllm` to start the server.
- For HuggingFace backend, run `chandra input.pdf ./output --method hf`.
- Launch the interactive streamlit app with `chandra_app`.
