Commit 7dedfd4 1 parent 9f4bd7e commit 7dedfd4 Copy full SHA for 7dedfd4
File tree 3 files changed +17
-5
lines changed
3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ jobs:
17
17
uses : packetcoders/action-setup-cache-python-poetry@main
18
18
with :
19
19
python-version : ' 3.9'
20
- install-args : --with dev --with backends
20
+ install-args : --with dev --with torch
21
21
22
22
- name : Install groco
23
23
run : poetry install
24
24
25
25
- name : Generate test coverage
26
+ env :
27
+ KERAS_BACKEND : torch
26
28
run : |
27
29
poetry run pytest --cov
28
30
poetry run coverage xml
Original file line number Diff line number Diff line change 21
21
uses : packetcoders/action-setup-cache-python-poetry@main
22
22
with :
23
23
python-version : ${{ matrix.python-version }}
24
- install-args : --with dev --with backends
24
+ install-args : --with dev --with ${{ matrix.backend }}
25
25
26
26
- name : Install groco
27
27
run : poetry install
Original file line number Diff line number Diff line change @@ -21,13 +21,23 @@ isort = "^5.13.2"
21
21
pre-commit = " ^3.6.2"
22
22
Sphinx = " ^7.2.6"
23
23
24
- [tool .poetry .group .backends ]
24
+ [tool .poetry .group .tensorflow ]
25
25
optional = true
26
26
27
- [tool .poetry .group .backends .dependencies ]
27
+ [tool .poetry .group .pytorch ]
28
+ optional = true
29
+
30
+ [tool .poetry .group .jax ]
31
+ optional = true
32
+
33
+ [tool .poetry .group .tensorflow .dependencies ]
28
34
tensorflow = " ^2.16.1"
29
- jax = " ^0.4.25"
35
+
36
+ [tool .poetry .group .torch .dependencies ]
30
37
torch = " ^2.2.1"
38
+
39
+ [tool .poetry .group .jax .dependencies ]
40
+ jax = " ^0.4.25"
31
41
jaxlib = " ^0.4.25"
32
42
33
43
[build-system ]
You can’t perform that action at this time.
0 commit comments