Installation¶
Requirements¶
- Python 3.12 (
>=3.12,<3.13). - uv for dependency and environment management.
- The TensorFlow runtime stack pulled in by DeepFace.
Install¶
From the repository root:
You can also invoke the CLI as a module:
Do not install DeepFace or TensorFlow separately. The project pins TensorFlow
to the version used by its current DeepFace stack, so use uv sync to keep the
environment consistent.
Platform support¶
On Apple Silicon macOS, uv installs the optional TensorFlow Metal acceleration package. It is not installed on Linux or other architectures.
The project is tested in GitHub Actions on Linux. TensorFlow Metal is available on Apple Silicon macOS; other OS and architecture combinations are not part of the tested support matrix.
TensorFlow prints No supported GPU was found. when no GPU is available. This
is expected on CPU-only machines and does not prevent DoppelSort from running.
Development dependencies¶
uv sync --dev also installs Ruff, mypy, pytest with coverage, and MkDocs
Material for the documentation site.