File tree Expand file tree Collapse file tree 3 files changed +33
-8
lines changed Expand file tree Collapse file tree 3 files changed +33
-8
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,42 @@ permissions:
13
13
contents : read # to fetch code
14
14
15
15
jobs :
16
- build :
17
- name : ${{ matrix.os }} Python ${{ matrix.python-version }}
16
+ built-latest :
17
+ name : Latest packages ( ${{ matrix.os }} Python ${{ matrix.python-version }})
18
18
runs-on : ${{ matrix.os }}
19
19
strategy :
20
20
matrix :
21
21
os : ["ubuntu-latest"]
22
- python-version : ["3.9", "3. 10", "3.11", "3.12"]
22
+ python-version : ["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 .[dev]
39
+ pip install -U jax flax optax orbax
40
+ - name : Run tests
41
+ run : |
42
+ pytest -n auto jax_ml_stack
43
+
44
+ build :
45
+ name : Pinned packages (${{ matrix.os }} Python ${{ matrix.python-version }})
46
+ runs-on : ${{ matrix.os }}
47
+ strategy :
48
+ matrix :
49
+ os : ["ubuntu-latest"]
50
+ python-version : ["3.10", "3.11", "3.12"]
51
+
29
52
steps :
30
53
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
31
54
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 @@ -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 ]
You can’t perform that action at this time.
0 commit comments