Have you encountered the following issues(RuntimeError: Invalid buffer size: 4.00 GB) #14750
Unanswered
xiaodeng111
asked this question in
Q&A
Replies: 1 comment
-
macos Intel Core i9 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
MacOS Ventura, I can generate up to 640 x 640 images fine, but above that I get error (RuntimeError: Invalid buffer size: 4.00 GB)。
Start stable diffusion logs:
`Python 3.10.10 (v3.10.10:aad5f6a891, Feb 7 2023, 08:47:40) [Clang 13.0.0 (clang-1300.0.29.30)]
Version: v1.7.0
Commit hash: cf2772f
Launching Web UI with arguments: --medvram --opt-split-attention --skip-torch-cuda-test --no-half --disable-model-loading-ram-optimization --disable-nan-check
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
*** Error running preload() for /Users/admin/workspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py
Traceback (most recent call last):
File "/Users/admin/workspace/stable-diffusion-webui/modules/script_loading.py", line 26, in preload_extensions
module = load_module(preload_script)
File "/Users/admin/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/admin/workspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py", line 4, in
from modules.shared import models_path
ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (/Users/admin/workspace/stable-diffusion-webui/modules/shared.py)
No module 'xformers'. Proceeding without it.
Style database not found: /Users/admin/workspace/stable-diffusion-webui/styles.csv
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
[AddNet] Updating model hashes...
0it [00:00, ?it/s]
*** Error loading script: api.py
Traceback (most recent call last):
File "/Users/admin/workspace/stable-diffusion-webui/modules/scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/admin/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/admin/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/api.py", line 90, in
ControlNetTxt2ImgRequest = create_controlnet_request_model(StableDiffusionTxt2ImgProcessingAPI)
File "/Users/admin/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/api.py", line 81, in create_controlnet_request_model
'controlnet_units': (List[ControlNetUnitRequest], Field(default=[], docs_default=[ControlNetUnitRequest()], description="ControlNet Processing Units")),
NameError: name 'List' is not defined
*** Error loading script: tagger.py
Traceback (most recent call last):
File "/Users/admin/workspace/stable-diffusion-webui/modules/scripts.py", line 469, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/admin/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/admin/workspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py", line 5, in
from tagger.ui import on_ui_tabs
File "/Users/admin/workspace/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/ui.py", line 10, in
from webui import wrap_gradio_gpu_call
ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (/Users/admin/workspace/stable-diffusion-webui/webui.py)
Loading weights [fc2511737a] from /Users/admin/workspace/stable-diffusion-webui/models/Stable-diffusion/chilloutmix_NiPrunedFp32Fix(照片).safetensors
Creating model from config: /Users/admin/workspace/stable-diffusion-webui/configs/v1-inference.yaml
/Users/admin/workspace/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:343: GradioDeprecationWarning: The
style
method is deprecated. Please set these arguments in the constructor instead.with gr.Row().style(equal_height=False):
/Users/admin/workspace/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:423: GradioDeprecationWarning: The
style
method is deprecated. Please set these arguments in the constructor instead.cover_image = gr.Image(label="Cover image", elem_id="additional_networks_cover_image", source="upload", interactive=can_edit, type="pil", image_mode="RGBA").style(height=480)
Running on local URL: http://127.0.0.1:7860`
Beta Was this translation helpful? Give feedback.
All reactions