"...git@developer.sourcefind.cn:modelzoo/pasd_pytorch.git" did not exist on "d7c40c9a1be0c64234b259a745bd81ecd9f1eb59"
Commit 1dcaf249 authored by ppt0011's avatar ppt0011
Browse files

[doc] add reminder for issue encountered with hybrid adam

parent fdec650b
......@@ -77,6 +77,7 @@ class CPUAdam(NVMeOptimizer):
super(CPUAdam, self).__init__(model_params, default_args, nvme_offload_fraction, nvme_offload_dir)
self.adamw_mode = adamw_mode
cpu_adam = CPUAdamBuilder().load()
# if you find yourself stuck here, make sure that you install colossalai with CUDA_EXT=1 specification
self.cpu_adam_op = cpu_adam.CPUAdamOptimizer(lr, betas[0], betas[1], eps, weight_decay, adamw_mode)
def torch_adam_update(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment