Skip to content

Commit

Permalink
Remove regex deps from Kauldron
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696600472
  • Loading branch information
Conchylicultor authored and The kauldron Authors committed Nov 14, 2024
1 parent 467ff36 commit 1f99873
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion kauldron/typing/shape_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def Dim(spec_str: str) -> int: # pylint: disable=invalid-name
# try grammar online: https://www.lark-parser.org/ide/#
shape_parser = lark.Lark(
start="shape_spec",
regex=True,
parser="lalr",
grammar=r"""
// shape_spec is a list of dim_specs separated by whitespace
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dependencies = [
"optax",
"orbax-checkpoint",
"pandas",
"regex",
"scikit-image",
"scikit-learn",
"tabulate", # used by pandas.DataFrame.to_markdown (for logging context)
Expand Down

0 comments on commit 1f99873

Please sign in to comment.