GithubHelp home page GithubHelp logo

M1 Mac issue - PackagesNotFoundError: The following packages are not available from current channels: pytorch==1.11.0 about stable-diffusion-webui-docker HOT 7 CLOSED

abdbarho avatar abdbarho commented on September 25, 2024
M1 Mac issue - PackagesNotFoundError: The following packages are not available from current channels: pytorch==1.11.0

from stable-diffusion-webui-docker.

Comments (7)

swyxio avatar swyxio commented on September 25, 2024 1

@AbdBarho thanks for being so proactive! unfortunately there are a lot of things to get right and my dockerfu skills are not strong. probably someone else who knows this stuff well should do this.

i tried out #32 but ran into the same issue with pytorch==1.11.0 not being available for m1 macs. i have no idea what the lstein people did to get it to work.

from stable-diffusion-webui-docker.

swyxio avatar swyxio commented on September 25, 2024

adding conda forge in the dockerfile seems to have solved it

image

from stable-diffusion-webui-docker.

swyxio avatar swyxio commented on September 25, 2024

mm more errors...

#0 20.74 PackagesNotFoundError: The following packages are not available from current channels:
#0 20.74 
#0 20.74   - pytorch==1.11.0
#0 20.74   - torchvision==0.12.0

from stable-diffusion-webui-docker.

swyxio avatar swyxio commented on September 25, 2024

seems i am not alone https://saoyan.github.io/blog/2022-06-10-pytorch-apple-m

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on September 25, 2024

@sw-yx the problem is that these libraries are not available for macos.

If I am not mistaken, cuda can not be used under macos because of the different GPU architecture, so even if the libraries were installed, it is highly likely that the application would crash on startup.

However, there is another repo that claims to support macs https://github.com/lstein/stable-diffusion maybe you would have better luck there.

Related #5

from stable-diffusion-webui-docker.

swyxio avatar swyxio commented on September 25, 2024

understood. yes i did get the lstein one working, i just wanted to test the limits of the various forks because i wanted to write a tutorial for other folks.. and of course docker is a great way to distribute software. thanks for the quick response

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on September 25, 2024

@sw-yx I managed to get the lstein fork to run in a docker container for linux

https://github.com/AbdBarho/stable-diffusion-webui-docker/pull/32/files

Unfortunately, I have no access to a mac, if you are willing to adapt it to macos, I will gladly add it to the repo.

Starting point could be https://github.com/lstein/stable-diffusion/blob/main/README-Mac-MPS.md

from stable-diffusion-webui-docker.

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.