Implement a learning rate schedule that combines linear warmup and cosine decay. For the first W steps, the learning rate should increase linearly from 0 to a maximum learning rate (lr_max). After the warmup phase, the learning rate should decay following a cosine annealing schedule until it reaches a minimum learning rate (lr_min) at step T. Return a list of learning rates for each of the T total training steps.