Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
df2cf583
Unverified
Commit
df2cf583
authored
Apr 26, 2025
by
vzed
Committed by
GitHub
Apr 26, 2025
Browse files
we fix the non existent access of `decrypted_config_file` (#5685)
parent
133ded03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+1
-4
No files found.
python/sglang/srt/server_args.py
View file @
df2cf583
...
@@ -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."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment