Skip to content
파이썬
2023.04.21 20:10

DiffusionWrapper has 859.52 M params.

조회 수 37710 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

DiffusionWrapper has 859.52 M params.

 

 

 

Microsoft Windows [Version 10.0.19044.2846]

(c) Microsoft Corporation. All rights reserved.

 

C:\Users\Administrator>E:

 

E:\>git

usage: git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]

           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]

           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]

           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]

           [--config-env=<name>=<envvar>] <command> [<args>]

 

These are common Git commands used in various situations:

 

start a working area (see also: git help tutorial)

   clone     Clone a repository into a new directory

   init      Create an empty Git repository or reinitialize an existing one

 

work on the current change (see also: git help everyday)

   add       Add file contents to the index

   mv        Move or rename a file, a directory, or a symlink

   restore   Restore working tree files

   rm        Remove files from the working tree and from the index

 

examine the history and state (see also: git help revisions)

   bisect    Use binary search to find the commit that introduced a bug

   diff      Show changes between commits, commit and working tree, etc

   grep      Print lines matching a pattern

   log       Show commit logs

   show      Show various types of objects

   status    Show the working tree status

 

grow, mark and tweak your common history

   branch    List, create, or delete branches

   commit    Record changes to the repository

   merge     Join two or more development histories together

   rebase    Reapply commits on top of another base tip

   reset     Reset current HEAD to the specified state

   switch    Switch branches

   tag       Create, list, delete or verify a tag object signed with GPG

 

collaborate (see also: git help workflows)

   fetch     Download objects and refs from another repository

   pull      Fetch from and integrate with another repository or a local branch

   push      Update remote refs along with associated objects

 

'git help -a' and 'git help -g' list available subcommands and some

concept guides. See 'git help <command>' or 'git help <concept>'

to read about a specific subcommand or concept.

See 'git help git' for an overview of the system.

 

E:\>cd python

 

E:\python>dir

 E 드라이브의 볼륨: 리뷰안SSD256GB

 볼륨 일련 번호: 7661-5F90

 

 E:\python 디렉터리

 

2023-04-16  오후 10:03    <DIR>          .

2023-04-16  오후 10:03    <DIR>          ..

2023-04-16  오후 10:00    <DIR>          DLLs

2022-03-13  오후 08:45    <DIR>          Doc

2023-04-16  오후 10:00    <DIR>          Git

2023-04-16  오후 09:36        53,792,928 Git-2.40.0-64-bit.exe

2023-04-16  오후 10:00    <DIR>          include

2023-04-16  오후 10:02    <DIR>          Lib

2023-04-16  오후 10:02    <DIR>          libs

2022-01-17  오후 02:26            32,768 LICENSE.txt

2022-01-17  오후 02:27         1,231,196 NEWS.txt

2022-01-17  오후 02:26            99,216 python.exe

2022-01-17  오후 02:26            62,352 python3.dll

2022-01-17  오후 02:26         4,453,776 python310.dll

2022-01-17  오후 02:26            97,680 pythonw.exe

2023-04-16  오후 10:03    <DIR>          py_code

2023-04-20  오후 09:28    <DIR>          Scripts

2023-04-16  오후 10:03    <DIR>          share

2023-04-20  오후 09:31    <DIR>          stable-diffusion-webui

2023-04-16  오후 10:03    <DIR>          tcl

2023-04-16  오후 10:03    <DIR>          Tesseract-OCR

2023-04-16  오후 10:03    <DIR>          Tools

2022-01-17  오후 02:26            97,168 vcruntime140.dll

2022-01-17  오후 02:26            37,240 vcruntime140_1.dll

               9개 파일          59,904,324 바이트

              15개 디렉터리  162,062,888,960 바이트 남음

 

E:\python>cd script

지정된 경로를 찾을 수 없습니다.

 

E:\python>cd scripts

 

E:\python\Scripts>dir

 E 드라이브의 볼륨: 리뷰안SSD256GB

 볼륨 일련 번호: 7661-5F90

 

 E:\python\Scripts 디렉터리

 

2023-04-20  오후 09:28    <DIR>          .

2023-04-20  오후 09:28    <DIR>          ..

2023-04-16  오후 10:03    <DIR>          build

2023-02-11  오전 10:23             1,554 clear_comtypes_cache.py

2023-04-20  오후 09:28           108,410 convert-caffe2-to-onnx.exe

2023-04-20  오후 09:28           108,410 convert-onnx-to-caffe2.exe

