Windows DirectML testing results: MDX and VR work, RoFormer and Demucs currently fail for different backend limitations

オープン 初心者向け
#292 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python, pytorch
領域
documentation

調査の方向性

DirectML のドキュメントと README の互換性セクションから始めます。報告されている Windows、Python、torch-directml、ONNX Runtime の環境を、MDX、VR、RoFormer、Demucs の結果と比較します。README に、どのアーキテクチャが動作し、どれが ComplexFloat または fused LSTM のサポートによって引き続きブロックされているかが明確に記録されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Following the recent addition of the DirectML documentation, multiple architectures were tested on a Windows machine with an AMD integrated GPU. Here are the results for tracking compatibility.

Environment
Windows 11
Python 3.12.8
torch-directml 0.2.5.dev240914
onnxruntime-directml 1.24.4
audio-separator 0.44.2

env_info reports:
DirectML is available in Torch, setting Torch device to DirectML
ONNXruntime has DmlExecutionProvider available, enabling acceleration

Results

Architecture Model Result
MDX (.onnx) UVR-MDX-NET-Inst_HQ_3.onnx Works successfully
VR (.pth) 5_HP-Karaoke-UVR.pth Works successfully
RoFormer / MDXC (.ckpt) model_bs_roformer_ep_317_sdr_12.9755.ckpt Fails
Demucs hdemucs_mmi.yaml Fails

MDX and VR
The MDX and VR models completed separation successfully using DirectML.

RoFormer
The new implementation first reports '>=' not supported between instances of 'torch.device' and 'int' before falling back to the legacy implementation.
Inference then fails with 'Invalid or unsupported data type ComplexFloat'. This appears to come from torch-directml not supporting ComplexFloat datatype used during FFT operations.

Demucs
The model loads correctly, but inference fails with 'aten::_thnn_fused_lstm_cell' which appears to indicate that the fused LSTM operator required by Demucs is not currently supported by torch-directml.

So, MDX and VR models are fully usable with DirectML. RoFormer currently depends on ComplexFloat support. And Demucs currently depends on fused LSTM support.

Hopefully these results help confirm and update the DirectML compatibility status in the README :)

主要言語
Python
スター
1.5k
フォーク
216
平均マージ
1時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nomadkaraoke/python-audio-separator のほかの issue

nomadkaraoke/python-audio-separator の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。