Skip to main content

DeepFilterNet C runtime and DFN3 model bundled in platform wheels

Project description

deepfilternet-slim

deepfilternet-slim distributes the DeepFilterNet C runtime and the standard DeepFilterNet3 ONNX model in platform wheels. It does not depend on PyTorch and does not require a system installation of DeepFilterNet.

The package is intended to be the native runtime layer used by MushroomAgent. Applications receive stable paths from a small typed Python API instead of asking users to configure platform-specific library and model paths.

Installation

pip install deepfilternet-slim

Usage

from deepfilternet_slim import runtime_assets

assets = runtime_assets()
print(assets.library_path)
print(assets.model_path)

The wheel currently contains:

  • the DeepFilterNet C API runtime built from the pinned main commit d375b2d8309e0935d165700c91da9de862a99c31 (not the v0.5.6 release tag);
  • DeepFilterNet3_onnx.tar.gz, verified with a pinned SHA256 checksum;
  • the upstream MIT and Apache-2.0 license texts.

The upstream capi feature normally embeds the default model in the shared library while also accepting an external model path. The build stages a clean copy of libDF and removes that feature edge, so the model is included exactly once in each wheel.

The dedicated Cargo lock updates the compatible tract runtime to 0.21.17. That version avoids selecting Apple AMX kernels on virtualized macOS arm64 runners, where those instructions are unavailable.

Supported wheels

  • Linux x86_64
  • Linux AArch64
  • macOS x86_64
  • macOS arm64
  • Windows AMD64

Linux wheels are built in the manylinux environment selected by cibuildwheel. The Python module has no CPython ABI dependency, so one py3-none-<platform> wheel serves every supported Python version.

Development

Clone with the pinned upstream source:

git clone --recurse-submodules https://github.com/kiwi-data/deepfilternet-slim.git
cd deepfilternet-slim
python -m build --wheel
python -m pip install --force-reinstall dist/*.whl
pytest -q

Configuration fails if the submodule commit or model checksum differs from the values pinned by this repository.

Releasing

Push a v* tag. GitHub Actions builds and tests every platform wheel, then publishes them to PyPI using Trusted Publishing. Configure a PyPI project named deepfilternet-slim with the GitHub pypi environment before the first release.

Upstream attribution

DeepFilterNet is developed by Hendrik Schröter and contributors and is available from https://github.com/Rikorose/DeepFilterNet. See NOTICE and the license files bundled in each wheel.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

deepfilternet_slim-0.1.0-py3-none-win_amd64.whl (12.4 MB view details)

Uploaded Python 3Windows x86-64

deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl (13.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl (12.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl (11.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl (12.9 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file deepfilternet_slim-0.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for deepfilternet_slim-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 de8f866bebdb52b41026aee3be2ee081bb8bfeabf371e642c487950f469fa777
MD5 1cdfe299dd70ffa6f9640660889c6cf7
BLAKE2b-256 eca67b35f6b960494f2081bb340e97d584e99aa27b2eaafd77d5d270bac16176

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-win_amd64.whl:

Publisher: wheels.yml on kiwi-data/deepfilternet-slim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 154f15e38a3b114dc51e7a5e524cd719e99f2252200e5f635474db78db9f753e
MD5 7d872e32df8ccb999e0a2bce275d6f44
BLAKE2b-256 5f44a17bf14f44c331e018847ab0a7c09f5e3c98f38b9b9988c61df35afa9a03

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on kiwi-data/deepfilternet-slim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4aff696052c40ed73a1b26c5364529222f0ca15de759995e1ce2dea7466be3b8
MD5 73479a300970dea70c793bf7f045e48c
BLAKE2b-256 b83f592927a86731c6f443eb698c00d6049043aed321f4cace7320b38ab4035d

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on kiwi-data/deepfilternet-slim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f264539d641d98360af63a715fd444be739bcb0adcdad46322767f955693f189
MD5 7fc58132f09c8df8a47f749689d62071
BLAKE2b-256 9e74c34d70b467156048dd020b5edcbb2dc575b2483113b4f842d6c5781a980a

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl:

Publisher: wheels.yml on kiwi-data/deepfilternet-slim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b27dc594406df865fe4324da1074a7153abd76a24ad082cf8794e082c627b25d
MD5 c59e06a9d8cf7ede1286125f9baa376d
BLAKE2b-256 4e9b0b6fbbc950b60b478c7f01ce1c118c067c8c3bd9a341eec24f4d6ae21776

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl:

Publisher: wheels.yml on kiwi-data/deepfilternet-slim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page