Skip to content

Commit 902429f

Browse files
committed
formatting
1 parent e74e86f commit 902429f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ def setup_lora(self):
189189

190190
# Check if `enable_lora` field is in the `model.json`,
191191
# and if it is, read its contents, which can be string or bool.
192-
if "enable_lora" in self.vllm_engine_config.keys() and str(self.vllm_engine_config["enable_lora"]).lower() == "true":
192+
if (
193+
"enable_lora" in self.vllm_engine_config.keys()
194+
and str(self.vllm_engine_config["enable_lora"]).lower() == "true"
193195
):
194196
# create Triton LoRA weights repository
195197
multi_lora_args_filepath = os.path.join(

0 commit comments

Comments
 (0)