Skip to content

Setup for AMD or Intel Arc users

the-database edited this page Jul 30, 2024 · 4 revisions

mpv-upscale-2x_animejanai is configured to use TensorRT by default for optimal performance, but TensorRT requires an NVIDIA GPU. Users with AMD or Intel Arc GPUs can use DirectML instead by following these steps:

  1. Extract mpv-upscale-2x_animejanai-full-package-3.0.1.7z wherever you wish to run the program from.
  2. In the mpv-upscale-2x_animejanai-v3.0.1 folder, launch mpvnet.exe.
  3. From the mpv.net window, press ctrl+E to launch AnimeJaNaiConfEditor.
  4. Choose the Global Settings tab on the top left, and then change the Upscaling Backend from TensorRT to DirectML. image
  5. Choose a new custom profile on the left panel. Check Set as Default Profile in mpv.
  6. We will copy one of the default profiles to this custom profile. In the top right drop down next to Copy Selected Profile To Current Profile, choose the profile you want to copy from. Most users should choose the Performance profile. Then click Copy Selected Profile to Current Profile and click OK to confirm.
  7. Everywhere there is a model dropdown in the current profile, change the model from the -fp16 version of the model to the -fp32 version of the model. image
  8. All changes are saved automatically. Exit AnimeJaNaiConfEditor, restart mpv.net, and play any video to test upscaling, which should be enabled by default. Press ctrl+J to check upscaling status and verify that an upscaling model is being applied. Press ctrl+J again to hide status.

Clone this wiki locally