mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-03 14:41:58 +08:00
[Bugfix] Add triton.language.tensor placeholder (#25649)
Signed-off-by: Agata Dobrzyniewicz <adobrzyniewicz@habana.ai> Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
fd28c58825
commit
034c0152db
@ -69,6 +69,8 @@ def test_triton_placeholder_language():
|
||||
assert lang.constexpr is None
|
||||
assert lang.dtype is None
|
||||
assert lang.int64 is None
|
||||
assert lang.int32 is None
|
||||
assert lang.tensor is None
|
||||
|
||||
|
||||
def test_triton_placeholder_language_from_parent():
|
||||
|
||||
@ -93,3 +93,4 @@ class TritonLanguagePlaceholder(types.ModuleType):
|
||||
self.dtype = None
|
||||
self.int64 = None
|
||||
self.int32 = None
|
||||
self.tensor = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user