1. A method, comprising: receiving a matrix from a host via a host interface of a data storage device, the host comprising a central processing unit and the data storage device comprising a local processor separate from the central processing unit of the host; selecting a compressed format for storage of the matrix based on a computation to be performed using the matrix and architectures of a computation unit of the storage compute device and the non-volatile memory to which the matrix is stored; storing data of the matrix on the non-volatile memory of the storage compute device according to the compressed format; and performing the computation using the data via a computation unit that resides within the storage compute device.