How to install Stable Diffusion Mac | AI Art Tutorial

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 100

  • @starmorph
    @starmorph  Год назад +4

    Running into errors? Follow this new video to setup your computer before installing stable diffusion ruclips.net/video/UEHHX3UiA6g/видео.html

  • @starmorph
    @starmorph  Год назад +1

    Troubleshooting:
    1. make sure Python 3.10 is installed
    2. Make sure your terminal has access to the right version of your python installation via the PATH variable. I just released a blog post tutorial on how to do this: blog.starmorph.com/blog/add-python-to-path
    3. Consult The Official InvokeAI Troubleshooting Guide invoke-ai.github.io/InvokeAI/help/TROUBLESHOOT/#troubleshooting
    4. Contact us on our website on starmorph.com/ for 1 on 1 help.

  • @mttpul9843
    @mttpul9843 Год назад

    Thanks for this! Will this work both on Intel and M1 Macs?

  • @DanielSchweinert
    @DanielSchweinert Год назад +5

    Thanks! Finally something for Mac. What system do you have if I may ask? Is it fast enough on a M1Max Macbook?

    • @starmorph
      @starmorph  Год назад +2

      I am on a 2020 M1 13" macbook running 12.6 Monterey and it takes probably 2 min per image

    • @DanielSchweinert
      @DanielSchweinert Год назад +2

      @@starmorph ahh okay thank you! Friends have these frickin NVIDIA 4090 on their PCs and they put out images every 3-5 seconds.

    • @starmorph
      @starmorph  Год назад

      @@DanielSchweinert I hear ya me too. I would love to get a dedicated PC for AI work, these things are sweet shop.lambdalabs.com/gpu-workstations/vector/customize

    • @DonahueMarc
      @DonahueMarc Год назад +1

      @@starmorph yikes 2 minutes? my pc makes one every 7 seconds

    • @DonahueMarc
      @DonahueMarc Год назад +1

      @@DanielSchweinert whoops didnt see this! yeah i batch image constantly. 142,000 images in 2 months

  • @DonahueMarc
    @DonahueMarc Год назад +3

    What about deforum or image batching? thats what you need to highlight. Because photos are garbage compared to making videos these days;) Hope that helps and would love to hear your feedback!

    • @starmorph
      @starmorph  Год назад

      Yes it does image batching, you can make as many images as you'd like at once.
      Personally I use a cloud service called replicate for Deforum.

    • @leximike1784
      @leximike1784 Год назад

      Maybe try better prompt , lexica has very nice prompt you can use. I don’t know what kind of AI image generator, but it’s better than any other one I have seen so far, very clean and detailed, they would give you 200 pic for free then you have to buy months after that, but the prompt is always free copy and paste. Good luck tho

  • @lorenzocodino6859
    @lorenzocodino6859 Год назад +2

    Hi! need help: after choosing the preferred location Terminal says "python:command not found". maybe it's a stupid question but I have zero ideas about what I'm doing...

    • @starmorph
      @starmorph  Год назад

      Not a dumb question terminal and development environment can be difficult even for developers.
      Make sure the format of your answer is exactly what the terminal is requesting. If you show me the terminal with your input and the current question I could help more directly.
      But it sounds like you gave a command that is not a python command. Or you don’t have a needed library installed on your computer.

    • @starmorph
      @starmorph  Год назад

      Feel free to message us on instagram or our website live chat for more help

    • @starmorph
      @starmorph  Год назад

      here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through

  • @implodex
    @implodex Год назад

    If I already have sdxl installed will this make me have two of them? And can I still use only stable diffusion on its own if I wanted to? I did install invoke when I allreday had sdxl and it took alot of space so I deleted stable diffusion but then I only had invoke and couldnt get to stable diffusion allthough it is in invoke somehow? This probably sounds dumb to most people but Im really new to this, but do you understand my questioning anyway?
    Big thanks for the video.

    • @starmorph
      @starmorph  Год назад

      I believe you are talking about the actual model files themselves and that you may be able to drag both the sdxl and other stable diffusion model into the invoke folder to use them in invoke. hope that helps.

    • @implodex
      @implodex Год назад

      @@starmorph Thanks for your answer. My 8gb m1 was so slow so I switched to Draw Things wich is. alot faster but not alot of info on it. No videos or tutorials, not much. take care

  • @yeezythabest
    @yeezythabest Год назад +2

    I'm stuck at this step: do i need to create a folder myself and type the name ?
    becvause when i hit enter after that 1st step, this is what i get :
    Select your preferred location for the 'invokeai' directory [/Users/macpro]:
    Traceback (most recent call last):
    File "", line 1, in
    ImportError: No module named pathlib

    • @starmorph
      @starmorph  Год назад +2

      I believe this error is caused because your terminal is running python2 instead of a python 3 installation. Make sure you have Python 3.10 installed and update your PATH variable to point to your Python 3 installation.

    • @yeezythabest
      @yeezythabest Год назад

      @@starmorph Thank you ! how do i update that path ?

    • @starmorph
      @starmorph  Год назад +1

      @@yeezythabest
      Here are 2 guides on how to add python to path
      starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal
      realpython.com/add-python-to-path/

    • @yeezythabest
      @yeezythabest Год назад +2

      @@starmorph thank you so much for taking the time to help me out

    • @starmorph
      @starmorph  Год назад

      @@yeezythabest you’re welcome!

  • @360noscopelife
    @360noscopelife Год назад

    what would be the minimal version of mac you would need to run stable diffusion? is it possible to run it on a older version than the m1 macs?

    • @360noscopelife
      @360noscopelife Год назад

      Just wondering as I'm currently using a 2017 macbook pro with big surr

    • @starmorph
      @starmorph  Год назад

      according to the invoke AI docs, you need an M1 mac
      invoke-ai.github.io/InvokeAI/#system

  • @acramonen
    @acramonen Год назад +2

    Is there a way to install InvokeAI locally on Mac M1?

    • @starmorph
      @starmorph  Год назад +3

      Yes, I have an M1 Mac and this video will show you how

  • @fmrlproductions9282
    @fmrlproductions9282 Год назад +1

    will this method work to make the evolving animation videos of Stable Diffusion? thanks!

    • @starmorph
      @starmorph  Год назад +1

      InvokeAI doesn't currently support Video generation, but we made a video on how to make videos with stable diffusion deforum here: ruclips.net/video/zqpzpBNITQM/видео.html

  • @graiwolf
    @graiwolf Год назад +3

    this tutorial is very easy to follow but as a newbie in this world i learned that i need to install a lot more programs before instaling InvokeAI, like python, homebrew, iTerm2, Zsh, Oh my Zsh, after i installed python and in terminal it continues to appear after the instalation this "zsh command not found python" i´m running a mac studio with M1 Max, can somebody can tell me what programs do i need to install first before trying to install invokeAI?

    • @starmorph
      @starmorph  Год назад +2

      Thank you for your comment I agree and I will strongly consider making another video that shows the setup for everything before invokeAI. In your case, your path variable needs to show your terminal where your python installation is. here are two guides on setting up the path for python:
      starmorph.com/blogs/blog/add-python-to-path-variable-mac-os-z-shell-terminal
      realpython.com/add-python-to-path/

    • @graiwolf
      @graiwolf Год назад +1

      @@starmorph thank you! i´ll check

    • @deema7345
      @deema7345 Год назад +2

      @@starmorph it would be great! im struggling to install it for two nights straight^^^ and still got no success( ( still gettin errors

    • @graiwolf
      @graiwolf Год назад

      @@deema7345 i tried again, installing again python but got the same results "zsh: command not found: python" :(

    • @starmorph
      @starmorph  Год назад +1

      @@graiwolf I made the new video and it solves that error ruclips.net/video/UEHHX3UiA6g/видео.html

  • @11305205219
    @11305205219 Год назад +1

    u can add ur computer setup in description

  • @MobbSuit
    @MobbSuit Год назад

    thanks for this, i got this error after the first part of the installation, any insight as to why?
    AttributeError: module 'diffusers.models.attention' has no attribute
    'CrossAttention'

  • @GaGaWebDesign
    @GaGaWebDesign Год назад

    Such a great Tutorial. It is such a shame it doesn't work.

    • @starmorph
      @starmorph  Год назад

      Could you elaborate on what didn’t work? Will see if I can fix / update

  • @exploring_the_void1588
    @exploring_the_void1588 Год назад +1

    it Is saying "xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools." what should I do?

    • @starmorph
      @starmorph  Год назад

      Xcode developer tools can be installed from the apple store here: apps.apple.com/us/app/xcode/id497799835?mt=12

  • @oliverkussinger2154
    @oliverkussinger2154 Год назад

    Hi there,I ran into this problem: after installing while configuring InvokeAi was loading...: RuntimeError: Failed to import transformers.models.clip.modeling_clip because of the following error (look up to see its traceback):
    module 'dns.rdtypes' has no attribute 'ANY' ...can you help me any further? Thnak you in advance

    • @starmorph
      @starmorph  Год назад +1

      here are two threads with people having the same issues and few solutions
      github.com/invoke-ai/InvokeAI/issues/2334
      github.com/invoke-ai/InvokeAI/issues/2323

  • @honestview
    @honestview Год назад

    is this a fully featured installation? can you do all the things you can with normal Stable diffusion?
    I've been using "DiffusionBee" and "Draw Things" they are a one-click-install, but watered-down version.

    • @starmorph
      @starmorph  Год назад +2

      It has a lot of features like: seed settings, different samplers, inpainting, image batching, dynamic output resolutions, variations, etc. they also continually add more features it has come a long way since the version 2 months ago.

  • @marcdevinci893
    @marcdevinci893 Год назад +1

    I'm still trying to find a way to run A1111 on a Mac Studio any leads?

    • @starmorph
      @starmorph  Год назад +1

      Looks like Automatic1111 has a mac installation guide here github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon

    • @marcdevinci893
      @marcdevinci893 Год назад

      @@starmorph Thanks, yes I've tried to follow instructions but can't get it to run

    • @starmorph
      @starmorph  Год назад

      @@marcdevinci893 what error message are you getting? It’s probably a development environment config that needs to be setup

  • @11305205219
    @11305205219 Год назад

    what is different between diffusion bee and invokeAI on mac ?

    • @starmorph
      @starmorph  Год назад +1

      Diffusion bee is a native mac app - easier to install, but less functionality than invoke AI currently has. invokeAI has more models and settings you can play with.

  • @yvngwaves
    @yvngwaves Год назад

    I keep getting the error:" 'NoneType' object has no attribute 'process' " when trying to generate through text to image and image to image. is there a fix for this? Thanks!

    • @starmorph
      @starmorph  Год назад

      I see that some people are having this issue as well github.com/invoke-ai/InvokeAI/issues?q=NoneType+
      I was not able to find a current solution to it. The error means that that object is returning none, so it sounds like part of the installation is missing, or a package is an incorrect version. I would try checking your installation settings like python version, (ideally 3.10).

    • @vladislavvolkov162
      @vladislavvolkov162 Год назад

      Same issue here

  • @Bartetmedia
    @Bartetmedia Год назад

    It won't create my Invoke dir. Traceback (most recent call last):
    File "", line 1, in
    ImportError: No module named pathlib
    myimac@macs-iMac ~ %
    dir. ???

    • @starmorph
      @starmorph  Год назад

      I believe this is because you may be running the scripts with a python 2 installation. try confirming in both finder and PATH in terminal that you are using python 3.10

  • @gabrielmorales930
    @gabrielmorales930 Год назад

    Hi, does this version support video to video?

    • @starmorph
      @starmorph  Год назад +1

      Not that I am aware of - I have a newer tutorial on installing Automatic1111 stable diffusion that has a large amount of extensions ruclips.net/video/DUqsYm_rYcA/видео.html&lc=Ugw49qE9tKrL85pUKA54AaABAg

    • @gabrielmorales930
      @gabrielmorales930 Год назад

      @@starmorph thanks!

  • @stapovsky7935
    @stapovsky7935 Год назад

    i have a problem, after this ( Select your preferred location for the 'invokeai' directory [/Users/ostap]: ) what i need to do ? i press enter and terminal gives me this : ( Traceback (most recent call last):
    File "", line 1, in
    ImportError: No module named pathlib )
    i like to check the python path and like its Okey, but installation not running (
    pls help

    • @starmorph
      @starmorph  Год назад

      I think probably you are running the command with python 2, but you need to make sure your path and terminal is using a python 3.10 installation.

    • @starmorph
      @starmorph  Год назад

      check your python installation in both the finder and the terminal to make sure you are putting python 3.10 in the path.

    • @deema7345
      @deema7345 Год назад

      получилось установить?

    • @stapovsky7935
      @stapovsky7935 Год назад

      @@deema7345 да, но мне помог друг питонист, я сам не понял что он там сделал)

    • @deema7345
      @deema7345 Год назад

      @@stapovsky7935 повезло.я уже который день пытаюсь установить. выдает эту ошибку постоянно( может дашь контакт друга-питониста?

  • @honestview
    @honestview Год назад

    error: command '/usr/bin/clang' failed with exit code 1
    [end of output]

    • @honestview
      @honestview Год назад +1

      OK after hours of trial and error... SOLUTION:
      I had Python 3.10.6 and even if i manually added the path in terminal, or tried all other methods online, it seems the installer is looking ONLY for 3.10.9 ... so once I got the latest version, it worked even though if i type "python" into terminal nothing happened only if I typed "python3" will something show up.

    • @starmorph
      @starmorph  Год назад

      ​@@honestview thank you for posting the solution here too! Much appreciated

  • @yashav13
    @yashav13 Год назад

    ERROR: Could not find a version that satisfies the requirement torch

    • @starmorph
      @starmorph  Год назад

      Could you run the following 2 commands in your terminal “python -version” and “python3 -version” and reply here with what versions you have installed?

    • @tomaslucero201
      @tomaslucero201 Год назад

      @@starmorph Python 2.7.16 & Python 3.11.2

    • @starmorph
      @starmorph  Год назад

      @@tomaslucero201 you need 3.9.x or 3.10.x we have a python version installation tutorial here: ruclips.net/video/UEHHX3UiA6g/видео.html

  • @acramonen
    @acramonen Год назад

    I keep getting the error" line 124: python: command not found" whenever I try to run the install script.

    • @exploring_the_void1588
      @exploring_the_void1588 Год назад +2

      I was gettin this problem too. you have to go to line 124 and put in "python3" instead of just leaving it as "python"

    • @acramonen
      @acramonen Год назад +1

      @@exploring_the_void1588 Tried that, and I got "zsh: no such file or directory:"

    • @starmorph
      @starmorph  Год назад

      @@acramonen sounds like you have install python3

    • @starmorph
      @starmorph  Год назад

      here is the invoke ai documentation troubleshooting for the command not found error invoke-ai.github.io/InvokeAI/installation/010_INSTALL_AUTOMATED/#walk-through

    • @acramonen
      @acramonen Год назад

      @@starmorph I tried to enter the commands listed on the site but keep getting this error: "zsh: no such file or directory: application/Python/."

  • @honestview
    @honestview Год назад +2

    Blog Post on how to troubleshoot... BEFORE STEP 1:
    "A macOS computer with Terminal and "zsh shell" installed"
    AAARGHHH What is ZSH SHELL, how to install it?
    ... need a troubleshooting guide about the troubleshooting guide.
    Non-tech people need explanations because "ZSH SHELL" is just a soup of letters to anyone who is using terminal for the first time...
    DO i already have it, where do i go to install it, what is it, how to install it bla bla bla

    • @starmorph
      @starmorph  Год назад +2

      Thanks for this insight, I definitely learned from this tutorial to do more comprehensive environment setup steps in future videos. Might make a video on how to setup development environments like python and Z-shell. If anyone wants that video like this comment!
      Z-shell is an alternative to the default Bash Terminal, I can make a guide on how to add python to path with Bash as well (its very similar). Sounds like you got it done though!