2023-04-16  오후 10:03    <DIR>          dist

2023-01-16  오후 06:43           107,856 easyocr.exe

2023-02-21  오전 06:30           108,374 f2py.exe

2022-11-20  오전 08:51           107,863 fonttools.exe

2022-05-08  오전 08:38               997 futurize-script.py

2022-05-08  오전 08:38            74,752 futurize.exe

2022-03-13  오후 08:50           106,343 google-oauthlib-tool.exe

2023-01-16  오후 06:43           107,887 imageio_download_bin.exe

2023-01-16  오후 06:43           107,883 imageio_remove_bin.exe

2023-04-20  오후 09:27           108,363 isympy.exe

2023-01-16  오후 06:43           107,861 lsm2bin.exe

2023-01-16  오후 06:43           107,852 ninja.exe

2023-02-21  오전 06:27               856 nongsa.spec

2022-03-13  오후 08:49           106,354 normalizer.exe

2022-05-08  오전 08:38             1,001 pasteurize-script.py

2022-05-08  오전 08:38            74,752 pasteurize.exe

2023-04-20  오후 09:28           108,379 pip.exe

2023-04-20  오후 09:28           108,379 pip3.10.exe

2023-04-20  오후 09:28           108,379 pip3.exe

2023-01-16  오후 06:43           107,849 pybidi.exe

2022-11-20  오전 08:51           107,860 pyftmerge.exe

2022-11-20  오전 08:51           107,861 pyftsubset.exe

2023-02-07  오전 05:54           108,396 pyi-archive_viewer.exe

2023-02-07  오전 05:54           108,391 pyi-bindepend.exe

2023-02-07  오전 05:54           108,394 pyi-grab_version.exe

2023-02-07  오전 05:54           108,390 pyi-makespec.exe

2023-02-07  오전 05:54           108,393 pyi-set_version.exe

2023-02-07  오전 05:54           108,407 pyinstaller.exe

2022-03-13  오후 08:50           106,322 pyrsa-decrypt.exe

2022-03-13  오후 08:50           106,322 pyrsa-encrypt.exe

2022-03-13  오후 08:50           106,320 pyrsa-keygen.exe

2022-03-13  오후 08:50           106,343 pyrsa-priv2pub.exe

2022-03-13  오후 08:50           106,316 pyrsa-sign.exe

2022-03-13  오후 08:50           106,320 pyrsa-verify.exe

2022-11-20  오전 07:48           107,868 pytesseract.exe

2022-04-08  오후 12:31           106,319 pytube.exe

2023-02-11  오전 10:23            27,225 pywin32_postinstall.py

2023-02-11  오전 10:23             3,546 pywin32_testall.py

2023-01-16  오후 06:43           107,866 skivi.exe

2023-01-16  오후 06:43           107,865 tiff2fsspec.exe

2023-01-16  오후 06:43           107,865 tiffcomment.exe

2023-01-16  오후 06:43           107,853 tifffile.exe

2023-04-20  오후 09:28           108,378 torchrun.exe

2022-11-20  오전 08:51           107,858 ttx.exe

2023-01-15  오전 08:15           107,854 wheel.exe

2023-04-16  오후 10:03    <DIR>          __pycache__

              47개 파일           4,384,886 바이트

               5개 디렉터리  162,062,888,960 바이트 남음

 

E:\python\Scripts>cd ..

 

E:\python> cd stable-diffusion-webui

 

E:\python\stable-diffusion-webui>DIR

 E 드라이브의 볼륨: 리뷰안SSD256GB

 볼륨 일련 번호: 7661-5F90

 

 E:\python\stable-diffusion-webui 디렉터리

 

2023-04-20  오후 09:31    <DIR>          .

2023-04-20  오후 09:31    <DIR>          ..

2023-04-16  오후 09:43    <DIR>          .github

2023-04-16  오후 09:37               468 .gitignore

2023-04-16  오후 09:37               122 .pylintrc

2023-04-20  오후 09:19               228 cache.json

2023-04-16  오후 09:37               657 CODEOWNERS

2023-04-16  오후 09:43    <DIR>          configs

2023-04-16  오후 09:43    <DIR>          embeddings

2023-04-16  오후 09:37               185 environment-wsl2.yaml

2023-04-16  오후 09:43    <DIR>          extensions

2023-04-16  오후 09:43    <DIR>          extensions-builtin

2023-04-16  오후 09:43    <DIR>          html

2023-04-16  오후 09:43    <DIR>          javascript

