DeepSpeed
96393f56 - Update linear.py compatible with torch 2.4.0 (#5811)

Commit
1 year ago
Update linear.py compatible with torch 2.4.0 (#5811) deepspeed/runtime/zero/linear.py:67: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead. Fixes: #5682 --------- Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com> Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>
Parents
Loading