Comments (4)
Shouldn't they be multiples of 8?
504x520 is a valid dimension in other SD pipelines.
The sd diffusion process run in the latent space of 1/8 of the width and height. In addition, unet will downsample the middle layer to 1/8 during the operation, so in fact the middle layer size will be 1/64 of width and height, which is why sd.cpp requires width and height to be multiples of 64.
If "sd" were to scale the latent space to a multiple of 8 before U-Net computation and then restore it to its original size afterward, it would indeed allow input widths and heights to be multiples of 8. However, I have not implemented it yet.
from stable-diffusion.cpp.
The height and width should be multiples of 64. I have updated the prompt for the command line parameters
from stable-diffusion.cpp.
The height and width should be multiples of 64. I have updated the prompt for the command line parameters
Nice workπ
from stable-diffusion.cpp.
Shouldn't they be multiples of 8?
504x520 is a valid dimension in other SD pipelines.
from stable-diffusion.cpp.
Related Issues (20)
- txt2img can not be called multiple times. HOT 4
- Lora broken output HOT 18
- Different input, output VAE separately
- --steps 0
- Be careful posting anime pictures! HOT 1
- Inference bottleneck HOT 11
- Suggestion: simple one-call function to make stable-diffusion.dll accessible for newbie coders
- Split the api to support comfyui like workflow
- memsize was hardcoded in preprocess_canny function
- Macos binary is using an absolute library path HOT 1
- Vulkan support HOT 1
- [Feature Request] Enable Flash Attention in the released binary
- Enabling Flash Attention completely breaks prompt following ("Dog" and "Cat" generates identical image)
- [Feature Request] Support for SDXS-512, allowing for real-time image generation on the CPU (~0.6 seconds per image)
- Much higher RAM usage (2-3 times) compared to FastSDCPU when using the exact same models/settings HOT 2
- Any GUI / webui for this? HOT 3
- Access GPU data of result
- Error when compile with latest GGML: ggml_quantize_chunk HOT 1
- Fixed random generator HOT 2
- TTI(Text 2 Image) inference using stable-diffusion.cpp doesn't work properly on Android phone HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion.cpp.