2023-04-16  오후 09:37            14,362 launch.py

2023-04-16  오후 09:37            35,240 LICENSE.txt

2023-04-16  오후 09:43    <DIR>          localizations

2023-04-20  오후 09:18    <DIR>          models

2023-04-16  오후 09:43    <DIR>          modules

2023-04-16  오후 09:37            10,659 README.md

2023-04-20  오후 09:10    <DIR>          repositories

2023-04-16  오후 09:37               395 requirements.txt

2023-04-16  오후 09:37               504 requirements_versions.txt

2023-04-16  오후 09:37           420,577 screenshot.png

2023-04-16  오후 09:37             3,056 script.js

2023-04-20  오후 09:18    <DIR>          scripts

2023-04-16  오후 09:37            16,381 style.css

2023-04-16  오후 09:43    <DIR>          test

2023-04-16  오후 09:43    <DIR>          textual_inversion_templates

2023-04-16  오후 09:43    <DIR>          tmp

2023-04-20  오후 09:11    <DIR>          venv

2023-04-16  오후 09:37               833 webui-macos-env.sh

2023-04-16  오후 09:37                92 webui-user.bat

2023-04-16  오후 09:37             1,361 webui-user.sh

2023-04-20  오후 09:34             2,115 webui.bat

2023-04-16  오후 09:37            13,051 webui.py

2023-04-16  오후 09:37             5,499 webui.sh

2023-04-20  오후 09:12    <DIR>          __pycache__

              19개 파일             525,785 바이트

              19개 디렉터리  162,062,888,960 바이트 남음

 

E:\python\stable-diffusion-webui>webui.bat

venv "E:\python\stable-diffusion-webui\venv\Scripts\Python.exe"

Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]

Commit hash: 22bcc7be428c94e9408f589966c2040187245d81

Installing requirements for Web UI

Launching Web UI with arguments:

No module 'xformers'. Proceeding without it.

Loading weights [6ce0161689] from E:\python\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors

Creating model from config: E:\python\stable-diffusion-webui\configs\v1-inference.yaml

LatentDiffusion: Running in eps-prediction mode

DiffusionWrapper has 859.52 M params.

loading stable diffusion model: OutOfMemoryError

Traceback (most recent call last):

  File "E:\python\stable-diffusion-webui\webui.py", line 139, in initialize

    modules.sd_models.load_model()

  File "E:\python\stable-diffusion-webui\modules\sd_models.py", line 449, in load_model

    sd_model.to(shared.device)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 54, in to

    return super().to(*args, **kwargs)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 989, in to

    return self._apply(convert)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  [Previous line repeated 4 more times]

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 664, in _apply

    param_applied = fn(param)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 987, in convert

    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

 

 

Stable diffusion model failed to load, exiting

계속하려면 아무 키나 누르십시오 . . .

 

E:\python\stable-diffusion-webui>webui.bat

venv "E:\python\stable-diffusion-webui\venv\Scripts\Python.exe"

Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]

Commit hash: 22bcc7be428c94e9408f589966c2040187245d81

Installing requirements for Web UI

Launching Web UI with arguments:

No module 'xformers'. Proceeding without it.

Loading weights [6ce0161689] from E:\python\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors

Creating model from config: E:\python\stable-diffusion-webui\configs\v1-inference.yaml

LatentDiffusion: Running in eps-prediction mode

DiffusionWrapper has 859.52 M params.

loading stable diffusion model: OutOfMemoryError

Traceback (most recent call last):

  File "E:\python\stable-diffusion-webui\webui.py", line 139, in initialize

    modules.sd_models.load_model()

  File "E:\python\stable-diffusion-webui\modules\sd_models.py", line 449, in load_model

    sd_model.to(shared.device)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 54, in to

    return super().to(*args, **kwargs)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 989, in to

    return self._apply(convert)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  [Previous line repeated 4 more times]

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 664, in _apply

    param_applied = fn(param)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 987, in convert

    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

 

 

Stable diffusion model failed to load, exiting

계속하려면 아무 키나 누르십시오 . . .

 

E:\python\stable-diffusion-webui>webui.bat

venv "E:\python\stable-diffusion-webui\venv\Scripts\Python.exe"

Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]

Commit hash: 22bcc7be428c94e9408f589966c2040187245d81

Installing requirements for Web UI

Launching Web UI with arguments:

No module 'xformers'. Proceeding without it.

Loading weights [6ce0161689] from E:\python\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors

