Windows DirectML testing results: MDX and VR work, RoFormer and Demucs currently fail for different backend limitations
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với tài liệu DirectML và phần tương thích trong README. So sánh môi trường Windows, Python, torch-directml và ONNX Runtime được báo cáo với các kết quả của MDX, VR, RoFormer và Demucs. Được xem là hoàn tất khi README ghi rõ những kiến trúc nào hoạt động và những kiến trúc nào vẫn bị chặn bởi hỗ trợ ComplexFloat hoặc fused LSTM.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 :)
- Ngôn ngữ chính
- Python
- Star
- 1.5k
- Fork
- 216
- Merge trung bình
- 1 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nomadkaraoke/python-audio-separator
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
Confusing info in READMECó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
nomadkaraoke/python-audio-separator#246 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
[Bug]: MDX models: vocals scaled down by the input's peak when the input peak is below normalization_threshold , leaving voice in the instrumental stemCó thể đã có người làm @Rahul-cs50 đã nhận 24 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Tất cả issue của nomadkaraoke/python-audio-separator
Issue tương tự
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
jirikuncar/sqlty#1454 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
approved-direction help wanted kind/bug stage/010-actionable triage/accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
projectbluefin/testsuite#1329 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Tests: tests/mcp/server.test.ts fails on Windows when Microsoft Store python3 alias is presentĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày