Files
uniface/docs/installation.md

38 lines
706 B
Markdown
Raw Normal View History

# 🚀 Installation
2025-04-03 16:29:09 +09:00
## 📦 Install from PyPI
### CPU-only (default):
```bash
pip install uniface
```
This installs the CPU-compatible version of ONNX Runtime (`onnxruntime`) and all core dependencies.
### GPU support:
```bash
pip install "uniface[gpu]"
```
This installs `onnxruntime-gpu` for accelerated inference on supported NVIDIA GPUs.
Make sure your system meets the [ONNX Runtime GPU requirements](https://onnxruntime.ai/docs/build/eps.html#cuda).
---
## 🔧 Install from GitHub (latest version)
Clone the repository and install it manually:
```bash
git clone https://github.com/yakhyo/uniface.git
cd uniface
# CPU version
pip install .
# Or with GPU support
pip install ".[gpu]"
```