Skip to content

Commit 630c49d

Browse files
author
hhsecond
committed
working papermill
1 parent 95469f9 commit 630c49d

File tree

4 files changed

+164
-136
lines changed

4 files changed

+164
-136
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
services:
1818
redisai:
1919
image: redislabs/redisai:edge-cpu-bionic
20-
# Set health checks to wait until redis has started
20+
ports:
21+
- 6379:6379
2122
options: >-
2223
--health-cmd "redis-cli ping"
2324
--health-interval 10s
@@ -30,9 +31,19 @@ jobs:
3031
uses: "actions/setup-python@v2"
3132
with:
3233
python-version: ${{ matrix.python-version }}
33-
- name: Redis Connection Check
34+
- name: Cache dependencies
35+
uses: actions/cache@v2
36+
with:
37+
path: /opt/venv
38+
key: /opt/venv-${{ hashFiles('**/requirements.txt') }}
39+
- name: Install dependencies
40+
if: steps.cache.outputs.cache-hit != 'true'
41+
run: |
42+
pip install --upgrade pip
43+
pip install -r requirements.txt
44+
- name: Run Tests
3445
env:
3546
REDIS_HOST: redis
3647
REDIS_PORT: 6379
3748
run: |
38-
redis-cli ping
49+
papermill scikit_learn/ScikitLearn2Production.ipynb -

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,12 @@ node_modules
109109

110110
# test output
111111
.test_results
112+
113+
# model formats
114+
*.pt
115+
*.onnx
116+
*.pb
117+
*.pth
118+
*.pbtxt
119+
*.pkl
120+
*.ckpt

requirements.txt

Lines changed: 89 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,95 @@
1+
ansiwrap==0.8.4
2+
appnope==0.1.2
3+
argon2-cffi==21.1.0
4+
attrs==21.2.0
5+
backcall==0.2.0
6+
black==21.11b1
7+
bleach==4.1.0
18
certifi==2019.9.11
9+
cffi==1.15.0
10+
charset-normalizer==2.0.8
11+
click==8.0.3
212
cycler==0.10.0
13+
debugpy==1.5.1
314
decorator==4.4.0
15+
defusedxml==0.7.1
16+
Deprecated==1.2.13
17+
entrypoints==0.3
418
hiredis==1.0.0
5-
imageio==2.6.1
6-
kiwisolver==1.1.0
7-
matplotlib==3.1.1
19+
idna==3.3
20+
importlib-resources==5.4.0
21+
ipykernel==6.5.1
22+
ipython==7.29.0
23+
ipython-genutils==0.2.0
24+
ipywidgets==7.6.5
25+
jedi==0.18.1
26+
Jinja2==3.0.3
27+
joblib==1.1.0
28+
jsonschema==4.2.1
29+
jupyter==1.0.0
30+
jupyter-client==7.1.0
31+
jupyter-console==6.4.0
32+
jupyter-core==4.9.1
33+
jupyterlab-pygments==0.1.2
34+
jupyterlab-widgets==1.0.2
35+
MarkupSafe==2.0.1
36+
matplotlib-inline==0.1.3
37+
mistune==0.8.4
838
ml2rt==0.2.0
9-
networkx==2.4
10-
Pillow==6.2.0
11-
pyparsing==2.4.2
12-
python-dateutil==2.8.0
13-
PyWavelets==1.1.1
14-
redisai==1.2.0
39+
mypy-extensions==0.4.3
40+
nbclient==0.5.9
41+
nbconvert==6.3.0
42+
nbformat==5.1.3
43+
nest-asyncio==1.5.1
44+
notebook==6.4.6
45+
numpy==1.21.4
46+
onnx==1.10.2
47+
onnxconverter-common==1.8.1
48+
packaging==21.3
49+
pandas==1.3.4
50+
pandocfilters==1.5.0
51+
papermill==2.3.3
52+
parso==0.8.2
53+
pathspec==0.9.0
54+
pexpect==4.8.0
55+
pickleshare==0.7.5
56+
platformdirs==2.4.0
57+
prometheus-client==0.12.0
58+
prompt-toolkit==3.0.22
59+
protobuf==3.19.1
60+
ptyprocess==0.7.0
61+
pycparser==2.21
62+
Pygments==2.10.0
63+
pyparsing==3.0.6
64+
pyrsistent==0.18.0
65+
python-dateutil==2.8.2
66+
pytz==2021.3
67+
PyYAML==6.0
68+
pyzmq==22.3.0
69+
qtconsole==5.2.1
70+
QtPy==1.11.2
71+
redis==3.5.3
72+
redisai @ git+https://github.com/RedisAI/redisai-py@460529a92758f4e49159f02c629abb10fd321cf9
73+
regex==2021.11.10
74+
requests==2.26.0
75+
scikit-learn==1.0.1
76+
scipy==1.7.3
77+
Send2Trash==1.8.0
1578
six==1.12.0
79+
skl2onnx==1.10.2
80+
tenacity==8.0.1
81+
terminado==0.12.1
82+
testpath==0.5.0
83+
textwrap3==0.9.2
84+
threadpoolctl==3.0.0
85+
tomli==1.2.2
86+
tornado==6.1
87+
tqdm==4.62.3
88+
traitlets==5.1.1
89+
typing-extensions==4.0.0
90+
urllib3==1.26.7
91+
wcwidth==0.2.5
92+
webencodings==0.5.1
93+
widgetsnbextension==3.5.2
94+
wrapt==1.13.3
95+
zipp==3.6.0

0 commit comments

Comments
 (0)