Closed Yomama232 closed 6 months ago
webui_forge_cu121_torch21 Version: f0.0.17v1.8.0rc-latest-276-g29be1da7 Commit hash: 29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7 クリーンインストール(解凍後アップデート、その後NegPIPのみインストールした状態) でこのエラーが発生します。
NegPiP : Not Active にしてもプロンプトに (sky:-1.0) 等とマイナスがあるとエラーが発生します。 この場合webui_forgeを再起動すると直ります。
以下フルログです。 *入力プロンプト:cat, (sky:-1.0)
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: f0.0.17v1.8.0rc-latest-276-g29be1da7 Commit hash: 29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7 Launching Web UI with arguments: Total VRAM 8192 MB, total RAM 32658 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce GTX 1070 : native VAE dtype: torch.float32 CUDA Stream Activated: False Using pytorch cross attention ControlNet preprocessor location: R:\webui_forge_cu121_torch21\webui\models\ControlNetPreprocessor Loading weights [15012c538f] from R:\webui_forge_cu121_torch21\webui\models\Stable-diffusion\realisticVisionV51_v51VAE.safetensors 2024-03-12 05:53:05,349 - ControlNet - INFO - ControlNet UI callback registered. Running on local URL: http://127.0.0.1:7860 model_type EPS UNet ADM Dimension 0
To create a public link, set share=True
in launch()
.
Startup time: 13.7s (prepare environment: 3.0s, import torch: 3.7s, import gradio: 0.8s, setup paths: 0.7s, other imports: 0.5s, load scripts: 3.9s, create ui: 0.7s, gradio launch: 0.3s).
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_l.text_projection'}
To load target model SD1ClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 7216.9990234375
[Memory Management] Model Memory (MB) = 454.2076225280762
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 5738.791400909424
Moving model(s) has taken 0.10 seconds
Model loaded in 3.2s (load weights from disk: 0.7s, forge load real models: 2.2s, calculate empty prompt: 0.3s).
NegPiP enable, Positive:[2],Negative:None
To load target model BaseModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 6871.99755859375
[Memory Management] Model Memory (MB) = 3278.8199005126953
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 2569.1776580810547
Moving model(s) has taken 0.60 seconds
0%| | 0/20 [00:00<?, ?it/s]
Traceback (most recent call last):
File "R:\webui_forge_cu121_torch21\webui\modules_forge\main_thread.py", line 37, in loop
task.work()
File "R:\webui_forge_cu121_torch21\webui\modules_forge\main_thread.py", line 26, in work
self.result = self.func(*self.args, self.kwargs)
File "R:\webui_forge_cu121_torch21\webui\modules\txt2img.py", line 111, in txt2img_function
processed = processing.process_images(p)
File "R:\webui_forge_cu121_torch21\webui\modules\processing.py", line 752, in process_images
res = process_images_inner(p)
File "R:\webui_forge_cu121_torch21\webui\modules\processing.py", line 922, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "R:\webui_forge_cu121_torch21\webui\modules\processing.py", line 1275, in sample
samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))
File "R:\webui_forge_cu121_torch21\webui\modules\sd_samplers_kdiffusion.py", line 251, in sample
samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, extra_params_kwargs))
File "R:\webui_forge_cu121_torch21\webui\modules\sd_samplers_common.py", line 263, in launch_sampling
return func()
File "R:\webui_forge_cu121_torch21\webui\modules\sd_samplers_kdiffusion.py", line 251, in
@SysVR
NegPiP does not work in Forge newest commit. Please go back to older commit b9705c5 If you don't know how to do that, you can install Stability Matrix.
DeepLで翻訳 NegPiP は Forge の最新コミットでは動作しません。 古いコミット b9705c5 に戻ってください。 その方法がわからない場合は、Stability Matrix をインストールしてください。スクリーンショットをご覧ください。
@Heather95 thank you. 修正されるまで、またはForgeに同様の機能が追加されるまで私はこれを利用します。
DeepL I will use this until it is fixed or a similar feature is added to Forge.
Fixed.
*** Error executing callback cfg_denoiser_callback for D:\stable-diffusion-webui\webui\extensions\sd-webui-negpip\scripts\negpip.py Traceback (most recent call last): File "D:\stable-diffusion-webui\webui\modules\script_callbacks.py", line 216, in cfg_denoiser_callback c.callback(params) File "D:\stable-diffusion-webui\webui\extensions\sd-webui-negpip\scripts\negpip.py", line 268, in denoiser_callback for step, regions in self.hr_conds_all[0] if self.hrp and self.hr else self.conds_all[0]: TypeError: 'NoneType' object is not subscriptable