How to use warmup lr+CosineAnnealingLR in Lightning

You can use the configure_optimizers method to implement it in Lightning.