[test] add no master test for low level zero plugin (#4934)

This commit is contained in:
Zhongkai Zhao
2023-10-18 11:41:23 +08:00
committed by GitHub
parent 1f5d2e8062
commit c7aa319ba0
2 changed files with 9 additions and 3 deletions

View File

@@ -9,7 +9,8 @@ from .nvme_optimizer import NVMeOptimizer
class CPUAdam(NVMeOptimizer):
"""Implements Adam algorithm.
"""
Implements Adam algorithm.
Supports parameters updating on both GPU and CPU, depending on the device of parameters.
But the parameters and gradients should on the same device: