Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions python/sglang/srt/server_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down
Loading