-
-
Notifications
You must be signed in to change notification settings - Fork 562
DirectML
SD.Next includes support for PyTorch-DirectML.
Important
DirectML support is marked End-of-Life (EOL) and will be removed in a future release.
torch-directml has not received updates in over one year and is currently superseded by ROCm or ZLUDA.
Add --use-directml to the command-line arguments.
For details, go to Installation.
Performance is significantly lower than ZLUDA and ROCm.
If your card is relatively new and you prefer Windows, use ZLUDA.
If you are comfortable with Linux, use ROCm.
PyTorch-DirectML does not access graphics memory by indexing. Because PyTorch-DirectML's tensor implementation extends OpaqueTensorImpl, we cannot access the actual storage of a tensor.
If you met RuntimeError with no error message (or empty), please report us via GitHub issue or Discord. (please check whether there's a duplicated issue)
If you get RuntimeError with no error message, report it on GitHub or Discord after checking for duplicates.
If it works with FP32, please report us via GitHub issue or Discord. (please check whether there's a duplicated issue) If it works with FP32 but not FP16, report it on GitHub or Discord after checking for duplicates.
Please report us via GitHub issue or Discord. (please check whether there's a duplicated issue) Please report it on GitHub or Discord after checking for duplicates.
Refer to ONNX Runtime