mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-27 17:47:52 +08:00
[Bugfix] Add triton.language.tensor placeholder (#25649)
Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai>
This commit is contained in:
parent
7be9ffcd9f
commit
3c2b2ccece
@ -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():
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user