Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/array_api_compat/torch/_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"""
import torch

from functools import cache

class __array_namespace_info__:
"""
Expand Down Expand Up @@ -249,7 +248,6 @@ def _dtypes(self, kind):
return res
raise ValueError(f"unsupported kind: {kind!r}")

@cache
def dtypes(self, *, device=None, kind=None):
"""
The array API data types supported by PyTorch.
Expand Down Expand Up @@ -313,7 +311,6 @@ def dtypes(self, *, device=None, kind=None):
del res[k]
return res

@cache
def devices(self):
"""
The devices supported by PyTorch.
Expand Down
Loading