Skip to content

Commit 54466f6

Browse files
committed
change ad_util const name
1 parent 1f1bd9c commit 54466f6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: autofd/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ def scale_by_learning_rate(
6060
"operators",
6161
]
6262

63-
__version__ = "0.0.6" # noqa
63+
__version__ = "0.0.7" # noqa

Diff for: autofd/operators/operators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,8 @@ def add_values(*args):
11961196
return fs[0]
11971197

11981198

1199-
ad_util.jaxval_adders[types.FunctionType] = add
1200-
ad_util.jaxval_adders[function] = add
1199+
ad_util.raw_jaxval_adders[types.FunctionType] = add
1200+
ad_util.raw_jaxval_adders[function] = add
12011201

12021202
array_operators = {
12031203
"neg": lambda x: numpy.negative(x), # noqa

Diff for: setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ignore = E731
2222

2323
[metadata]
2424
name = autofd
25-
version = 0.0.6
25+
version = 0.0.7
2626
author = "Min Lin"
2727
author_email = "[email protected]"
2828
description = "Automatic Functional Derivative in JAX"
@@ -38,7 +38,7 @@ classifiers =
3838
packages = find:
3939
python_requires = >=3.9
4040
install_requires =
41-
jax>=0.4.16
41+
jax>=0.4.24
4242
jaxtyping>=0.2.21
4343

4444
[options.packages.find]

0 commit comments

Comments
 (0)