[bugfix] Fix sparse_optim when the state is stored on the CPU (fixes #2760) (#3013)
* Fix sparse optimizer to wait on copies to the CPU
* Fix linting
* Fix typo
Co-authored-by:
xiang song(charlie.song) <classicxsong@gmail.com>
Showing
Please register or sign in to comment