How to Fix Common Warnings When Installing Stable Diffusion on Your Mac

preview_player
Показать описание
In this video, you will learn how to fix warnings that may arise when initializing Stable Diffusion on a Mac locally. Using the WARP terminal, you will be guided through the steps needed to troubleshoot and resolve these warnings, which can cause issues when generating images.
Warnings:
(1) Torch not compiled with CUDA enabled, memory monitor disabled
(2) No module 'xformers'. Proceeding without it
(3) You are running torch 1.12.1. The program is tested to work with torch 1.13.1
(4) Failed to load image Python extension

🤙🏻 Follow me on Medium to get my Newsletter:

📰Article:

📌 Links:

00:18 Warp Terminal
03:35 Warning (1) Torch not compiled with CUDA enabled, memory monitor disabled
05:45 Warning (2) No module 'xformers'. Proceeding without it
06:49 Warning (3) You are running torch 1.12.1. The program is tested to work with torch 1.13.1
09:21 Warning (4) Failed to load image Python extension
11:13 Final thoughts

#aiart #stablediffusion #generativeart
Рекомендации по теме
Комментарии
Автор

ahhh perfect, thank you for guiding us into upgrading torch, was unsuccessful until now.

JulienTaillez
Автор

Thank you so much!!!! You help me fix the Torch error. Now I can run models that were not running before. I appreciate it!!

muffin
Автор

great video! Never used warp AI before but might start now lol

jamesbriggs
Автор

This is such a cool use of the terminal to debug errors :O

theRubberDuckiee
Автор

Thank you Laura! I have watched about 5 of your videos as I have struggled to get my Mac M1 Mini running SD. This was the last issue to resolve that was causing crashes and running out of memory, despite have 16GB. Subscribed! Keep doing your great work, and I hope Google send you paychecks :)

MarkDMongie
Автор

This helped me!! Thanks for this video

John_Krone
Автор

Hello Laura! Congrats for such a nice SD channel. i'd love to ask you, considering all the issues with apple managing SD would you recommend buying a m2 macbook? are they fast enough generating images and trainning lora models? or it's much better a nvidia rtx 4090 laptop for that matter? thanks in advance for your answer!

bartolorosario
Автор

Does the M2 silicon base model have any problems installing and running stable diffusion locally?

ShyBoyEnt
Автор

Tanks for the content. I just Subscribed to the chanel. I'm the 1000 subscriber! Ciao

sirisaacnewton
Автор

Laura your google colab script runs all the way without error up to the point where I start stable diffusion but then I get the message: Traceback (most recent call last): from fastapi import FastApi ModuleNotFoundError: No module named 'fastapi' . I followed your instructions to the letter. Where do I go wrong?

fullflowstudios
Автор

This is my Error

A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

Any Idea how I can solve this?

daviddouglassarustudios
Автор

this video is awesome!! Do you mind showing how to install controlnet on an arm based Mac?

edmundw
Автор

Hi there, Thanks for the video Laura. I installed on my MacBook M2 laptop and it worked fine.
For some reason when I tried installing it on my M1 Max Machine.
I'm getting this error:
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'"

Is there any fix for this? It would be really helpful.

VimalVinod-qgmr
Автор

For what its worth, xformers gives me consistent results as when not using it.

thomassynths
Автор

hi, i wonder if you could explain this [AttributeError: 'NoneType' object has no attribute 'pop'] it happened when i try to generate the image, and no image has been generated. Thank you!

yanchen_
Автор

can you do a video on embedding and training your own data set to stable diffusion in goole colab

SityClipz
Автор

Hello. Why are my upscales not working? Gives constant errors

sergey_kuryshin
Автор

Well explained, but I am stuck on 'zsh: no such file or directory: ./webui.sh'. I do not know what to do. Any suggestion would be highly appreciated

aligirl
Автор

Hello, I am receiving this error on a M1 & wondering if you can help me. Also, should I use warp terminal? RuntimeError: MPS backend out of memory (MPS allocated: 7.41 GB, other allocations: 1.45 GB, max allowed: 9.07 GB). Tried to allocate 256.00 MB on private pool. Use to disable upper limit for memory allocations (may cause system failure).

bot.
Автор

Hey! Could you tell me what's this warning about: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
There appear to be %d '

TheSoggetto