Skip to content

Commit

Permalink
add xpu (#3163)
Browse files Browse the repository at this point in the history
  • Loading branch information
faaany authored Oct 31, 2024
1 parent 8159c98 commit b0e5fd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/accelerate/local_sgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(self, accelerator: Accelerator, model: torch.nn.Module, local_sgd_s
DistributedType.NO,
DistributedType.MULTI_CPU,
DistributedType.MULTI_GPU,
DistributedType.MULTI_XPU,
DistributedType.MULTI_MLU,
DistributedType.MULTI_MUSA,
DistributedType.MULTI_NPU,
Expand Down

0 comments on commit b0e5fd3

Please sign in to comment.