mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-13 21:01:06 +08:00
When the prompt is chunked using the BREAK keyword, chunks will be padded to the minimum size of 256 tokens - but chunks can be longer. torch.stack then fails if all chunks are not the same size, so find the largest and pad all to match. #1988 (doesn't quite ID the real issue, prompts longer than 255 tokens work fine) |
||
|---|---|---|
| .. | ||
| diffusion_engine | ||
| huggingface | ||
| misc | ||
| modules | ||
| nn | ||
| patcher | ||
| sampling | ||
| text_processing | ||
| args.py | ||
| attention.py | ||
| loader.py | ||
| memory_management.py | ||
| operations_bnb.py | ||
| operations_gguf.py | ||
| operations.py | ||
| README.md | ||
| shared.py | ||
| state_dict.py | ||
| stream.py | ||
| utils.py | ||