File tree Expand file tree Collapse file tree 3 files changed +38
-7
lines changed Expand file tree Collapse file tree 3 files changed +38
-7
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,41 @@ permissions:
13
13
contents : read # to fetch code
14
14
15
15
jobs :
16
- build :
16
+ built-latest :
17
17
name : ${{ matrix.os }} Python ${{ matrix.python-version }}
18
18
runs-on : ${{ matrix.os }}
19
19
strategy :
20
20
matrix :
21
21
os : ["ubuntu-latest"]
22
22
python-version : ["3.9", "3.10", "3.11", "3.12"]
23
23
include :
24
- - os : macOS-11
25
- python-version : " 3.11"
26
24
- os : windows-2019
27
25
python-version : " 3.11"
28
26
27
+ steps :
28
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
29
+ with :
30
+ submodules : true
31
+ - name : Set up Python ${{ matrix.python-version }}
32
+ uses : actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5
33
+ with :
34
+ python-version : ${{ matrix.python-version }}
35
+ - name : Install dependencies
36
+ run : |
37
+ python -m pip install --upgrade pip
38
+ pip install -U .[latest,dev]
39
+ - name : Run tests
40
+ run : |
41
+ pytest -n auto jax_ml_stack
42
+
43
+ build :
44
+ name : ${{ matrix.os }} Python ${{ matrix.python-version }}
45
+ runs-on : ${{ matrix.os }}
46
+ strategy :
47
+ matrix :
48
+ os : ["ubuntu-latest"]
49
+ python-version : ["3.9", "3.10", "3.11", "3.12"]
50
+
29
51
steps :
30
52
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
31
53
with :
Original file line number Diff line number Diff line change 1
1
* .egg-info
2
2
Pipfile
3
+ build /
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " jax_ml_stack"
3
- version = " 0.0 .1" # keep in sync with jax_ml_stack/__init__.py
3
+ version = " 2024.8 .1" # keep in sync with jax_ml_stack/__init__.py
4
4
description = " "
5
5
readme = " README.md"
6
6
license = {file = " LICENSE" }
@@ -15,9 +15,10 @@ keywords = []
15
15
16
16
# pip dependencies of the project
17
17
dependencies = [
18
- " jax" ,
19
- " flax" ,
20
- " optax" ,
18
+ " jax==0.4.31" ,
19
+ " flax==0.8.5" ,
20
+ " optax==0.2.3" ,
21
+ " orbax==0.1.9" ,
21
22
]
22
23
23
24
[project .urls ]
@@ -33,6 +34,13 @@ dev = [
33
34
" pytest-xdist" ,
34
35
]
35
36
37
+ latest = [
38
+ " jax" ,
39
+ " flax" ,
40
+ " optax" ,
41
+ " orbax" ,
42
+ ]
43
+
36
44
[tool .pyink ]
37
45
# Formatting configuration to follow Google style-guide
38
46
line-length = 80
You can’t perform that action at this time.
0 commit comments