mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-03 10:06:44 +00:00
fix format (#362)
This commit is contained in:
committed by
Frank Lee
parent
a77d73f22b
commit
53bb3bcc0a
@@ -1,10 +1,4 @@
|
||||
# modified from https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/ops/adam/cpu_adam.py
|
||||
|
||||
import math
|
||||
import torch
|
||||
import time
|
||||
from pathlib import Path
|
||||
import colossalai
|
||||
|
||||
|
||||
class CPUAdam(torch.optim.Optimizer):
|
||||
|
Reference in New Issue
Block a user