Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
aa389394
"vscode:/vscode.git/clone" did not exist on "53d7f1f601a12b8fa58aa0bffb7fc27d63d1eb5e"
Commit
aa389394
authored
Nov 19, 2024
by
zhuwenwen
Browse files
update torch version
parent
3bb51ca2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
requirements-rocm.txt
requirements-rocm.txt
+1
-1
tests/entrypoints/openai/test_oot_registration.py
tests/entrypoints/openai/test_oot_registration.py
+2
-2
No files found.
requirements-rocm.txt
View file @
aa389394
...
...
@@ -11,7 +11,7 @@ pytest-asyncio
tensorizer>=2.9.0
setuptools_scm>=8
torch == 2.4.
0
torch == 2.4.
1
triton == 3.0.0
flash_attn == 2.6.1
lmslim == 0.2.0
\ No newline at end of file
tests/entrypoints/openai/test_oot_registration.py
View file @
aa389394
...
...
@@ -10,7 +10,7 @@ def run_and_test_dummy_opt_api_server(model, tp=1):
"--gpu-memory-utilization"
,
"0.10"
,
"--dtype"
,
"float32"
,
"float16"
,
#
"float32",
"--chat-template"
,
str
(
chatml_jinja_path
),
"--load-format"
,
...
...
@@ -33,7 +33,7 @@ def run_and_test_dummy_opt_api_server(model, tp=1):
)
generated_text
=
completion
.
choices
[
0
].
message
.
content
assert
generated_text
is
not
None
# make sure only the first token is generated
# make sure only the first token is generated
vim
rest
=
generated_text
.
replace
(
"<s>"
,
""
)
assert
rest
==
""
...
...
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