From 8a7d53d838e12ee1ef36daf9f162c229a2e4f92c Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:27:39 +0800 Subject: [PATCH] declutter sdcpp adapter removed useless string literals --- otherarch/sdcpp/sdtype_adapter.cpp | 36 ------------------------------ 1 file changed, 36 deletions(-) diff --git a/otherarch/sdcpp/sdtype_adapter.cpp b/otherarch/sdcpp/sdtype_adapter.cpp index c45359d93..3e31c375a 100644 --- a/otherarch/sdcpp/sdtype_adapter.cpp +++ b/otherarch/sdcpp/sdtype_adapter.cpp @@ -34,42 +34,6 @@ // #define STB_IMAGE_RESIZE_IMPLEMENTATION //already defined in llava #include "stb_image_resize.h" -const char* rng_type_to_str[] = { - "std_default", - "cuda", -}; - -// Names of the sampler method, same order as enum sample_method in stable-diffusion.h -const char* sample_method_str[] = { - "euler_a", - "euler", - "heun", - "dpm2", - "dpm++2s_a", - "dpm++2m", - "dpm++2mv2", - "ipndm", - "ipndm_v", - "lcm", -}; - -// Names of the sigma schedule overrides, same order as sample_schedule in stable-diffusion.h -const char* schedule_str[] = { - "default", - "discrete", - "karras", - "exponential", - "ays", - "gits", -}; - -const char* modes_str[] = { - "txt2img", - "img2img", - "img2vid", - "convert", -}; - enum SDMode { TXT2IMG, IMG2IMG,