Skip to content

Multi-GPU problem #65

Description

@UberMenko

Hello!
I have two graphics cards installed on my PC: an RTX 4070 Ti Super and a 5060 Ti.
Since the 4070 is more powerful, I have it set as the primary card in the main PCIe slot of the motherboard, but VideoJaNai detects the 5060 as the primary card and installs drivers for it. I could live with that, but since the system sees the 4070 as the primary card, the program sends the task to it and throws the following error:

Generating TensorRT engine with command: D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\inference\aji_encode.exe --input "K:\video.mkv" --conf "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\animejanai.conf" --slot 1 --model-dir "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx" --rife-model-dir "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\rife" --trtexec "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\inference\trtexec.exe" --backend tensorrt --build-only --progress line
[aji:1] trtexec failed building engine for 2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic (see D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx\2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic.3162014977.trt-11.0.0.gpu-NVIDIA-GeForce-RTX-4070-Ti-SUPER-sm8.engine.build.log)
aji_configure: -5: trtexec failed building engine for 2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic (see D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx\2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic.3162014977.trt-11.0.0.gpu-NVIDIA-GeForce-RTX-4070-Ti-SUPER-sm8.engine.build.log)
Upscaling with command: D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\inference\aji_encode.exe --input "K:\video.mkv" --conf "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\animejanai.conf" --slot 1 --model-dir "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx" --rife-model-dir "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\rife" --trtexec "D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\inference\trtexec.exe" --backend tensorrt --output "D:\SysNotSister\Videos\VideoProc Converter AI[Patjantess] Divergence Eve Ep.04-animejanai.mkv" --vcodec libx265 --vquality "-crf 16 -preset slow -x265-params "sao=0:bframes=8:psy-rd=1.5:psy-rdoq=2:aq-mode=3:ref=6"" --pix-fmt yuv420p10 --progress line
[aji:1] trtexec failed building engine for 2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic (see D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx\2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic.3162014977.trt-11.0.0.gpu-NVIDIA-GeForce-RTX-4070-Ti-SUPER-sm8.engine.build.log)
aji_configure: -5: trtexec failed building engine for 2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic (see D:\GGG\VideoJaNai-win-Portable\VideoJaNai-v2.1.0\animejanai\onnx\2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic.3162014977.trt-11.0.0.gpu-NVIDIA-GeForce-RTX-4070-Ti-SUPER-sm8.engine.build.log)

I've attached the log file.
2x_AniSD_DC_RealPLKSR_115K_fp32_FO_dynamic.1709619676.trt-11.0.0.gpu-NVIDIA-GeForce-RTX-4070-Ti-SUPER-sm8.engine.build.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions