wrap fp8_autocast around all layers for efficient amax aggregation
Global reduction of amax tensors is costly, and TE has an optimization to aggregate amaxes per `fp8_autocast` call for both forward and backward. To make this as efficient as possible, this PR wraps an entire microbatch into `fp8_autocast`.