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
ad50bf4b
Commit
ad50bf4b
authored
Mar 15, 2024
by
simon-mo
Browse files
fix lint
parent
cf6ff182
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.github/workflows/ruff.yml
.github/workflows/ruff.yml
+1
-1
tests/kernels/test_prefix_prefill.py
tests/kernels/test_prefix_prefill.py
+2
-2
No files found.
.github/workflows/ruff.yml
View file @
ad50bf4b
tests/kernels/test_prefix_prefill.py
View file @
ad50bf4b
...
@@ -36,8 +36,8 @@ def test_contexted_kv_attention(
...
@@ -36,8 +36,8 @@ def test_contexted_kv_attention(
torch
.
cuda
.
manual_seed
(
0
)
torch
.
cuda
.
manual_seed
(
0
)
torch
.
set_default_device
(
device
)
torch
.
set_default_device
(
device
)
# Need this, otherwise when we capture the graph the process for GPU 1 would
run on both
# Need this, otherwise when we capture the graph the process for GPU 1 would
# GPU0 and GPU1 and things would hang
#
run on both
GPU0 and GPU1 and things would hang
#
#
# see also similar issue: https://github.com/Dao-AILab/flash-attention/issues/523
# see also similar issue: https://github.com/Dao-AILab/flash-attention/issues/523
torch
.
cuda
.
set_device
(
device
)
torch
.
cuda
.
set_device
(
device
)
...
...
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