* [backport] Make sure input numpy array is aligned. (#8690)
- use `np.require` to specify that the alignment is required.
- scipy csr as well.
- validate input pointer in `ArrayInterface`.
* Workaround CUDA warning. (#8696)
* backport from half type support for alignment.
* fix import.