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
3c2b2cce
Unverified
Commit
3c2b2cce
authored
Sep 25, 2025
by
Agata Dobrzyniewicz
Committed by
GitHub
Sep 25, 2025
Browse files
[Bugfix] Add triton.language.tensor placeholder (#25649)
Signed-off-by:
Agata Dobrzyniewicz
<
adobrzyniewicz@habana.ai
>
parent
7be9ffcd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
tests/test_triton_utils.py
tests/test_triton_utils.py
+2
-0
vllm/triton_utils/importing.py
vllm/triton_utils/importing.py
+1
-0
No files found.
tests/test_triton_utils.py
View file @
3c2b2cce
...
@@ -69,6 +69,8 @@ def test_triton_placeholder_language():
...
@@ -69,6 +69,8 @@ def test_triton_placeholder_language():
assert
lang
.
constexpr
is
None
assert
lang
.
constexpr
is
None
assert
lang
.
dtype
is
None
assert
lang
.
dtype
is
None
assert
lang
.
int64
is
None
assert
lang
.
int64
is
None
assert
lang
.
int32
is
None
assert
lang
.
tensor
is
None
def
test_triton_placeholder_language_from_parent
():
def
test_triton_placeholder_language_from_parent
():
...
...
vllm/triton_utils/importing.py
View file @
3c2b2cce
...
@@ -93,3 +93,4 @@ class TritonLanguagePlaceholder(types.ModuleType):
...
@@ -93,3 +93,4 @@ class TritonLanguagePlaceholder(types.ModuleType):
self
.
dtype
=
None
self
.
dtype
=
None
self
.
int64
=
None
self
.
int64
=
None
self
.
int32
=
None
self
.
int32
=
None
self
.
tensor
=
None
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