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
e61d13ac
Unverified
Commit
e61d13ac
authored
Aug 24, 2024
by
Ying Sheng
Committed by
GitHub
Aug 24, 2024
Browse files
[CI] Fix the problem of hf runner too slow (#1202)
parent
b20daf98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
python/sglang/test/runners.py
python/sglang/test/runners.py
+0
-2
No files found.
python/sglang/test/runners.py
View file @
e61d13ac
...
...
@@ -86,7 +86,6 @@ class HFRunner:
self
.
tokenizer
=
AutoTokenizer
.
from_pretrained
(
model_path
,
torch_dtype
=
torch_dtype
,
trust_remote_code
=
True
,
)
self
.
is_generation_model
=
is_generation_model
...
...
@@ -96,7 +95,6 @@ class HFRunner:
model_path
,
torch_dtype
=
torch_dtype
,
low_cpu_mem_usage
=
True
,
trust_remote_code
=
True
,
).
cuda
()
else
:
from
sentence_transformers
import
SentenceTransformer
...
...
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