Skip to content

Commit

Permalink
refactor: adjust sd h/w limit
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Dec 3, 2024
1 parent 2b439d7 commit 0407f4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ server/images:
--image-max-batch N maximum batch count (default: 4)
--image-max-height N image maximum height, in pixel space, must be larger than 256 and be multiples of 64 (default: 1792)
--image-max-width N image maximum width, in pixel space, must be larger than 256 and be multiples of 64 (default: 1792)
--image-max-width N image maximum width, in pixel space, must be larger than 256 and be multiples of 64 (default: 1024)
--image-guidance N the value of guidance during the computing phase (default: 3.500000)
--image-strength N strength for noising, range of [0.0, 1.0] (default: 0.750000)
--image-sampler TYPE sampler that will be used for generation, automatically retrieve the default value according to --model, select from euler_a;euler;heun;dpm2;dpm++2s_a;dpm++2m;dpm++2mv2;ipndm;ipndm_v;lcm
Expand Down
2 changes: 1 addition & 1 deletion llama-box/stablediffusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
struct stablediffusion_params {
int max_batch_count = 4;
int max_height = 1792;
int max_width = 1792;
int max_width = 1024;
float guidance = 3.5f;
float strength = 0.75f;
sample_method_t sampler = N_SAMPLE_METHODS;
Expand Down

0 comments on commit 0407f4c

Please sign in to comment.