We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0440bdd commit 1ff027dCopy full SHA for 1ff027d
torchsnapshot/serialization.py
@@ -226,7 +226,6 @@ def _tensor_as_memoryview_via_untyped_storage(tensor: torch.Tensor) -> memoryvie
226
return memoryview(tensor.numpy()).cast("b")
227
228
229
-# pyre-ignore[11]
230
def contiguous_view_as_untyped_storage(tensor: torch.Tensor) -> UntypedStorage:
231
if not tensor.is_contiguous():
232
raise AssertionError(
torchsnapshot/uvm_tensor.py
@@ -13,6 +13,7 @@
13
_UVM_TENSOR_AVAILABLE = False
14
15
try:
16
+ # pyre-fixme[21]: Could not find module `fbgemm_gpu`.
17
import fbgemm_gpu # @manual # noqa
18
except Exception:
19
pass
0 commit comments