Giter Club home page Giter Club logo

Comments (7)

cstueckrath avatar cstueckrath commented on July 20, 2024

from stable-diffusion.

SJDunkelman avatar SJDunkelman commented on July 20, 2024

I've installed non-CUDA using pip within conda, but it's still presenting same issue - how do I get webui.cmd to use the pip installed package?

from stable-diffusion.

cstueckrath avatar cstueckrath commented on July 20, 2024

try calling device = torch.device('cuda')

What happens then? This should work with ROCm out of the box (see pytorch/pytorch#10670)

from stable-diffusion.

phreeware avatar phreeware commented on July 20, 2024

read here: https://pytorch.org/get-started/locally/ -> rocm (you'll have to use pip inside of anaconda: https://stackoverflow.com/questions/41060382/using-pip-to-install-packages-to-anaconda-environment ) and here: https://rocmdocs.amd.com/en/latest/ Am Mo., 5. Sept. 2022 um 06:54 Uhr schrieb Apoc9512 < @.>:

I followed the instructions, yet ran into the issue of not finding a CUDA/NVIDIA GPU. Is there something I can modify or some fork of the script that will work on AMD cards? — Reply to this email directly, view it on GitHub <#272>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXQDPO7EDC4VE74G7GM7FDV4V4HVANCNFSM6AAAAAAQEUJUA4 . You are receiving this because you are subscribed to this thread.Message ID: @.
>

so this will only work on unix since ROCm is unix only? any way to get around this? would WSL be working (https://docs.microsoft.com/en-us/windows/wsl/install)?

from stable-diffusion.

kik4444 avatar kik4444 commented on July 20, 2024

Is any effort being made somewhere towards creating a Docker setup for AMD + the webui, either on this repo or a fork somewhere? I'd like to try running this on my Linux PC, but I get put off when I see how much tweaking I'll have to do with little help online compared to Nvidia. I'm confident in my knowledge of Linux and Python, but my next-to-nonexistent knowledge of A.I. makes me think I'll mess something up.

from stable-diffusion.

cstueckrath avatar cstueckrath commented on July 20, 2024

WSL won't work this way. Youll have to install a Linux distribution (don't use Ubuntu 22.04, only 20.04 is supported right now).
You need to have a supported GPU, too! A NAVI 22 (eg Radeon RX6700XT) is NOT supported by ROCm!

It might be possible to work around all this with manually patching and even get it to work in WSL2 with help from Microsoft:
https://github.com/microsoft/antares

But this is all too much for me to dig around alone... I hope, someone can find a solution that works.

from stable-diffusion.

cstueckrath avatar cstueckrath commented on July 20, 2024

you can try the stuff I wrote here: #214 (comment)

I cannot test this myself because of my gpu

from stable-diffusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.