mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-07-23 11:20:53 -05:00
fix: added a clean exit in ModelLoader::load_tensors if OOM (#1097)
This commit is contained in:
@@ -862,7 +862,7 @@ static bool is_absolute_path(const std::string& p) {
|
||||
|
||||
struct SDGenerationParams {
|
||||
std::string prompt;
|
||||
std::string prompt_with_lora; // for metadata record only
|
||||
std::string prompt_with_lora; // for metadata record only
|
||||
std::string negative_prompt;
|
||||
int clip_skip = -1; // <= 0 represents unspecified
|
||||
int width = 512;
|
||||
|
||||
Reference in New Issue
Block a user