カテゴリー: Generative AI

  • webui起動

    Creating venv in directory C:\Users\user\Downloads\stable-diffusion-webui\venv using python “C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe”
    venv “C:\Users\user\Downloads\stable-diffusion-webui\venv\Scripts\Python.exe”
    Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
    Commit hash: 5ab7f213bec2f816f9c5644becb32eb72c8ffb89
    Installing torch and torchvision
    Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
    Collecting torch==2.0.0
    Downloading https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp310-cp310-win_amd64.whl (2611.3 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 GB 2.8 MB/s eta 0:00:00
    Collecting torchvision==0.15.1
    Downloading https://download.pytorch.org/whl/cu118/torchvision-0.15.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 105.0 MB/s eta 0:00:00
    Collecting sympy
    Downloading https://download.pytorch.org/whl/sympy-1.11.1-py3-none-any.whl (6.5 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 102.6 MB/s eta 0:00:00
    Collecting jinja2
    Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB ? eta 0:00:00
    Collecting filelock
    Downloading filelock-3.12.0-py3-none-any.whl (10 kB)
    Collecting networkx
    Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 64.4 MB/s eta 0:00:00
    Collecting typing-extensions
    Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
    Collecting requests
    Using cached requests-2.29.0-py3-none-any.whl (62 kB)
    Collecting numpy
    Using cached numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB)
    Collecting pillow!=8.3.*,>=5.3.0
    Using cached Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB)
    Collecting MarkupSafe>=2.0
    Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.2-cp310-cp310-win_amd64.whl (16 kB)
    Collecting certifi>=2017.4.17
    Using cached https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
    Collecting urllib3<1.27,>=1.21.1
    Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
    Collecting charset-normalizer<4,>=2
    Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB)
    Collecting idna<4,>=2.5
    Using cached https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
    Collecting mpmath>=0.19
    Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB ? eta 0:00:00
    Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
    Successfully installed MarkupSafe-2.1.2 certifi-2022.12.7 charset-normalizer-3.1.0 filelock-3.12.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 numpy-1.24.3 pillow-9.5.0 requests-2.29.0 sympy-1.11.1 torch-2.0.0+cu118 torchvision-0.15.1+cu118 typing-extensions-4.5.0 urllib3-1.26.15

    [notice] A new release of pip is available: 23.0.1 -> 23.1.2
    [notice] To update, run: C:\Users\user\Downloads\stable-diffusion-webui\venv\Scripts\python.exe -m pip install –upgrade pip
    Installing gfpgan
    Installing clip
    Installing open_clip
    Cloning Stable Diffusion into C:\Users\user\Downloads\stable-diffusion-webui\repositories\stable-diffusion-stability-ai…
    Cloning Taming Transformers into C:\Users\user\Downloads\stable-diffusion-webui\repositories\taming-transformers…
    Cloning K-diffusion into C:\Users\user\Downloads\stable-diffusion-webui\repositories\k-diffusion…
    Cloning CodeFormer into C:\Users\user\Downloads\stable-diffusion-webui\repositories\CodeFormer…
    Cloning BLIP into C:\Users\user\Downloads\stable-diffusion-webui\repositories\BLIP…
    Installing requirements for CodeFormer
    Installing requirements
    Launching Web UI with arguments:
    No module ‘xformers’. Proceeding without it.
    Calculating sha256 for C:\Users\user\Downloads\stable-diffusion-webui\models\Stable-diffusion\trinart2_step115000.ckpt: 776af18775dfccf29725a994df855e7d8f7b8ea525013e3a466f210ec15c8fd4
    Loading weights [776af18775] from C:\Users\user\Downloads\stable-diffusion-webui\models\Stable-diffusion\trinart2_step115000.ckpt
    Creating model from config: C:\Users\user\Downloads\stable-diffusion-webui\configs\v1-inference.yaml
    LatentDiffusion: Running in eps-prediction mode
    DiffusionWrapper has 859.52 M params.
    Downloading (…)olve/main/vocab.json: 100%|██████████████████████████████████████████| 961k/961k [00:00<00:00, 16.3MB/s]
    Downloading (…)olve/main/merges.txt: 100%|██████████████████████████████████████████| 525k/525k [00:00<00:00, 2.03MB/s]
    Downloading (…)cial_tokens_map.json: 100%|████████████████████████████████████████████████████| 389/389 [00:00<?, ?B/s]
    Downloading (…)okenizer_config.json: 100%|████████████████████████████████████████████████████| 905/905 [00:00<?, ?B/s]
    Downloading (…)lve/main/config.json: 100%|████████████████████████████████████████████████| 4.52k/4.52k [00:00<?, ?B/s]
    Applying cross attention optimization (Doggettx).
    Textual inversion embeddings loaded(0):
    Model loaded in 7.0s (calculate hash: 1.4s, load weights from disk: 0.6s, create model: 2.6s, apply weights to model: 0.6s, apply half(): 0.5s, move model to device: 0.4s, load textual inversion embeddings: 0.7s).
    Running on local URL: http://127.0.0.1:7860

    To create a public link, set share=True in launch().
    Startup time: 14.3s (import torch: 1.7s, import gradio: 1.5s, import ldm: 0.6s, other imports: 2.2s, setup codeformer: 0.2s, load scripts: 0.6s, load SD checkpoint: 7.1s, create ui: 0.4s).