lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Bug]: 找不到llama_cpp模块

Open
#745 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [ ] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet

### What happened?

when star:

找不到llama_cpp模块(Can't find the llama_cpp module)

### Steps to reproduce the problem

run.bat

### What should have happened?

no warring
BLIP2 plugin can be installed without any problem

### What browsers do you use to access the UI ?

Microsoft Edge

### Sysinfo

[sysinfo-2024-05-16-10-15.json](https://github.com/lllyasviel/stable-diffusion-webui-forge/files/15333392/sysinfo-2024-05-16-10-15.json)

### Console logs

```Shell
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 12288 MB, total RAM 32706 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : native
Hint: your device supports --pin-shared-memory for potential speed improvements.
Hint: your device supports --cuda-malloc for potential speed improvements.
Hint: your device supports --cuda-stream for potential speed improvements.
VAE dtype: torch.bfloat16
CUDA Stream Activated: False
Using pytorch cross attention
ControlNet preprocessor location: D:\Program Files\stable diffusion\webui_forge\webui\models\ControlNetPreprocessor
找不到llama_cpp模块
Loading weights [9dfab17adf] from D:\Program Files\stable diffusion\webui_forge\webui\models\Stable-diffusion\LEOSAM AIArt 兔狲插画 SDXL大模型_v2.safetensors
2024-05-16 18:14:20,302 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL: http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 11.3s (prepare environment: 2.7s, import torch: 3.2s, import gradio: 0.7s, setup paths: 0.7s, other imports: 0.6s, load scripts: 1.8s, create ui: 0.6s, gradio launch: 0.8s).
model_type EPS
UNet ADM Dimension 2816
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', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids'}
To load target model SDXLClipModel
Begin to load 1 model
[Memory Management] Current Free GPU Memory (MB) = 11246.99609375
[Memory Management] Model Memory (MB) = 2144.3546981811523
[Memory Management] Minimal Inference Memory (MB) = 1024.0
[Memory Management] Estimated Remaining GPU Memory (MB) = 8078.641395568848
Moving model(s) has taken 0.55 seconds
Model loaded in 6.9s (load weights from disk: 0.8s, forge instantiate config: 1.9s, forge load real models: 3.3s, forge finalize: 0.2s, calculate empty prompt: 0.8s).
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with run.bat and the linked sysinfo file, then review the console log around the missing llama_cpp module during BLIP2 installation. Determine why the module is unavailable in this clean startup and verify that BLIP2 installs without the warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.