torch conflict during web-ui install (RTX 4070 + CUDA 11.8)

Viewing 1 reply thread
  • Author
    Posts
    • #18116
      cujo
      Participant

        I’m using an RTX 4070 and want to take full advantage of PyTorch 2.0 with CUDA 11.8. The AUTOMATIC1111 GitHub says the latest version supports this setup. But when I clone and install the web-ui, it installs its own version of torch and torchvision. Are there any tips for how to install SD using torch 2.0 with CUDA 11.8 instead of the version that’s tied into the web-ui?

      • #18142
        AndrewAndrew
        Keymaster

          Hi! You normally run webui-user.bat to A1111, and it install its own copy of torch and cuda in the venv folder. You can use the pip command in the venv folder to modify the version of pytorch. Specifics depend on whether you are running on windows or mac.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.