Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mlir-tensorrt version to 0.1.38 #431

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tripy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ requires-python = ">= 3.9"
license = {text = "Apache 2.0"}
dependencies = [
"tensorrt~=10.0",
"mlir-tensorrt-compiler==0.1.37+cuda12.trt102",
"mlir-tensorrt-runtime==0.1.37+cuda12.trt102",
"mlir-tensorrt-compiler==0.1.38+cuda12.trt105",
"mlir-tensorrt-runtime==0.1.38+cuda12.trt105",
"colored==2.2.3",
]

Expand Down
2 changes: 1 addition & 1 deletion tripy/tripy/frontend/ops/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@constraints.dtypes(
constraints={"tensors": "T1", constraints.RETURN_VALUE: "T1"},
variables={
"T1": ["float32", "float16", "bfloat16", "float8", "int4", "int8", "int32", "int64", "bool"],
"T1": ["float32", "float16", "bfloat16", "int4", "int8", "int32", "int64", "bool"],
},
)
def stack(tensors: Sequence["tripy.Tensor"], dim: int = 0) -> "tripy.Tensor":
Expand Down
4 changes: 2 additions & 2 deletions tripy/tripy/frontend/trace/ops/binary_elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def __rfloordiv__(self: "tripy.Tensor", other: TensorLike) -> "tripy.Tensor":
@frontend_utils.convert_to_tensors()
@constraints.dtypes(
constraints={"self": "T1", "other": "T1", constraints.RETURN_VALUE: "T1"},
variables={"T1": ["float32", "float16", "bfloat16", "float8"]},
variables={"T1": ["float32", "float16", "bfloat16"]},
)
def __mod__(self: "tripy.Tensor", other: TensorLike) -> "tripy.Tensor":
"""
Expand Down Expand Up @@ -543,7 +543,7 @@ def __mod__(self: "tripy.Tensor", other: TensorLike) -> "tripy.Tensor":
@frontend_utils.convert_to_tensors()
@constraints.dtypes(
constraints={"self": "T1", "other": "T1", constraints.RETURN_VALUE: "T1"},
variables={"T1": ["float32", "float16", "bfloat16", "float8"]},
variables={"T1": ["float32", "float16", "bfloat16"]},
)
def __rmod__(self: "tripy.Tensor", other: TensorLike) -> "tripy.Tensor":
"""
Expand Down
2 changes: 1 addition & 1 deletion tripy/tripy/frontend/trace/ops/concatenate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def to_flat_ir(self, inputs, outputs):
@constraints.dtypes(
constraints={"tensors": "T1", constraints.RETURN_VALUE: "T1"},
variables={
"T1": ["float32", "float16", "bfloat16", "float8", "int4", "int8", "int32", "int64", "bool"],
"T1": ["float32", "float16", "bfloat16", "int4", "int8", "int32", "int64", "bool"],
},
)
def concatenate(tensors: Sequence["tripy.Tensor"], dim: int) -> "tripy.Tensor":
Expand Down