Skip to content

Commit

Permalink
Merge branch 'main' into amyachev/pytorch-prof
Browse files Browse the repository at this point in the history
  • Loading branch information
anmyachev authored Sep 30, 2024
2 parents 7c8d387 + 750b769 commit 41ff471
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pins/pytorch-upstream.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
190e09d8b6a13f789b143f0fbd1325f924550967
0a2685160140656e3e53818611dd2c65c4397be5
1 change: 0 additions & 1 deletion scripts/patch-pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ cd "$REPO_ROOT"

curl -sSL https://github.com/pytorch/pytorch/pull/126516.diff | git apply -
curl -sSL https://github.com/pytorch/pytorch/pull/126456.diff | git apply -
curl -sSL https://github.com/pytorch/pytorch/pull/136761.diff | git apply -
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ bool shouldRemove(tt::MakeTensorPtrOp &op, bool isUsedByStoreOp) {
TypedValue<triton::PointerType> base = op.getBase();
Operation::operand_range shape = op.getShape();
unsigned rank = shape.size();
assert(rank > 1 && "Expecting tensor with rank > 1");
Operation::operand_range strides = op.getStrides();
Operation::operand_range offsets = op.getOffsets();
ArrayRef<int32_t> order = op.getOrder();
Expand Down

0 comments on commit 41ff471

Please sign in to comment.