Skip to content

Commit 1ff027d

Browse files
generatedunixname89002005307016facebook-github-bot
authored andcommitted
Convert .pyre_configuration.local to fast by default architecture] [batch:67/72] [shard:2/N] [A]
Reviewed By: connernilsen Differential Revision: D63910426 fbshipit-source-id: f4b4e06b3aeef8038e28ad359c386bfb06bf34b2
1 parent 0440bdd commit 1ff027d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

torchsnapshot/serialization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def _tensor_as_memoryview_via_untyped_storage(tensor: torch.Tensor) -> memoryvie
226226
return memoryview(tensor.numpy()).cast("b")
227227

228228

229-
# pyre-ignore[11]
230229
def contiguous_view_as_untyped_storage(tensor: torch.Tensor) -> UntypedStorage:
231230
if not tensor.is_contiguous():
232231
raise AssertionError(

torchsnapshot/uvm_tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
_UVM_TENSOR_AVAILABLE = False
1414

1515
try:
16+
# pyre-fixme[21]: Could not find module `fbgemm_gpu`.
1617
import fbgemm_gpu # @manual # noqa
1718
except Exception:
1819
pass

0 commit comments

Comments
 (0)