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
c9745ee0
"vscode:/vscode.git/clone" did not exist on "ebc99a77aad647c5d33eb36a33c23f7b3949cb40"
Unverified
Commit
c9745ee0
authored
Feb 24, 2025
by
Lianmin Zheng
Committed by
GitHub
Feb 24, 2025
Browse files
Fix pandas dependency in CI (#3818)
parent
1a6e9757
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+7
-7
scripts/ci_install_dependency.sh
scripts/ci_install_dependency.sh
+1
-1
No files found.
python/sglang/srt/server_args.py
View file @
c9745ee0
...
...
@@ -124,8 +124,8 @@ class ServerArgs:
speculative_draft_model_path
:
Optional
[
str
]
=
None
speculative_algorithm
:
Optional
[
str
]
=
None
speculative_num_steps
:
int
=
5
speculative_num_draft_tokens
:
int
=
64
speculative_eagle_topk
:
int
=
8
speculative_num_draft_tokens
:
int
=
64
# Double Sparsity
enable_double_sparsity
:
bool
=
False
...
...
@@ -719,12 +719,6 @@ class ServerArgs:
help
=
"The number of steps sampled from draft model in Speculative Decoding."
,
default
=
ServerArgs
.
speculative_num_steps
,
)
parser
.
add_argument
(
"--speculative-num-draft-tokens"
,
type
=
int
,
help
=
"The number of token sampled from draft model in Speculative Decoding."
,
default
=
ServerArgs
.
speculative_num_draft_tokens
,
)
parser
.
add_argument
(
"--speculative-eagle-topk"
,
type
=
int
,
...
...
@@ -732,6 +726,12 @@ class ServerArgs:
choices
=
[
1
,
2
,
4
,
8
],
default
=
ServerArgs
.
speculative_eagle_topk
,
)
parser
.
add_argument
(
"--speculative-num-draft-tokens"
,
type
=
int
,
help
=
"The number of token sampled from draft model in Speculative Decoding."
,
default
=
ServerArgs
.
speculative_num_draft_tokens
,
)
# Double Sparsity
parser
.
add_argument
(
...
...
scripts/ci_install_dependency.sh
View file @
c9745ee0
...
...
@@ -20,7 +20,7 @@ pip install flashinfer_python==0.2.1.post2 --find-links ${FLASHINFER_REPO} --for
pip
install
torch_memory_saver
--force-reinstall
pip
install
transformers
==
4.45.2 sentence_transformers accelerate peft
pip
install
transformers
==
4.45.2 sentence_transformers accelerate peft
pandas datasets
# For compling xgrammar kernels
pip
install
cuda-python nvidia-cuda-nvrtc-cu12
...
...
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