Creating model from config: E:\python\stable-diffusion-webui\configs\v1-inference.yaml

LatentDiffusion: Running in eps-prediction mode

DiffusionWrapper has 859.52 M params.

loading stable diffusion model: OutOfMemoryError

Traceback (most recent call last):

  File "E:\python\stable-diffusion-webui\webui.py", line 139, in initialize

    modules.sd_models.load_model()

  File "E:\python\stable-diffusion-webui\modules\sd_models.py", line 449, in load_model

    sd_model.to(shared.device)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 54, in to

    return super().to(*args, **kwargs)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 989, in to

    return self._apply(convert)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply

    module._apply(fn)

  [Previous line repeated 4 more times]

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 664, in _apply

    param_applied = fn(param)

  File "E:\python\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 987, in convert

    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

 

 

Stable diffusion model failed to load, exiting

계속하려면 아무 키나 누르십시오 . . .

 

loading stable diffusion model: OutOfMemoryError

 

 

 

정말 절대적인 전설입니다 감사합니다! 나를 위해 일했다!!!

그냥 교체하면 모든 것이 잘됩니다.

정확히 무엇을 교체해야 합니까?

etag삽입하여 인쇄 print(etag)하고 잘못된 문자의 위치를 ​​볼 수 있습니다. 당신은 그냥 그들을 드롭할 수 있습니다.

나를 위해 코드를 다음과 같이 변경하여 문제를 해결했습니다.

    # From now on, etag and commit_hash are not None.
    assert etag is not None, "etag must have been retrieved from server"
    assert commit_hash is not None, "commit_hash must have been retrieved from server"
    blob_path = os.path.join(storage_folder, "blobs", etag[3:])
    pointer_path = os.path.join(storage_folder, "snapshots", commit_hash, relative_filename)

내가 변경하는 것은 etag[3:]etag의 처음 3자가 불법임을 발견했기 때문에 삭제하는 것입니다.

 

 

로그인 후 댓글쓰기가 가능합니다.

?

List of Articles
번호 분류 제목 날짜 조회 수
877 Server XE성능 캐시활용으로 속도 100배 개선하기(Varnish 캐시서버 + XE(+패치) + nginx(혹은 아파치) / Wincache) file 2016.03.04 1450
876 [Docs]스프레드시트 스프레드시트에서 삽입 버튼 만들기(chatGPT 에게 물어봄) 2023.03.09 1452
875 컴퓨터잡담 파이썬 다음 증권의 주가 가져오기 2021.08.22 1455
874 컴퓨터잡담 파이썬 네이버 증권 주식 현재가 가져오기 2021.09.06 1464
873 WindowsTip Winpe 4in1 2015.03.10 1477
872 컴퓨터잡담 파이썬 Beautifulsoup 웹크롤링 차단시 해결방법 2021.07.23 1490
871 컴퓨터잡담 파이썬으로 키움증권 open api 사용해보기 file 2021.08.24 1495
870 컴퓨터잡담 파이썬 네이버라인 메시지 보내기 2021.08.22 1505
869 Server MySQL 5.6 my.cnf 글로벌 변수인지 세션변수인지 확인 2016.03.24 1534
868 WindowsTip 복구콘솔 USB 만들기 2015.01.09 1540
867 WindowsTip autohotkey regwrite ipv6 제거툴 file 2014.12.27 1541
866 WindowsTip 알리익스프레스에서 산 ralink 802.n usb driver file 2015.01.09 1541
865 컴퓨터잡담 파이썬 에러 해결방법 모음 2021.07.19 1542
864 컴퓨터잡담 무선 공유기 선택시 중요한 4가지 2015.09.07 1546
863 WindowsTip 윈도우 XP에서 exFAT 인식 패치방법 file 2015.01.14 1559
862 컴퓨터잡담 파이썬 pyautogui 명령어 2021.06.06 1560
861 컴퓨터잡담 파이썬 셀레니움으로 네이버 증권의 종목 검색하여 특정항목 클릭하기 2021.05.30 1565
860 컴퓨터잡담 [python] 윈도우 파이썬 모듈 설치 방법 (특정프로그램 설치 없이 기본프로그램 활용) 2021.09.02 1595
859 컴퓨터잡담 Python 파일을 exe파일로 컴파일하기 2021.06.16 1612
858 컴퓨터잡담 파이썬 한우정액 정보 스프레드로 추출하기 file 2021.06.05 1628
Board Pagination Prev 1 2 3 4 5 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소