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 ac14d92 commit acc9889Copy full SHA for acc9889
torchao/prototype/moe_training/tensor.py
@@ -64,7 +64,7 @@ def __init__(
64
tensor: torch.Tensor,
65
dtype: torch.dtype,
66
):
67
- self._data = tensor
+ self._data = tensor.to(dtype)
68
self._dtype = dtype
69
70
@classmethod
0 commit comments