Skip unnecessary assertions and enable non-blocking data transfers (#195)
* Uses the `trust_data` invariant to skip blocking assertions, when unnecessary, during construction of `SparseStorage` objects. * Refactors the dtype and device transfer APIs to align with `torch.Tensor` while maintaining backward compatibility. * No longer constructs dummy tensors when changing dtype or device.
Showing
Please register or sign in to comment