Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream main merge #5

Merged
merged 172 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
aa3ea7b
build(deps-dev): bump pytest-cases from 3.8.4 to 3.8.5 (#1691)
dependabot[bot] Apr 16, 2024
ed6ef38
build(deps): bump scikit-learn in /runtimes/sklearn (#1693)
dependabot[bot] Apr 16, 2024
40fcaf5
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1694)
dependabot[bot] Apr 16, 2024
6639484
build(deps): bump sqlparse from 0.4.4 to 0.5.0 in /runtimes/mlflow (#…
dependabot[bot] Apr 16, 2024
dc93eba
build(deps-dev): bump sqlparse from 0.4.4 to 0.5.0 (#1697)
dependabot[bot] Apr 16, 2024
c6a9c5d
build(deps): bump optimum from 1.17.1 to 1.18.1 in /runtimes/huggingf…
dependabot[bot] Apr 16, 2024
28e4e75
build(deps): bump joblib from 1.3.2 to 1.4.0 in /runtimes/sklearn (#1…
dependabot[bot] Apr 16, 2024
c9ed9ba
build(deps): bump pandas from 2.2.1 to 2.2.2 in /runtimes/lightgbm (#…
dependabot[bot] Apr 16, 2024
068206d
build: Add Catboost runtime to Dependabot (#1689)
Apr 16, 2024
7b79e21
Fix JSON input shapes (#1679)
ReveStobinson Apr 17, 2024
bd77d0b
build(deps): bump optimum from 1.18.1 to 1.19.0 in /runtimes/huggingf…
dependabot[bot] Apr 17, 2024
4ddd048
build(deps): bump pydantic from 1.10.14 to 1.10.15 (#1701)
dependabot[bot] Apr 17, 2024
824cde9
build(deps): bump pydantic from 1.10.14 to 1.10.15 in /runtimes/catbo…
dependabot[bot] Apr 17, 2024
a0a6479
build(deps): bump joblib from 1.3.2 to 1.4.0 in /runtimes/catboost (#…
dependabot[bot] Apr 17, 2024
4316427
build(deps-dev): bump pillow from 10.2.0 to 10.3.0 (#1665)
dependabot[bot] Apr 17, 2024
4dfa49a
build(deps): bump alibi-detect from 0.11.5 to 0.12.0 (#1702)
Apr 19, 2024
cd5305f
build(deps): bump alibi from 0.9.5 to 0.9.6 (#1704)
Apr 19, 2024
a656856
build(deps-dev): bump aiohttp from 3.9.3 to 3.9.4 (#1713)
dependabot[bot] Apr 19, 2024
1db3783
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/catboost (…
dependabot[bot] Apr 19, 2024
4fefcb6
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/xgboost (#…
dependabot[bot] Apr 19, 2024
18d6c35
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/mlflow (#1…
dependabot[bot] Apr 19, 2024
2951169
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/sklearn (#…
dependabot[bot] Apr 19, 2024
c9c580e
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/lightgbm (…
dependabot[bot] Apr 19, 2024
c765e79
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/mllib (#1712)
dependabot[bot] Apr 19, 2024
ce6c0de
build(deps): bump aiohttp from 3.9.3 to 3.9.4 in /runtimes/huggingfac…
dependabot[bot] Apr 19, 2024
f15e588
build(deps-dev): bump black from 24.3.0 to 24.4.0 (#1714)
dependabot[bot] Apr 22, 2024
42091bf
build(deps): bump catboost from 1.2.3 to 1.2.5 in /runtimes/catboost …
dependabot[bot] Apr 22, 2024
c83115a
build(deps): bump mlflow from 2.11.3 to 2.12.1 in /runtimes/mlflow (#…
dependabot[bot] Apr 22, 2024
91b922f
build(deps-dev): bump sphinx-autobuild from 2024.2.4 to 2024.4.16 (#1…
dependabot[bot] Apr 22, 2024
2d14070
Update README.md in mlflow to match column names order (#1703)
vivekk0903 Apr 22, 2024
2ec9e28
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1720)
dependabot[bot] Apr 29, 2024
37e86be
build(deps): bump optimum from 1.19.0 to 1.19.1 in /runtimes/huggingf…
dependabot[bot] Apr 29, 2024
6d16356
build(deps-dev): bump transformers from 4.39.1 to 4.40.1 (#1724)
dependabot[bot] Apr 29, 2024
66f47c0
build(deps): bump pandas from 2.2.1 to 2.2.2 (#1723)
dependabot[bot] Apr 29, 2024
b93c1cc
build(deps-dev): bump torch from 2.2.2 to 2.3.0 in /runtimes/huggingf…
dependabot[bot] Apr 29, 2024
80b741b
build(deps-dev): bump transformers in /runtimes/huggingface (#1728)
dependabot[bot] Apr 29, 2024
c4d75f9
build(deps): bump onnx from 1.15.0 to 1.16.0 in /runtimes/huggingface…
dependabot[bot] Apr 30, 2024
3f9a114
build(deps-dev): bump onnx from 1.15.0 to 1.16.0 (#1727)
dependabot[bot] Apr 30, 2024
3638be9
fix(runtimes): Remove unused Pydantic dependencies (#1725)
Apr 30, 2024
c5b4d5f
test: Detect generate failures (#1729)
May 1, 2024
410cf6f
build: Add granularity in types generation (#1749)
May 8, 2024
58cf8dc
Migrate to Pydantic v2 (#1748)
May 10, 2024
6411c12
Re-generate license info (#1753)
github-actions[bot] May 10, 2024
c89bc8f
build(deps): bump uvicorn from 0.28.0 to 0.29.0 (#1648)
dependabot[bot] May 13, 2024
12cfc68
build(deps): bump tqdm from 4.66.2 to 4.66.3 in /runtimes/huggingface…
dependabot[bot] May 13, 2024
b67bcdf
build(deps-dev): bump tqdm from 4.66.2 to 4.66.3 in /runtimes/mlflow …
dependabot[bot] May 13, 2024
4722804
build(deps): bump tqdm from 4.66.2 to 4.66.3 in /runtimes/alibi-detec…
dependabot[bot] May 13, 2024
dfaf23e
build(deps-dev): bump tqdm from 4.66.2 to 4.66.3 (#1734)
dependabot[bot] May 13, 2024
0533ca2
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1735)
dependabot[bot] May 13, 2024
cf3ba01
build(deps): bump joblib from 1.4.0 to 1.4.2 in /runtimes/catboost (#…
dependabot[bot] May 13, 2024
86c140a
build(deps-dev): bump types-protobuf (#1737)
dependabot[bot] May 13, 2024
ef44917
build(deps): bump werkzeug from 3.0.1 to 3.0.3 in /runtimes/mlflow (#…
dependabot[bot] May 13, 2024
1686c8c
build(deps-dev): bump werkzeug from 3.0.1 to 3.0.3 (#1741)
dependabot[bot] May 13, 2024
7717b33
build(deps): bump werkzeug from 3.0.2 to 3.0.3 in /runtimes/alibi-det…
dependabot[bot] May 13, 2024
286aa62
build(deps): bump werkzeug from 3.0.1 to 3.0.3 in /runtimes/huggingfa…
dependabot[bot] May 13, 2024
c8d6ac4
build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /runtimes/huggingface…
dependabot[bot] May 13, 2024
1d4f308
build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /runtimes/mlflow (#1746)
dependabot[bot] May 13, 2024
d0f8760
build(deps): bump joblib from 1.4.0 to 1.4.2 in /runtimes/sklearn (#1…
dependabot[bot] May 13, 2024
c1015b4
build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 (#1744)
dependabot[bot] May 13, 2024
f45bb7f
build(deps): bump optimum from 1.19.1 to 1.19.2 in /runtimes/huggingf…
dependabot[bot] May 13, 2024
bcd8e7f
Revert "build(deps): bump uvicorn from 0.28.0 to 0.29.0 (#1648)" (#1758)
May 13, 2024
a2c0d64
refactor(pydantic): Remaining migrations for deprecated functions (#1…
May 13, 2024
1eb48eb
fix: Fixed openapi dataplane.yaml (#1752)
RobertSamoilescu May 14, 2024
b8445f8
fix(pandas): Use Pydantic v2 compatible type (#1760)
May 15, 2024
4a1030b
fix(pandas): Decoding from numpy arrays (#1751)
lhnwrk May 16, 2024
1aab084
build: Bump versions for Read the Docs (#1761)
May 16, 2024
51ebbed
docs: Remove quotes around local TOC (#1764)
May 16, 2024
b848836
Spawn worker in custom environment (#1739)
lhnwrk May 17, 2024
31780f3
build(deps-dev): bump mlflow from 2.11.1 to 2.12.1 (#1766)
dependabot[bot] May 17, 2024
1f36013
Re-generate license info (#1767)
github-actions[bot] May 17, 2024
1d2b51f
build(deps-dev): bump sphinx-click from 5.1.0 to 6.0.0 (#1768)
dependabot[bot] May 20, 2024
7f650a5
build(deps-dev): bump torchmetrics in /runtimes/mlflow (#1770)
dependabot[bot] May 20, 2024
c57a6ce
build(deps): bump mlflow from 2.12.1 to 2.13.0 in /runtimes/mlflow (#…
dependabot[bot] May 20, 2024
aad4a5a
basic contributing guide on contributing and opening a PR (#1773)
bohemia420 May 22, 2024
54cd47e
Inference streaming support (#1750)
RobertSamoilescu May 22, 2024
fcce136
Re-generate license info (#1779)
github-actions[bot] May 23, 2024
ab1f3f7
build: Lock GitHub runners' OS (#1765)
May 30, 2024
4c3361c
Removed text-model form benchmarking dir (#1790)
RobertSamoilescu Jun 4, 2024
9950e1f
build(deps): bump mlflow from 2.13.0 to 2.13.1 in /runtimes/mlflow (#…
dependabot[bot] Jun 5, 2024
1f383a6
Bumped mlflow to 2.13.1 and gunicorn to 22.0.0 (#1791)
RobertSamoilescu Jun 5, 2024
ef18c9b
Update to poetry version 1.8.3 in docker build (#1792)
sakoush Jun 5, 2024
95ce109
Bumped werkzeug to 3.0.3 (#1793)
RobertSamoilescu Jun 5, 2024
cb51790
Docs streaming (#1789)
RobertSamoilescu Jun 5, 2024
48bf63f
Bump uvicorn 0.30.1 (#1795)
RobertSamoilescu Jun 7, 2024
446dfbf
Fixes for all-runtimes (#1794)
RobertSamoilescu Jun 7, 2024
f332723
Bump version to 1.6.0.dev1
RobertSamoilescu Jun 7, 2024
97854f6
Fix BaseSettings import for pydantic v2 (#1798)
RobertSamoilescu Jun 7, 2024
6309fd8
Bumped preflight version to 1.9.7 (#1797)
RobertSamoilescu Jun 7, 2024
8f59a96
build: Install dependencies only in Tox environments (#1785)
Jun 12, 2024
3af34a0
Bumped to 1.6.0.dev2 (#1803)
RobertSamoilescu Jun 13, 2024
d3c12b6
Fix CI/CD macos-huggingface (#1805)
RobertSamoilescu Jun 14, 2024
b407512
Fixed macos kafka CI (#1807)
RobertSamoilescu Jun 17, 2024
bc4286e
Update poetry lock (#1808)
RobertSamoilescu Jun 17, 2024
f60cf3d
Re-generate license info (#1813)
github-actions[bot] Jun 17, 2024
d9bff8f
Fix/macos all runtimes (#1823)
RobertSamoilescu Jun 19, 2024
53db78e
Update stale reviewer in licenses.yml (#1824)
sakoush Jun 19, 2024
0e10b26
Re-generate license info (#1812)
github-actions[bot] Jun 21, 2024
3bd33ad
Update Changelog (#1830)
github-actions[bot] Jun 26, 2024
cb3c226
build(deps): bump mlflow from 2.13.1 to 2.14.1 in /runtimes/mlflow (#…
dependabot[bot] Jun 26, 2024
0766529
build(deps): bump urllib3 from 2.2.1 to 2.2.2 (#1822)
dependabot[bot] Jun 26, 2024
0e2b5b9
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/huggingfac…
dependabot[bot] Jun 26, 2024
7cc5ec4
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/alibi-dete…
dependabot[bot] Jun 26, 2024
969b792
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/sklearn (#…
dependabot[bot] Jun 26, 2024
2f78598
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/mllib (#1817)
dependabot[bot] Jun 26, 2024
5066108
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/catboost (…
dependabot[bot] Jun 26, 2024
bcb44fc
build(deps-dev): bump tenacity from 8.2.3 to 8.4.1 (#1811)
dependabot[bot] Jun 26, 2024
67d84bf
build(deps): bump lightgbm from 4.3.0 to 4.4.0 in /runtimes/lightgbm …
dependabot[bot] Jun 26, 2024
e748892
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/xgboost (#…
dependabot[bot] Jun 26, 2024
7ed7a9d
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/lightgbm (…
dependabot[bot] Jun 26, 2024
34a946b
build(deps): bump urllib3 from 2.2.1 to 2.2.2 in /runtimes/mlflow (#1…
dependabot[bot] Jun 27, 2024
50ac8a8
build(deps-dev): bump torch from 2.3.0 to 2.3.1 in /runtimes/huggingf…
dependabot[bot] Jun 27, 2024
f24792d
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1810)
dependabot[bot] Jun 27, 2024
f8f563b
build(deps): bump joblib from 1.4.0 to 1.4.2 in /runtimes/catboost (#…
dependabot[bot] Jun 27, 2024
abb8f68
Update release.yml to include catboost (#1839)
sakoush Jul 2, 2024
6ab4888
build(deps-dev): bump torchmetrics from 1.3.1 to 1.4.0.post0 (#1837)
dependabot[bot] Jul 3, 2024
7fc5419
build(deps): bump tensorflow in /runtimes/huggingface (#1836)
dependabot[bot] Jul 3, 2024
23a47df
build(deps-dev): bump torch from 2.2.2 to 2.3.1 in /runtimes/huggingf…
dependabot[bot] Jul 3, 2024
0c48251
build(deps-dev): bump filelock from 3.15.1 to 3.15.4 (#1834)
dependabot[bot] Jul 3, 2024
9388e42
build(deps-dev): bump pytorch-lightning from 2.2.0.post0 to 2.3.1 (#1…
dependabot[bot] Jul 4, 2024
c81bb08
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1832)
dependabot[bot] Jul 4, 2024
2446e39
Fix kafka json byte encoding to match rest server (#1622)
DerTiedemann Jul 4, 2024
fcf3d5a
build(deps-dev): bump mypy from 1.9.0 to 1.10.0 (#1771)
dependabot[bot] Jul 4, 2024
8d91b49
build(deps): bump xgboost from 2.0.3 to 2.1.0 in /runtimes/xgboost (#…
dependabot[bot] Jul 4, 2024
ce93346
Included Prometheus interceptor support for gRPC streaming (#1858)
RobertSamoilescu Jul 15, 2024
39dbcf7
build(deps): bump mlflow from 2.14.1 to 2.14.3 in /runtimes/mlflow (#…
dependabot[bot] Jul 18, 2024
f4d75ae
build(deps): bump tensorflow in /runtimes/huggingface (#1860)
dependabot[bot] Jul 18, 2024
93d9857
build(deps-dev): bump tox from 4.14.2 to 4.16.0 (#1857)
dependabot[bot] Jul 18, 2024
76edb6b
build(deps): bump certifi from 2024.6.2 to 2024.7.4 (#1848)
dependabot[bot] Jul 18, 2024
ffe8a04
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1859)
dependabot[bot] Jul 18, 2024
d39acdf
build(deps-dev): bump pytest-xdist from 3.5.0 to 3.6.1 (#1856)
dependabot[bot] Jul 20, 2024
96c5b85
build(deps): bump tensorflow in /docs/examples/cassava/model (#1867)
dependabot[bot] Aug 3, 2024
2648802
build(deps): bump lightgbm from 4.4.0 to 4.5.0 in /runtimes/lightgbm …
dependabot[bot] Aug 3, 2024
eee8be0
Run gRPC test serially (#1872)
RobertSamoilescu Aug 5, 2024
e754848
build(deps): bump tensorflow in /docs/examples/cassava (#1868)
dependabot[bot] Aug 8, 2024
cd938dd
build(deps): bump mlflow from 2.14.3 to 2.15.0 in /runtimes/mlflow (#…
dependabot[bot] Aug 8, 2024
f9ce61b
build(deps-dev): bump torchmetrics in /runtimes/mlflow (#1871)
dependabot[bot] Aug 8, 2024
714e683
build(deps): bump xgboost from 2.1.0 to 2.1.1 in /runtimes/xgboost (#…
dependabot[bot] Aug 8, 2024
f759bbc
build(deps-dev): bump httpx-sse from 0.3.1 to 0.4.0 (#1864)
dependabot[bot] Aug 8, 2024
47a62d4
build(deps): bump mlflow from 2.15.0 to 2.15.1 in /runtimes/mlflow (#…
dependabot[bot] Aug 15, 2024
6cbe929
build(deps): bump optimum from 1.20.0 to 1.21.2 in /runtimes/huggingf…
dependabot[bot] Aug 15, 2024
2991065
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/huggingfa…
dependabot[bot] Aug 15, 2024
64a3b54
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/sklearn (…
dependabot[bot] Aug 15, 2024
c3d24f9
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/catboost …
dependabot[bot] Aug 15, 2024
ae42da2
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/lightgbm …
dependabot[bot] Aug 15, 2024
f2b4cd3
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/mllib (#1…
dependabot[bot] Aug 15, 2024
a78c0ef
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/mlflow (#…
dependabot[bot] Aug 15, 2024
29cd1f1
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/xgboost (…
dependabot[bot] Aug 15, 2024
b73f22a
build(deps): bump aiohttp from 3.9.5 to 3.10.2 in /runtimes/alibi-det…
dependabot[bot] Aug 15, 2024
9c33155
build(deps-dev): bump aiohttp from 3.9.4 to 3.10.2 (#1874)
dependabot[bot] Aug 15, 2024
82a5f5d
Re-generate license info (#1886)
github-actions[bot] Aug 16, 2024
88945d6
build(deps): bump mlflow from 2.15.1 to 2.16.0 in /runtimes/mlflow (#…
dependabot[bot] Sep 2, 2024
af365e1
build(deps-dev): bump black from 24.4.0 to 24.8.0 (#1885)
dependabot[bot] Sep 2, 2024
3531940
Feature/support existing environments (#1891)
idlefella Sep 4, 2024
dd0a5f2
build(deps-dev): bump mypy from 1.10.0 to 1.11.2 (#1896)
dependabot[bot] Sep 4, 2024
444590e
build(deps): bump optimum from 1.21.2 to 1.21.4 in /runtimes/huggingf…
dependabot[bot] Sep 4, 2024
b6dbe3e
build(deps): bump pyspark from 3.5.1 to 3.5.2 in /runtimes/mllib (#1888)
dependabot[bot] Sep 4, 2024
1ed989d
build(deps-dev): bump pytorch-lightning in /runtimes/mlflow (#1884)
dependabot[bot] Sep 4, 2024
b20adcd
build(deps): bump pillow from 10.3.0 to 10.4.0 in /runtimes/huggingfa…
dependabot[bot] Sep 5, 2024
6786ba6
build(deps): bump certifi from 2024.6.2 to 2024.7.4 in /runtimes/skle…
dependabot[bot] Sep 5, 2024
abb480d
build(deps): bump certifi in /runtimes/catboost (#1841)
dependabot[bot] Sep 5, 2024
b9f8d59
build(deps): bump certifi from 2024.6.2 to 2024.7.4 in /runtimes/mlli…
dependabot[bot] Sep 5, 2024
d12ea01
build(deps): bump certifi from 2024.6.2 to 2024.7.4 in /runtimes/mlfl…
dependabot[bot] Sep 5, 2024
f9bbb43
build(deps): bump certifi in /runtimes/lightgbm (#1843)
dependabot[bot] Sep 5, 2024
ed4351a
build(deps): bump certifi from 2024.6.2 to 2024.7.4 in /runtimes/xgbo…
dependabot[bot] Sep 5, 2024
c798e7f
build(deps): bump certifi in /runtimes/huggingface (#1845)
dependabot[bot] Sep 5, 2024
3f8cfb2
build(deps): bump certifi in /runtimes/alibi-detect (#1846)
dependabot[bot] Sep 6, 2024
ca03136
build(deps): bump scikit-learn from 1.5.0 to 1.5.1 in /runtimes/sklea…
dependabot[bot] Sep 9, 2024
eea6593
build(deps): bump catboost from 1.2.5 to 1.2.7 in /runtimes/catboost …
dependabot[bot] Sep 9, 2024
a5c82d1
Fix tensorflow upperbound macos (#1901)
RobertSamoilescu Sep 9, 2024
691a12d
Bump preflight to 1.10.0 (#1903)
RobertSamoilescu Sep 10, 2024
c2dbbb9
Update Changelog (#1905)
github-actions[bot] Sep 10, 2024
c05889a
Merge remote-tracking branch 'upstream/master' into upstream-main
dtpryce Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ updates:
reviewers:
- "SeldonIO/mlops"

- package-ecosystem: "pip"
directory: "/runtimes/catboost"
schedule:
interval: "weekly"
reviewers:
- "SeldonIO/mlops"

- package-ecosystem: "docker"
directory: "/"
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
subdependency.
This automated PR will re-generate the licenses to keep them up to
date."
reviewers: adriangonz
reviewers: "SeldonIO/mlops"
4 changes: 2 additions & 2 deletions .github/workflows/release-sc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
preflight --version
env:
PREFLIGHT_VERSION: 1.4.2
PREFLIGHT_VERSION: 1.10.0
- name: Submit preflight results
run: |
preflight check container \
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
preflight --version
env:
PREFLIGHT_VERSION: 1.4.2
PREFLIGHT_VERSION: 1.10.0
- name: Submit preflight results
run: |
preflight check container \
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
preflight --version
env:
PREFLIGHT_VERSION: 1.4.2
PREFLIGHT_VERSION: 1.10.0
- name: Submit preflight results
run: |
preflight check container \
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
preflight --version
env:
PREFLIGHT_VERSION: 1.4.2
PREFLIGHT_VERSION: 1.10.0
- name: Submit preflight results
run: |
preflight check container \
Expand Down Expand Up @@ -216,6 +216,7 @@ jobs:
- mllib
- sklearn
- xgboost
- catboost
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down Expand Up @@ -287,7 +288,7 @@ jobs:
sudo mv preflight-linux-amd64 /usr/local/bin/preflight
preflight --version
env:
PREFLIGHT_VERSION: 1.4.2
PREFLIGHT_VERSION: 1.10.0
- name: Submit preflight results
run: |
preflight check container \
Expand Down
150 changes: 91 additions & 59 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,80 @@ on:
branches: [master]

jobs:
generate:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
target: ["dataplane", "model-repository"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install dependencies
run: poetry install --sync --only dev
- name: Generate ${{ matrix.target }}
run: make generate-${{ matrix.target }}
- name: Check for changes
run: make lint-no-changes

lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install dependencies
run: |
make install-dev
run: poetry install --sync --only dev
- name: Lint
run: |
make lint
run: make lint

mlserver:
test-mlserver:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os:
- ubuntu-22.04
- macos-13
# NOTE: There's no pre-built `grpcio` wheel for Python 3.11 yet
# https://github.com/grpc/grpc/issues/32454
python-version: ["3.9", "3.10"]
python-version:
- "3.9"
- "3.10"
is-pr:
- ${{ github.event_name == 'pull_request' }}
exclude:
# MacOS tests take a lot of time, so we will run them only on merge
# From https://github.com/orgs/community/discussions/26253
- is-pr: true
os: macos-latest
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
# From https://github.com/actions/runner-images/issues/17#issuecomment-1537238473
# From https://github.com/abiosoft/colima/discussions/273#discussioncomment-4959736
# NOTE: Use the `slirp` driver rather than the default to avoid
# random connection errors.
# From https://github.com/abiosoft/colima/issues/577
brew install docker docker-buildx
mkdir -p $HOME/.docker/cli-plugins
ln -sfn $(which docker-buildx) $HOME/.docker/cli-plugins/docker-buildx
colima start --memory 5 --network-driver slirp
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
- uses: actions/checkout@v4
- name: Setup Docker (missing on MacOS)
if: runner.os == 'macos'
run: ./hack/install-docker-macos.sh
- name: Install OpenMP (in MacOS)
if: runner.os == 'macOS'
run: brew install libomp
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -71,19 +95,25 @@ jobs:
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install Dependencies
run: |
poetry install --sync --only dev
- name: Install dependencies
run: poetry install --only test
- name: Test
run: |
tox -e mlserver
if [[ ${{ runner.os == 'macOS' }} ]]; then
source ./hack/activate-libomp-macos.sh
fi
poetry run tox -e mlserver

runtimes:
test-runtimes:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.9", "3.10"]
os:
- ubuntu-22.04
- macos-13
python-version:
- "3.9"
- "3.10"
tox-environment:
- sklearn
- xgboost
Expand All @@ -99,10 +129,13 @@ jobs:
# MacOS tests take a lot of time, so we will run them only on merge
# From https://github.com/orgs/community/discussions/26253
- is-pr: true
os: macos-latest
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install OpenMP (in MacOS)
if: runner.os == 'macOS'
run: brew install libomp
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -115,21 +148,27 @@ jobs:
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install Dependencies
run: |
poetry install --sync --only dev
- name: Install dependencies
run: poetry install --only test
- name: Test
run: |
tox -c ./runtimes/${{ matrix.tox-environment }}
if [[ ${{ runner.os == 'macOS' }} ]]; then
source ./hack/activate-libomp-macos.sh
fi
poetry run tox -c ./runtimes/${{ matrix.tox-environment }}

# Ensure that having all the runtimes installed together works
all-runtimes:
test-all-runtimes:
if: github.event_name == 'push'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.9", "3.10"]
os:
- ubuntu-22.04
- macos-12
python-version:
- "3.9"
- "3.10"
runs-on: ${{ matrix.os }}
steps:
- name: Maximize build space
Expand All @@ -143,30 +182,21 @@ jobs:
remove-docker-images: 'true'
overprovision-lvm: 'true'
swap-size-mb: 1024
- name: Setup docker (missing on MacOS)
- uses: actions/checkout@v4
- name: Setup Docker (missing on MacOS)
if: runner.os == 'macOS'
run: |
# From https://github.com/actions/runner-images/issues/17#issuecomment-1537238473
# From https://github.com/abiosoft/colima/discussions/273#discussioncomment-4959736
# NOTE: Use the `slirp` driver rather than the default to avoid
# random connection errors.
# From https://github.com/abiosoft/colima/issues/577
brew install docker docker-buildx
mkdir -p $HOME/.docker/cli-plugins
ln -sfn $(which docker-buildx) $HOME/.docker/cli-plugins/docker-buildx
colima start --memory 5 --network-driver slirp
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
run: ./hack/install-docker-macos.sh
- name: Downgrade OpenMP (in MacOS)
if: runner.os == 'macOS'
if: runner.os == 'macos'
run: |
# Recent versions of OpenMP cause segfaults in MacOS when training
# LightGBM / XGBoost models (but only when Torch is present)
# https://github.com/microsoft/LightGBM/issues/4229
# https://github.com/autogluon/autogluon/issues/1442
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
wget https://raw.githubusercontent.com/chenrui333/homebrew-core/0094d1513ce9e2e85e07443b8b5930ad298aad91/Formula/libomp.rb
brew unlink libomp
brew install libomp.rb
- uses: actions/checkout@v4
brew install --build-from-source ./libomp.rb
brew list --version libomp
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -179,9 +209,11 @@ jobs:
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install Dependencies
run: |
poetry install --sync --only dev
- name: Install dependencies
run: poetry install --only test
- name: Test
run: |
tox -e all-runtimes
if [[ ${{ runner.os == 'macOS' }} ]]; then
source ./hack/activate-libomp-macos.sh
fi
poetry run tox -e all-runtimes
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bin

# Mac file system
**/.DS_Store

# editor and IDE paraphernalia
.idea
.vscode
Expand Down Expand Up @@ -51,6 +51,8 @@ mlruns
dataset
lightning_logs

# Runtime: CatBoost
catboost_info/

# Sphinx documentation
docs/_build/
Expand All @@ -59,7 +61,7 @@ docs/_build/
**/tests/testdata/.cache/**
## The .data path is longer used, but let's keep the line to avoid people
## pushing their old .data folder by mistake
runtimes/alibi-explain/tests/.data/**
runtimes/alibi-explain/tests/.data/**

# Docker metadata
.docker/
11 changes: 6 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ formats:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.10"
jobs:
# Set up Poetry
# From https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry==1.4.2
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
- pip install poetry==1.8.1
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install -vvv --without dev --with docs --with all-runtimes --with all-runtimes-dev
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install -vvv --without dev --with docs --with all-runtimes --with all-runtimes-dev
Loading