Skip to main content

GPU-accelerated Nara WPE in CuPy

Project description

Nara-WPE in CuPy

This package is modified from the core parts of nara_wpe and modifies it to use CuPy for accelerated GPU-based inference.

At the moment, it is meant to be used with the GSS toolkit, but it can also be used in general for dereverberation. Note that this package only contains the parts of Nara WPE that are relevant for GSS.

Installation

> pip install cupy-cuda102  # modify according to your CUDA version (https://docs.cupy.dev/en/stable/install.html#installing-cupy)
> pip install wpe-gpu

Usage

from wpe import wpe
import cupy as cp

X = cp.random.rand(513, 4, 1000)    # F, D, T
X_hat = wpe(X, taps=10, delay=2, iterations=3, psd_context=0)   # F, D, T

Project details


Download files

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

Source Distribution

wpe-gpu-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

wpe_gpu-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file wpe-gpu-0.1.0.tar.gz.

File metadata

  • Download URL: wpe-gpu-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.11

File hashes

Hashes for wpe-gpu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5f5339a932c80c2941c7d724747840c2616c0610f4e642dafa6cf95c58c3f38
MD5 cbc3e72ea00096fe41da2f3d71d147d3
BLAKE2b-256 9bd43e6164403e0ff5908f8774d0928995029bfd17ead1838f56a03531883443

See more details on using hashes here.

File details

Details for the file wpe_gpu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wpe_gpu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.11

File hashes

Hashes for wpe_gpu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16491d0e07a61aad667f95fa68667565d8904ae934c16f2b118cdd66fd39b388
MD5 bc43d2c6615f9d0b4ecacafbac3d4ee9
BLAKE2b-256 7288fd7d4ac73aac0c1afbdcb32078bf2d32a97c834c874feb802d710fdb9289

See more details on using hashes here.

Supported by

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