Skip to content

Commit

Permalink
Try fix test error by reverting adding type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaka14732 committed Jun 11, 2024
1 parent a05851f commit f46d41f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jax/_src/compilation_cache_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import annotations

from abc import abstractmethod

from jax._src import path as pathlib
Expand All @@ -24,9 +22,9 @@ class CacheInterface(util.StrictABC):
_path: pathlib.Path

@abstractmethod
def get(self, key: str) -> bytes | None:
def get(self, key: str):
pass

@abstractmethod
def put(self, key: str, value: bytes) -> None:
def put(self, key: str, value: bytes):
pass

0 comments on commit f46d41f

Please sign in to comment.