Skip to content

Commit 3b0dd33

Browse files
zhxchen17facebook-github-bot
authored andcommitted
Revert D54553809: Serialize storage_offset in sym int.
Differential Revision: D54553809 Original commit changeset: cf6025f6995e Original Phabricator Diff: D54553809 fbshipit-source-id: 295b2d9476aae5943b80b3af7e2f089a8406b92a
1 parent c0167c5 commit 3b0dd33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export-D54553770
1+
f5b99976adcbb01fd71bd0a39ea15bdac6c9e48a

exir/serde/export_serialize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def serialize_tensor_meta(t: torch.Tensor) -> TensorMeta:
220220
requires_grad=t.requires_grad,
221221
device=Device(type=t.device.type, index=t.device.index),
222222
strides=[serialize_sym_int(s) for s in t.stride()],
223-
storage_offset=serialize_sym_int(0),
223+
storage_offset=0,
224224
layout=_TORCH_TO_SERIALIZE_LAYOUT[t.layout],
225225
)
226226

0 commit comments

Comments
 (0)