stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

move parameters enums as separate headers

Open piallai opened this issue 1 year ago • 1 comments

  • rng_type_t, sample_method_t, schedule_t, sd_type_t can be included without including the whole stable-diffusion.h file
  • SDMode and SDParams are set in separate headers to highlight the main parameters of the API

piallai avatar Apr 03 '24 19:04 piallai

Thank you for your contribution. But as a C-style api header file, stable-diffusion.h should be kept as simple as possible, using only one file, so I don't think these changes are necessary.

leejet avatar Apr 06 '24 08:04 leejet