Download src/Makefile from CIIL/Anuvani-Diarization: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/CIIL/Anuvani-Diarization/resolve/main/src/Makefile
- Command line
-
hf download hf://CIIL/Anuvani-Diarization/src/Makefile
-
curl -L -o Makefile https://huggingface.co/CIIL/Anuvani-Diarization/resolve/main/src/Makefile
1.29 kB
| # Copyright (c) 2026 The Anuvani-Diarization authors | |
| # SPDX-License-Identifier: MIT OR Apache-2.0 | |
| # Dev loop. Every target runs in the canonical reference environment (env/canonical.sh) with only the project venv active. | |
| SHELL := /bin/bash | |
| ENV := source env/canonical.sh && unset CONDA_PREFIX CONDA_DEFAULT_ENV && export VIRTUAL_ENV=$(CURDIR)/.venv PATH=$(CURDIR)/.venv/bin:$(HOME)/.cargo/bin:$$PATH && | |
| # the bundled libraries and assets the package (and, in this tree, the Rust tests and the gateway) load: python/anuvani_diar/_libs, /assets | |
| stage: | |
| $(ENV) python -s tools/stage_wheel_files.py | |
| build: stage | |
| $(ENV) maturin develop --release -q | |
| $(ENV) cargo build --release -q -p diar-gateway | |
| test-rust: stage | |
| $(ENV) cargo test --workspace --quiet | |
| test-fast: build test-rust | |
| $(ENV) python -s -m pytest -q tests -m "not slow and not gpu" -p no:cacheprovider | |
| test-cache: build | |
| $(ENV) python -s -m pytest -q tests -m "slow and not gpu" -p no:cacheprovider | |
| test-gpu: build | |
| $(ENV) python -s -m pytest -q tests -m "gpu and not slow" -p no:cacheprovider | |
| test-gpu-all: build | |
| $(ENV) python -s -m pytest -q tests -m "gpu and slow" -p no:cacheprovider | |
| check-exact: build | |
| $(ENV) python -s tools/check_exact.py | |