From 71f829678aec335dac97cb44f255e5eb26544cf8 Mon Sep 17 00:00:00 2001 From: "Wang Haoran(Robin)" Date: Sun, 2 Jul 2023 08:01:19 +0800 Subject: [PATCH] examples/common.h: put all bool variables in gpt_params together --- examples/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common.h b/examples/common.h index 03312365e..96f2228f8 100644 --- a/examples/common.h +++ b/examples/common.h @@ -59,7 +59,7 @@ struct gpt_params { std::string lora_adapter = ""; // lora adapter path std::string lora_base = ""; // base model path for the lora adapter - bool low_vram = 0; // if true, reduce VRAM usage at the cost of performance + bool low_vram = false; // if true, reduce VRAM usage at the cost of performance bool memory_f16 = true; // use f16 instead of f32 for memory kv bool random_prompt = false; // do not randomize prompt if none provided bool use_color = false; // use color to distinguish generations and inputs