Commit f925a5b 1 parent 98392d0 commit f925a5b Copy full SHA for f925a5b
File tree 7 files changed +36
-36
lines changed
7 files changed +36
-36
lines changed Original file line number Diff line number Diff line change 6
6
paths :
7
7
- ' .github/workflows/ci-sharktank.yml'
8
8
- ' sharktank/**'
9
- - ' *requirements.txt'
9
+ - ' *requirements* .txt'
10
10
push :
11
11
branches :
12
12
- main
13
13
paths :
14
14
- ' .github/workflows/ci-sharktank.yml'
15
15
- ' sharktank/**'
16
- - ' *requirements.txt'
16
+ - ' *requirements* .txt'
17
17
18
18
concurrency :
19
19
# A PR number if a pull request and otherwise the commit hash. This cancels
52
52
id : cache-pip
53
53
with :
54
54
path : ${{ env.PIP_CACHE_DIR }}
55
- key : pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('*requirements.txt') }}
55
+ key : pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('*requirements*.txt','sharktank/requirements* .txt') }}
56
56
57
57
- name : Install pip deps
58
58
run : |
Original file line number Diff line number Diff line change 45
45
id : cache-pip
46
46
with :
47
47
path : ${{ env.PIP_CACHE_DIR }}
48
- key : pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('*requirements.txt') }}
48
+ key : pip-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('*requirements*.txt','sharktank/requirements* .txt') }}
49
49
50
50
- name : Install sharktank deps
51
51
run : |
Original file line number Diff line number Diff line change
1
+ # Used for managing pre-commit flows.
2
+ pre-commit
3
+
4
+ # Type checking
5
+ mypy == 1.8.0
6
+ types-requests == 2.31.0.20240125
7
+
8
+ # Testing
9
+ pytest == 8.0.0
10
+ pytest-xdist == 3.5.0
Original file line number Diff line number Diff line change 1
- # Runtime deps.
2
- gguf == 0.6.0
3
- numpy == 1.26.3
4
- onnx == 1.15.0
5
-
6
- # Model deps.
7
- huggingface-hub == 0.22.2
8
- transformers == 4.40.0
9
- sentencepiece == 0.2.0
10
-
11
- # It is expected that you have installed a PyTorch version/variant specific
12
- # to your needs, so we only include a minimum version spec.
13
- # TODO: Use a versioned release once 2.3.0 drops.
14
- torch >= 2.3.0.dev1
15
-
16
- # Used for managing pre-commit flows.
17
- pre-commit
18
-
19
- # Type checking
20
- mypy == 1.8.0
21
- types-requests == 2.31.0.20240125
22
-
23
- # Testing
24
- parameterized
25
- pytest == 8.0.0
26
- pytest-xdist == 3.5.0
27
-
28
- # Serving deps.
29
- fastapi == 0.112.2
30
- uvicorn == 0.30.6
1
+ -r sharktank/requirements.txt
2
+ -r sharktank/requirements-tests.txt
3
+ -r shortfin/requirements-tests.txt
4
+ -r requirements-dev.txt
Original file line number Diff line number Diff line change 1
1
datasets==3.0.0
2
+ parameterized
3
+ pytest==8.0.0
Original file line number Diff line number Diff line change 1
- gguf
1
+ # Runtime deps.
2
+ gguf == 0.6.0
3
+ numpy == 1.26.3
4
+
5
+ # Model deps.
6
+ huggingface-hub == 0.22.2
7
+ transformers == 4.40.0
8
+ datasets
9
+
10
+ # It is expected that you have installed a PyTorch version/variant specific
11
+ # to your needs, so we only include a minimum version spec.
12
+ torch >= 2.3.0
13
+
14
+ # Serving deps.
15
+ fastapi == 0.112.2
16
+ uvicorn == 0.30.6
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ def initialize_options(self):
99
99
extras_require = {
100
100
"testing" : [
101
101
f"pytest{ get_version_spec ('pytest' )} " ,
102
- f"pytest-xdist{ get_version_spec ('pytest-xdist' )} " ,
103
102
],
104
103
},
105
104
cmdclass = {"build" : BuildCommand },
You can’t perform that action at this time.
0 commit comments