Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: RooflineAI/iree-turbine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 617955104cc68c497625c8bd0eddef942af0a2bc
Choose a base ref
..
head repository: RooflineAI/iree-turbine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee590c4c7fdc35b701edb01ee7b274ad6ea22528
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 iree/turbine/aot/support/ir_utils.py
2 changes: 1 addition & 1 deletion iree/turbine/aot/support/ir_utils.py
Original file line number Diff line number Diff line change
@@ -324,7 +324,7 @@ def create_tensor_global(
)
else:
# Emit inline initialized.
contents = torch.to_dlpack(t)
contents = torch.utils.dlpack.to_dlpack(t)
blob_name = symbol_name
elements_attr = DenseResourceElementsAttr.get_from_buffer(
contents, blob_name, tensor_type