打印

[教程] 1. 新手进阶版入门教程:让AI小姐姐为你脱掉汉服,分开双腿(不需要显卡)[20P]

0
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: fastapi==0.90.1 in /usr/local/lib/python3.9/dist-packages (0.90.1)
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.9/dist-packages (from fastapi==0.90.1) (1.10.7)
Requirement already satisfied: starlette<0.24.0,>=0.22.0 in /usr/local/lib/python3.9/dist-packages (from fastapi==0.90.1) (0.23.1)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.9/dist-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi==0.90.1) (4.5.0)
Requirement already satisfied: anyio<5,>=3.4.0 in /usr/local/lib/python3.9/dist-packages (from starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.6.2)
Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.9/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (1.3.0)
Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.9/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.4)
fatal: destination path 'stable-diffusion-webui' already exists and is not an empty directory.
fatal: destination path '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser' already exists and is not an empty directory.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1129  100  1129    0     0   4003      0 --:--:-- --:--:-- --:--:--  4003
100 7346M  100 7346M    0     0   196M      0  0:00:37  0:00:37 --:--:--  210M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1127  100  1127    0     0   3954      0 --:--:-- --:--:-- --:--:--  3940
100 10155  100 10155    0     0  27821      0 --:--:-- --:--:-- --:--:-- 27821
mv: cannot stat '/content/chilloutmixni.safetensors': No such file or directory
mv: cannot stat '/content/ulzzang-6500.pt': No such file or directory
/content/stable-diffusion-webui
Python 3.9.16 (main, Dec  7 2022, 01:11:51)
[GCC 9.4.0]
Commit hash: 91c8d0dcfc9a5d46aec47fd3eb34c633c104b5bb
Installing xformers
Installing requirements for Web UI
Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access
Warning: caught exception 'No CUDA GPUs are available', memory monitor disabled
2023-03-27 15:04:56.603685: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-27 15:04:59.487051: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2023-03-27 15:04:59.487382: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64
2023-03-27 15:04:59.487414: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Loading weights [7234b76e42] from /content/stable-diffusion-webui/models/Stable-diffusion/chilloutmixni.safetensors
Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/webui.py", line 103, in initialize
    modules.sd_models.load_model()
  File "/content/stable-diffusion-webui/modules/sd_models.py", line 406, in load_model
    sd_hijack.model_hijack.hijack(sd_model)
  File "/content/stable-diffusion-webui/modules/sd_hijack.py", line 107, in hijack
    self.optimization_method = apply_optimizations()
  File "/content/stable-diffusion-webui/modules/sd_hijack.py", line 39, in apply_optimizations
    if cmd_opts.force_enable_xformers or (cmd_opts.xformers and shared.xformers_available and torch.version.cuda and (6, 0) <= torch.cuda.get_device_capability(shared.device) <= (9, 0)):
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 357, in get_device_capability
    prop = get_device_properties(device)
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 371, in get_device_properties
    _lazy_init()  # will define _get_device_properties
  File "/usr/local/lib/python3.9/dist-packages/torch/cuda/__init__.py", line 229, in _lazy_init
    torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available


Stable diffusion model failed to load, exiting

楼主能帮我看看哪里的问题,谢谢您,我是苹果电脑IMAC

[ 本帖最后由 susuhao 于 2023-3-27 23:11(GMT+8) 编辑 ]

TOP

当前时区 GMT+8, 现在时间是 2024-6-3 02:17