diffusion-webui ¸¦ ¸Æ¹Ì´Ï m1¿¡¼­ ½ÇÇàÇØ º¸½ÅºÐ °è½Ç±î¿ä?

witbox   
   Á¶È¸ 2936   Ãßõ 0    

 안녕하세요

요즘 핫한 AI 그림그리기를 맥미니 m1에서 해보고 있는데, 거의 설치 마지막에 에러 뿜뿜하고 설치 실패합니다.


https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon

위 사이트에서 보고 진행중입니다.

brew 설치했고 필요한 프로그램들 설치 하고 나서 마지막에 

./setup_mac.sh

여기서  마지막에 꼭 에러가 나네요.

혹시 맥미니 m1 16G 에서는 안돌아가는건지요?


=============================================

=============================================

=============================================

=============================================

Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled

LatentDiffusion: Running in eps-prediction mode

DiffusionWrapper has 859.52 M params.

making attention of type 'vanilla' with 512 in_channels

Working with z of shape (1, 4, 32, 32) = 4096 dimensions.

making attention of type 'vanilla' with 512 in_channels

Loading weights [e3b0c442] from /Users/witbox/Documents/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt

Error verifying pickled file from /Users/witbox/Documents/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt:

Traceback (most recent call last):

  File "/Users/witbox/Documents/stable-diffusion-webui/modules/safe.py", line 76, in check_pt

    with zipfile.ZipFile(filename) as z:

  File "/Users/witbox/miniconda/envs/web-ui/lib/python3.10/zipfile.py", line 1267, in __init__

    self._RealGetContents()

  File "/Users/witbox/miniconda/envs/web-ui/lib/python3.10/zipfile.py", line 1334, in _RealGetContents

    raise BadZipFile("File is not a zip file")

zipfile.BadZipFile: File is not a zip file


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/Users/witbox/Documents/stable-diffusion-webui/modules/safe.py", line 97, in load

    check_pt(filename)

  File "/Users/witbox/Documents/stable-diffusion-webui/modules/safe.py", line 89, in check_pt

    unpickler.load()

_pickle.UnpicklingError: invalid load key, 'A'.


-----> !!!! The file is most likely corrupted !!!! <-----

You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.



Traceback (most recent call last):

  File "/Users/witbox/Documents/stable-diffusion-webui/webui.py", line 202, in <module>

    webui()

  File "/Users/witbox/Documents/stable-diffusion-webui/webui.py", line 146, in webui

    initialize()

  File "/Users/witbox/Documents/stable-diffusion-webui/webui.py", line 82, in initialize

    modules.sd_models.load_model()

  File "/Users/witbox/Documents/stable-diffusion-webui/modules/sd_models.py", line 247, in load_model

    load_model_weights(sd_model, checkpoint_info)

  File "/Users/witbox/Documents/stable-diffusion-webui/modules/sd_models.py", line 176, in load_model_weights

    if "global_step" in pl_sd:

TypeError: argument of type 'NoneType' is not iterable


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
dadami 2022-11
ÀÏ´Ü cpu¿¡¼­±îÁø µ¹¾Æ°¡´Â°Å üũÇß°í.. ÅäÄ¡ Ä¿½ºÅÒ ºôµåÇÏ¸é ´º·²¿£ÁøÀ¸·Îµµ »ç¿ë °¡´ÉÇϽǰ̴ϴÙ
     
witbox 2022-11
³×, °¨»çÇÕ´Ï´Ù. ´Ù½Ã ½ÃµµÇغÁ¾ß°Ú³×¿ä.


QnA
Á¦¸ñPage 4485/5591
2014-05   4485725   Á¤ÀºÁØ1
2015-12   1038295   ¹é¸Þ°¡
2018-09   2942   Â÷³ÝÄÄÇ»ÅÍ
2017-03   2942   ÁÖ¼¼È«
2019-09   2942   ¹è¿öº¸ÀÚ
2018-08   2942   ¹Ú¹®Çü
2015-12   2942   À嵿°Ç2014
2020-05   2942   ¿µ»êȸ»ó
2018-10   2942   Áø½ÅµÎ
2019-12   2942   ±¼··¼è
2020-12   2942   È­ÀÌÆ®³ëÀÌÁî
2020-03   2942   2CPUI±è¼¼ÈÆ
2019-07   2942   ·ù·ù·ù
2020-04   2941   ¿¥ºê¸®¿À
2019-05   2941   ±ÝÄáÄ¿ÇÇ
2018-12   2941   ¿©ÁÖ³ó¹Î76
2014-02   2941   °¡ºü·Î±¸³ª
2014-03   2941   ±è»ó¹Î
2018-08   2941   °­¹ÎÁØ1
2020-06   2941   µðÁöÀ¯
2019-01   2941   ³ª¶ó»ç¶û
2015-10   2941   Noman