mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE] Remove macos-13 guard from bench_mps_ops (#159732)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/159732 Approved by: https://github.com/dcci ghstack dependencies: #159731
This commit is contained in:
committed by
PyTorch MergeBot
parent
fecdebe385
commit
5116c49b52
@ -154,9 +154,7 @@ def bench_scan(
|
||||
|
||||
|
||||
def main() -> None:
|
||||
dtypes = [torch.float16, torch.float32]
|
||||
if torch.backends.mps.is_macos_or_newer(14, 0):
|
||||
dtypes.append(torch.bfloat16)
|
||||
dtypes = [torch.float16, torch.float32, torch.bfloat16]
|
||||
|
||||
# Profile index ops
|
||||
B = 11
|
||||
|
Reference in New Issue
Block a user