Unverified Commit df2cf583 authored by vzed's avatar vzed Committed by GitHub
Browse files

we fix the non existent access of `decrypted_config_file` (#5685)

parent 133ded03
...@@ -1362,10 +1362,7 @@ def auto_choose_speculative_params(self: ServerArgs): ...@@ -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 You can tune them on your own models and prompts with scripts/playground/bench_speculative.py
""" """
if self.decrypted_config_file: config_path = os.path.join(self.model_path, "config.json")
config_path = self.decrypted_config_file
else:
config_path = os.path.join(self.model_path, "config.json")
if not os.path.exists(config_path): if not os.path.exists(config_path):
raise ValueError(f"{config_path} is not found.") raise ValueError(f"{config_path} is not found.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment