stem-splitter
BS-RoFormerを使用して音声を6ステム(bass、drums、other、vocals、guitar、piano)に分離するPythonパッケージです。
CUDA推論ではFP16 mixed precisionとTransformer層のtorch.compileを既定で使用します。compileを使用できない環境では警告を出してeager実行へフォールバックします。Windowsでcompileを使用する場合は、PyTorchのバージョンに対応するtriton-windowsを別途インストールしてください。
初回推論ではGPU向けカーネルを生成するため、数十秒程度のcompile待ちが発生します。生成後のカーネルはキャッシュされます。
pip install stem-splitter
stem-splitter input.wav --out-dir output
compileを明示的に無効化する場合は--no-compile、CUDAでFP32推論を行う場合は--full-precisionを指定します。
Metadata
Release files for stem-splitter 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stem_splitter-0.0.6.tar.gz | 18.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stem_splitter-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / stem_splitter-0.0.6.tar.gz
| Download URL | stem_splitter-0.0.6.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afb50844bd77e8c411038551147e82d7c959be535d0a7601c0b9c0df2cbf292f
|
|
BLAKE2b-256 checksum How to use checksums |
c8bd31c0f2834b83f86bd910d53fac7772a6ae620e4c6fccaed5985000165d62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.6
|
Release files / stem_splitter-0.0.6-py3-none-any.whl
| Download URL | stem_splitter-0.0.6-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ad5670dad11055228e467e25607bc0aa8512c5e8a995fd2c16335168013dc2b
|
|
BLAKE2b-256 checksum How to use checksums |
2de3da8ebfab1b621750a4cb437e67e5f685f486a00bc22f6377de5c8f3a074e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.6
|