diffusion-webui 를 맥미니 m1에서 실행해 보신분 계실까요?

witbox   
   조회 3942   추천 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 1411/5708
2015-12   1675916   백메가
2014-05   5141281   정은준1
2017-03   3757   행복하세
2016-02   3757   푸하히
2016-07   3757   나파이강승훈
2016-12   3757   귀한녀석
2017-11   3757   스톤콜드
2017-06   3757   나파이강승훈
2018-02   3757   두cpu
2021-04   3757   AMD빌런
2020-03   3757   화란
2017-08   3757   막판대장
2017-09   3757   황진우
2018-03   3757   정은준1
2016-07   3757   PLANX
2017-11   3757   너만믿는다
2018-06   3757   반성만
2018-09   3757   이지포토
2016-01   3757   전설속의미…
2017-03   3757   하락장수익
2019-06   3757   이지포토
2015-04   3757   여해i이상복