Skip to content

Commit

Permalink
do not require JAX for build...
Browse files Browse the repository at this point in the history
  • Loading branch information
kach committed Aug 17, 2024
1 parent 4d2befc commit ce7ebbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion memo/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import textwrap
import os, sys, platform, inspect
from io import StringIO
import jax
from typing import Any

def codegen(
Expand Down Expand Up @@ -127,6 +126,9 @@ def memo(f=None, **kwargs): # type: ignore
"[We think this may be a bug in memo: if you don't understand what is going on, please get in touch with us!]"
)
e.add_note("")

# Describe environment...
import jax
e.add_note(f" P.S.: You are currently using...")
e.add_note(f" + memo version {__version__} and JAX version {jax.__version__}")
e.add_note(f" + on Python version {platform.python_version()} on the {platform.system()} platform")
Expand Down

0 comments on commit ce7ebbc

Please sign in to comment.