Skip to content

Commit

Permalink
add the missing method (#4363)
Browse files Browse the repository at this point in the history
Co-authored-by: Olatunji Ruwase <[email protected]>
  • Loading branch information
cli99 and tjruwase authored Sep 20, 2023
1 parent c581464 commit 727609d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accelerator/mps_accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ def is_bf16_supported(self):
def is_fp16_supported(self):
return False

def supported_dtypes(self):
return [torch.float]

# Misc
def amp(self):
return
Expand Down

0 comments on commit 727609d

Please sign in to comment.