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
01220ce8
Unverified
Commit
01220ce8
authored
Jun 19, 2025
by
Li, Jiang
Committed by
GitHub
Jun 19, 2025
Browse files
[CI][CPU] Improve dummy Triton interfaces and fix the CPU CI (#19838)
Signed-off-by:
jiang1.li
<
jiang1.li@intel.com
>
parent
6f68c492
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
requirements/cpu.txt
requirements/cpu.txt
+0
-3
vllm/triton_utils/importing.py
vllm/triton_utils/importing.py
+2
-0
No files found.
requirements/cpu.txt
View file @
01220ce8
...
@@ -21,9 +21,6 @@ torchvision; platform_machine != "ppc64le" and platform_machine != "s390x"
...
@@ -21,9 +21,6 @@ torchvision; platform_machine != "ppc64le" and platform_machine != "s390x"
torchvision==0.22.0; platform_machine == "ppc64le"
torchvision==0.22.0; platform_machine == "ppc64le"
datasets # for benchmark scripts
datasets # for benchmark scripts
# cpu cannot use triton 3.3.0
triton==3.2.0; platform_machine == "x86_64"
# Intel Extension for PyTorch, only for x86_64 CPUs
# Intel Extension for PyTorch, only for x86_64 CPUs
intel-openmp==2024.2.1; platform_machine == "x86_64"
intel-openmp==2024.2.1; platform_machine == "x86_64"
intel_extension_for_pytorch==2.7.0; platform_machine == "x86_64"
intel_extension_for_pytorch==2.7.0; platform_machine == "x86_64"
...
...
vllm/triton_utils/importing.py
View file @
01220ce8
...
@@ -68,9 +68,11 @@ class TritonPlaceholder(types.ModuleType):
...
@@ -68,9 +68,11 @@ class TritonPlaceholder(types.ModuleType):
def
__init__
(
self
):
def
__init__
(
self
):
super
().
__init__
(
"triton"
)
super
().
__init__
(
"triton"
)
self
.
__version__
=
"3.3.0"
self
.
jit
=
self
.
_dummy_decorator
(
"jit"
)
self
.
jit
=
self
.
_dummy_decorator
(
"jit"
)
self
.
autotune
=
self
.
_dummy_decorator
(
"autotune"
)
self
.
autotune
=
self
.
_dummy_decorator
(
"autotune"
)
self
.
heuristics
=
self
.
_dummy_decorator
(
"heuristics"
)
self
.
heuristics
=
self
.
_dummy_decorator
(
"heuristics"
)
self
.
Config
=
self
.
_dummy_decorator
(
"Config"
)
self
.
language
=
TritonLanguagePlaceholder
()
self
.
language
=
TritonLanguagePlaceholder
()
logger
.
warning_once
(
logger
.
warning_once
(
"Triton is not installed. Using dummy decorators. "
"Triton is not installed. Using dummy decorators. "
...
...
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