From df2cf583ce4f89fbe56d32d26954f5cb057d825c Mon Sep 17 00:00:00 2001 From: vzed <207368749+vincentzed@users.noreply.github.com> Date: Sat, 26 Apr 2025 21:32:37 -0400 Subject: [PATCH] we fix the non existent access of `decrypted_config_file` (#5685) --- python/sglang/srt/server_args.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/sglang/srt/server_args.py b/python/sglang/srt/server_args.py index 787cbad0e..b8a5c8790 100644 --- a/python/sglang/srt/server_args.py +++ b/python/sglang/srt/server_args.py @@ -1362,10 +1362,7 @@ def auto_choose_speculative_params(self: ServerArgs): You can tune them on your own models and prompts with scripts/playground/bench_speculative.py """ - if self.decrypted_config_file: - config_path = self.decrypted_config_file - else: - config_path = os.path.join(self.model_path, "config.json") + config_path = os.path.join(self.model_path, "config.json") if not os.path.exists(config_path): raise ValueError(f"{config_path} is not found.")