xax 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xax/__init__.py +1 -1
- xax/core/state.py +2 -2
- xax/nn/export.py +2 -2
- {xax-0.2.4.dist-info → xax-0.2.5.dist-info}/METADATA +6 -7
- {xax-0.2.4.dist-info → xax-0.2.5.dist-info}/RECORD +8 -8
- {xax-0.2.4.dist-info → xax-0.2.5.dist-info}/WHEEL +0 -0
- {xax-0.2.4.dist-info → xax-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {xax-0.2.4.dist-info → xax-0.2.5.dist-info}/top_level.txt +0 -0
xax/__init__.py
CHANGED
xax/core/state.py
CHANGED
@@ -89,9 +89,9 @@ class State:
|
|
89
89
|
int32_arr = int32_arr.at[1].set(kwargs["num_valid_steps"])
|
90
90
|
|
91
91
|
if "phase" in kwargs:
|
92
|
-
int32_arr = int32_arr.at[
|
92
|
+
int32_arr = int32_arr.at[2].set(_phase_to_int(kwargs["phase"]))
|
93
93
|
if "_phase" in kwargs:
|
94
|
-
int32_arr = int32_arr.at[
|
94
|
+
int32_arr = int32_arr.at[2].set(kwargs["_phase"])
|
95
95
|
|
96
96
|
if "num_samples" in kwargs:
|
97
97
|
float32_arr = float32_arr.at[0].set(kwargs["num_samples"])
|
xax/nn/export.py
CHANGED
@@ -14,8 +14,8 @@ try:
|
|
14
14
|
from orbax.export import ExportManager, JaxModule, ServingConfig
|
15
15
|
except ImportError as e:
|
16
16
|
raise ImportError(
|
17
|
-
"In order to export models, please install Xax with
|
18
|
-
"using 'xax[
|
17
|
+
"In order to export models, please install Xax with exportable dependencies, "
|
18
|
+
"using 'xax[exportable]` to install the required dependencies."
|
19
19
|
) from e
|
20
20
|
|
21
21
|
logger = logging.getLogger(__name__)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: xax
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.5
|
4
4
|
Summary: A library for fast Jax experimentation
|
5
5
|
Home-page: https://github.com/kscalelabs/xax
|
6
6
|
Author: Benjamin Bolte
|
@@ -31,11 +31,10 @@ Requires-Dist: pytest; extra == "dev"
|
|
31
31
|
Requires-Dist: types-pillow; extra == "dev"
|
32
32
|
Requires-Dist: types-psutil; extra == "dev"
|
33
33
|
Requires-Dist: types-requests; extra == "dev"
|
34
|
-
Provides-Extra:
|
35
|
-
Requires-Dist:
|
36
|
-
Requires-Dist:
|
37
|
-
|
38
|
-
Requires-Dist: flax; extra == "flax"
|
34
|
+
Provides-Extra: exportable
|
35
|
+
Requires-Dist: flax; extra == "exportable"
|
36
|
+
Requires-Dist: orbax-export; extra == "exportable"
|
37
|
+
Requires-Dist: tensorflow; extra == "exportable"
|
39
38
|
Provides-Extra: all
|
40
39
|
Requires-Dist: black; extra == "all"
|
41
40
|
Requires-Dist: darglint; extra == "all"
|
@@ -45,9 +44,9 @@ Requires-Dist: pytest; extra == "all"
|
|
45
44
|
Requires-Dist: types-pillow; extra == "all"
|
46
45
|
Requires-Dist: types-psutil; extra == "all"
|
47
46
|
Requires-Dist: types-requests; extra == "all"
|
47
|
+
Requires-Dist: flax; extra == "all"
|
48
48
|
Requires-Dist: orbax-export; extra == "all"
|
49
49
|
Requires-Dist: tensorflow; extra == "all"
|
50
|
-
Requires-Dist: flax; extra == "all"
|
51
50
|
Dynamic: author
|
52
51
|
Dynamic: description
|
53
52
|
Dynamic: description-content-type
|
@@ -1,14 +1,14 @@
|
|
1
|
-
xax/__init__.py,sha256=
|
1
|
+
xax/__init__.py,sha256=X_QqDNJir1wdsfRY1CU1F4mdCQMlMZnyqPtY8MM1ODU,14225
|
2
2
|
xax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
xax/requirements-dev.txt,sha256=qkscNkFzWd1S5fump-AKH53rR65v2x5FmboFdy_kKvs,128
|
4
4
|
xax/requirements.txt,sha256=6qY-84e-sTmlfJNrSjwONQKqzAn5h8G_oGIhnhmfSr4,302
|
5
5
|
xax/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
xax/core/conf.py,sha256=Wuo5WLRWuRTgb8eaihvnG_NZskTu0-P3JkIcl_hKINM,5124
|
7
|
-
xax/core/state.py,sha256=
|
7
|
+
xax/core/state.py,sha256=yO25lMoLCUTJlHyLzQxlDbsHC_GZ3HkrKAq5huA7AkU,4552
|
8
8
|
xax/nn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
xax/nn/embeddings.py,sha256=bQGxBFxkLwi2MQLkRfGaHPH5P_KKB21HdI7VNWTKIOQ,11847
|
10
10
|
xax/nn/equinox.py,sha256=5fdOKRXqAVZPsV-aEez3i1wamr_oBYnG74GP1jEthjM,4843
|
11
|
-
xax/nn/export.py,sha256=
|
11
|
+
xax/nn/export.py,sha256=pRfM2B4hB2EvljysC6AjtgB_7Cn7JtaP3dhYU2stZtY,5545
|
12
12
|
xax/nn/functions.py,sha256=CI_OmspaQwN9nl4hwefIU3_I7m6gBZwJ9aGK1JGUgr0,2713
|
13
13
|
xax/nn/geom.py,sha256=rImNlkHWeoNcY7f84nknizJ6uzsrMhbAtKeb2xAWxNY,6215
|
14
14
|
xax/nn/losses.py,sha256=Q_NVnm5n4UPBvp5nI_1aUptfXnqFYoUeFwySiyvopHg,272
|
@@ -58,8 +58,8 @@ xax/utils/data/collate.py,sha256=Rd9vMomr_S_zCa_Hi4dO-8ntzAfVwndIUtuXFA3iNcc,706
|
|
58
58
|
xax/utils/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
59
|
xax/utils/types/frozen_dict.py,sha256=ZCMGfSfr2_b2qZbq9ywPD0zej5tpVSId2JftXpwfB5k,4686
|
60
60
|
xax/utils/types/hashable_array.py,sha256=l5iIcFmkYzfGeaZmcSoeFkthFASqM8xJYK3AXhZQYwc,992
|
61
|
-
xax-0.2.
|
62
|
-
xax-0.2.
|
63
|
-
xax-0.2.
|
64
|
-
xax-0.2.
|
65
|
-
xax-0.2.
|
61
|
+
xax-0.2.5.dist-info/licenses/LICENSE,sha256=HCN2bImAzUOXldAZZI7JZ9PYq6OwMlDAP_PpX1HnuN0,1071
|
62
|
+
xax-0.2.5.dist-info/METADATA,sha256=4RBxZF_P0cg-a6QUNS9urvzc4BGGfoedqMrnP0L6Ksk,1879
|
63
|
+
xax-0.2.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
64
|
+
xax-0.2.5.dist-info/top_level.txt,sha256=g4Au_r2XhvZ-lTybviH-Fh9g0zF4DAYHYxPue1-xbs8,4
|
65
|
+
xax-0.2.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|