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
6ecba840
Unverified
Commit
6ecba840
authored
Mar 22, 2026
by
Andreas Karatzas
Committed by
GitHub
Mar 22, 2026
Browse files
[ROCm][CI] get_cu_count was renamed to num_compute_units in #35042 (#37764)
Signed-off-by:
Andreas Karatzas
<
akaratza@amd.com
>
parent
3b06c55c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/model_executor/layers/test_rocm_unquantized_gemm.py
tests/model_executor/layers/test_rocm_unquantized_gemm.py
+3
-3
No files found.
tests/model_executor/layers/test_rocm_unquantized_gemm.py
View file @
6ecba840
...
@@ -26,7 +26,7 @@ def test_rocm_unquantized_gemm_gfx1x_wvsplitk_path(monkeypatch):
...
@@ -26,7 +26,7 @@ def test_rocm_unquantized_gemm_gfx1x_wvsplitk_path(monkeypatch):
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
True
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
True
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
False
)
monkeypatch
.
setattr
(
utils
,
"
get_cu_count
"
,
lambda
:
120
)
monkeypatch
.
setattr
(
utils
,
"
num_compute_units
"
,
lambda
:
120
)
wvsplitk_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
wvsplitk_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitK"
,
wvsplitk_mock
)
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitK"
,
wvsplitk_mock
)
...
@@ -50,7 +50,7 @@ def test_rocm_unquantized_gemm_gfx1x_n_gt_4_falls_back(monkeypatch):
...
@@ -50,7 +50,7 @@ def test_rocm_unquantized_gemm_gfx1x_n_gt_4_falls_back(monkeypatch):
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
True
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
True
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
False
)
monkeypatch
.
setattr
(
utils
,
"
get_cu_count
"
,
lambda
:
120
)
monkeypatch
.
setattr
(
utils
,
"
num_compute_units
"
,
lambda
:
120
)
wvsplitk_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
wvsplitk_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitK"
,
wvsplitk_mock
)
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitK"
,
wvsplitk_mock
)
...
@@ -74,7 +74,7 @@ def test_rocm_unquantized_gemm_gfx950_wvsplitkrc_path(monkeypatch):
...
@@ -74,7 +74,7 @@ def test_rocm_unquantized_gemm_gfx950_wvsplitkrc_path(monkeypatch):
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx1x"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx9"
,
lambda
:
False
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
True
)
monkeypatch
.
setattr
(
"vllm.platforms.rocm.on_gfx950"
,
lambda
:
True
)
monkeypatch
.
setattr
(
utils
,
"
get_cu_count
"
,
lambda
:
120
)
monkeypatch
.
setattr
(
utils
,
"
num_compute_units
"
,
lambda
:
120
)
wvsplitkrc_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
wvsplitkrc_mock
=
MagicMock
(
side_effect
=
lambda
w
,
x_view
,
_
,
__
:
x_view
@
w
.
t
())
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitKrc"
,
wvsplitkrc_mock
)
monkeypatch
.
setattr
(
utils
.
ops
,
"wvSplitKrc"
,
wvsplitkrc_mock
)
...
...
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