Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Sync upstream with v0.26.4 #20

Merged
merged 424 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
424 commits
Select commit Hold shift + click to select a range
a448f72
small edit
Nov 19, 2023
0b2bd99
Bump ruff from 0.1.5 to 0.1.6
dependabot[bot] Nov 20, 2023
c2d7ac4
:recycle: move things to core.concurrency
joerunde Nov 3, 2023
3724bc3
:sparkles: support pickling all exceptions
joerunde Nov 3, 2023
bae6370
:art: fmt
joerunde Nov 3, 2023
1bca051
:bug: fix traceback for py38/9
joerunde Nov 3, 2023
cc0cc40
:memo: add logs and comments
joerunde Nov 3, 2023
c06d012
:memo: Use parentheses for readability
joerunde Nov 6, 2023
6cbb911
:pencil2: fix typo
joerunde Nov 9, 2023
6991628
:recycle: move concurrency into toolkit
joerunde Nov 20, 2023
ebfe64a
:art: fmt
joerunde Nov 20, 2023
bb35d70
:art: add lint exception
joerunde Nov 20, 2023
a430a8e
Merge pull request #583 from markstur/issue_525
gkumbhat Nov 20, 2023
ce81c31
Merge pull request #573 from markstur/embedding
gkumbhat Nov 20, 2023
2ed817a
Merge pull request #577 from waleedqk/http_error
gabe-l-hart Nov 20, 2023
40f41bc
Merge pull request #586 from caikit/dependabot/pip/ruff-0.1.6
gabe-l-hart Nov 20, 2023
5d8019e
ConfigurableHttpProbeTimeout: Make the http health probe configurable
gabe-l-hart Nov 25, 2023
8423b70
Merge pull request #587 from gabe-l-hart/ConfigurableHttpProbeTimeout
gkumbhat Nov 25, 2023
e6ed75a
✨ add a client for sample_lib
prashantgupta24 Sep 14, 2023
6fa0576
Add more details to examples README.md
aluu317 Aug 31, 2023
9cf5e77
🐛 fix parameters
prashantgupta24 Sep 14, 2023
b7729f1
♻️ switch to DataModels
prashantgupta24 Sep 15, 2023
cfe23ba
✨ add init file
prashantgupta24 Sep 15, 2023
89df7a4
✨ add client using proto + DM
prashantgupta24 Sep 15, 2023
76757e2
🙈 ignore compiled pb2s
prashantgupta24 Sep 15, 2023
99d9db2
🎨 switch to get request DM
prashantgupta24 Sep 25, 2023
f7d2a9c
🎨 update docs
prashantgupta24 Sep 25, 2023
f9068f5
✅ add sample lib testing
prashantgupta24 Sep 26, 2023
eb7c146
🎨 skip testing the client
prashantgupta24 Oct 4, 2023
d066379
♻️ fix package name
prashantgupta24 Oct 11, 2023
c8753a9
🎨 lint fix
prashantgupta24 Oct 11, 2023
d81cc82
🐛 fix package name
prashantgupta24 Nov 27, 2023
aeaafc9
🎨 fix package name in docs
prashantgupta24 Nov 27, 2023
b687f90
🐛 fix file ref
prashantgupta24 Nov 27, 2023
5506f23
🐛 fix model id in REST
prashantgupta24 Nov 27, 2023
51aa33e
:test_tube: write failing large model test
joerunde Nov 27, 2023
3614200
:bug: prevent lazy loading of models during write
joerunde Nov 27, 2023
9b6d4f9
:recycle: use config for write detection
joerunde Nov 28, 2023
64deeef
:memo: document model write check
joerunde Nov 28, 2023
24dece5
Merge pull request #588 from joerunde/lazy-load-test
joerunde Nov 28, 2023
7e62800
Update sphinx-rtd-theme requirement
dependabot[bot] Nov 28, 2023
5412405
Merge pull request #473 from prashantgupta24/sample-lib-client
prashantgupta24 Nov 28, 2023
dad703d
Add Model Info endpoint
HonakerM Nov 29, 2023
5c6674e
update error message to provide more clarity
Nov 29, 2023
f4d29e4
Add tests for ModelInfo endpoint
HonakerM Nov 29, 2023
8a08487
fix lint error
Nov 29, 2023
3b96744
Update HTTP test to reuse client
HonakerM Nov 29, 2023
8492725
Fix duplicate DocString in info interface
HonakerM Nov 29, 2023
f44bb07
raise value error draft
Nov 30, 2023
2a3a060
fix function name
Nov 30, 2023
d1e4be2
Merge changes from main
Nov 30, 2023
0bd9704
Merge pull request #564 from joerunde/pickle-exceptions
gabe-l-hart Nov 30, 2023
446dfbd
test case for checking config interaction of lazy_load and local_mode…
Nov 30, 2023
df18044
remove unused imports
Nov 30, 2023
604a191
:loud_sound: add lazy load loop debug logs
joerunde Nov 30, 2023
1882129
Merge pull request #592 from joerunde/mm-debugs
joerunde Nov 30, 2023
cdf4866
Move test, and add testst to cover all combinations
Dec 1, 2023
786a8f7
reduce config to only essentials
Dec 4, 2023
17e276b
Use ModelManager class for tests
Dec 4, 2023
cdb5af4
PinPytestAsyncio: Pin pytest-asyncio below 0.22
gabe-l-hart Dec 4, 2023
4dae3da
Merge pull request #595 from gabe-l-hart/PinPytestAsyncio
gabe-l-hart Dec 4, 2023
c3096aa
Add MultiModelInitializer
HonakerM Dec 4, 2023
01cf721
Merge remote-tracking branch 'origin/main' into obscures_error_fix
Dec 5, 2023
679af51
remove unused runtime config parameters
Dec 5, 2023
fe2aa5d
remove excinfo
Dec 5, 2023
551473a
Propose RemoteModelInvocation ADR
HonakerM Dec 5, 2023
cfbca53
update based on feedback
Dec 6, 2023
7f3e08f
Merge pull request #594 from HonakerM/multi_model_init
gabe-l-hart Dec 6, 2023
47ce7c5
Merge pull request #589 from caikit/dependabot/pip/sphinx-rtd-theme-g…
gabe-l-hart Dec 6, 2023
a4dd6c6
Update importlib-metadata requirement
dependabot[bot] Dec 7, 2023
ade0c0e
Bump ruff from 0.1.6 to 0.1.7
dependabot[bot] Dec 7, 2023
bba0353
Rename impl functions to underbars
HonakerM Dec 7, 2023
fc2ab7c
Merge pull request #598 from caikit/dependabot/pip/importlib-metadata…
gabe-l-hart Dec 7, 2023
9cb4181
Merge pull request #599 from caikit/dependabot/pip/ruff-0.1.7
gabe-l-hart Dec 7, 2023
6ded563
show invalid path in error message
Dec 7, 2023
9174303
ConfigurableLoadWait: Add config toggle for initial load wait
gabe-l-hart Dec 7, 2023
44b84d7
ConfigurableLoadWait: Use config value to determine whether to wait o…
gabe-l-hart Dec 7, 2023
1fb87ed
ConfigurableLoadWait: Comment and docstring updates
gabe-l-hart Dec 7, 2023
6677470
Merge pull request #601 from gabe-l-hart/ConfigurableLoadWait-600
gabe-l-hart Dec 7, 2023
d1adc0f
:sparkles: share thread pool across servers
joerunde Dec 7, 2023
1e7c999
:bug: fixup static init of pool
joerunde Dec 7, 2023
b672689
Refactor Model Info Endpoint
HonakerM Dec 8, 2023
72aa45e
Fix py3.8 Import error
HonakerM Dec 8, 2023
5fc73f1
Merge pull request #602 from joerunde/single-pool
gabe-l-hart Dec 8, 2023
72e66cd
Update NIT in ADR (spelling/config vars)
HonakerM Dec 8, 2023
8cdad2b
Update get_metadata to module_metadata
HonakerM Dec 11, 2023
6ec5833
cover both cases where local_models_dir is invalid, or it is not set
Dec 11, 2023
ef907ce
uncomment wanted line
Dec 11, 2023
ff6c44b
raise seperate errors for local_models_dir unset or invalid
Dec 11, 2023
119b175
lint update
Dec 11, 2023
65b217f
update error message
Dec 11, 2023
4780e29
update error check condition
Dec 11, 2023
aff1972
:bug: ensure correct shutdown handlers called
joerunde Dec 11, 2023
2e961a8
:loud_sound: update signal handler logs
joerunde Dec 12, 2023
74751ca
:test_tube: add test for shutdown handlers
joerunde Dec 13, 2023
27b3a16
:art: clean up signal test
joerunde Dec 13, 2023
035f717
:recycle: improve open ports a bit
joerunde Dec 13, 2023
e7605db
Merge pull request #607 from joerunde/better-signal-handling
gabe-l-hart Dec 13, 2023
818a4f0
Move Request processing into Exception Handling
HonakerM Dec 13, 2023
e49cd79
UvicornConfig: Add config for runtime.http.server_config
gabe-l-hart Dec 13, 2023
df1dcb2
UvicornConfig: Add uvicorn server overrides to http server
gabe-l-hart Dec 13, 2023
568c095
Add public model info param for metadata
HonakerM Dec 14, 2023
2cf5d82
Merge pull request #610 from gabe-l-hart/UvicornConfig-609
gabe-l-hart Dec 14, 2023
6841976
♻️ don't wait for training jobs to finish
prashantgupta24 Dec 14, 2023
5548ae4
ModelFetchOutOfAsyncio: Move the model lookup for inference signature…
gabe-l-hart Dec 14, 2023
0eb01f5
ModelFetchOutOfAsyncio: Don't look up the model before delegating to …
gabe-l-hart Dec 14, 2023
082eb05
✅ test long running train job in http
prashantgupta24 Dec 14, 2023
ea4a830
Merge branch 'main' into wait-false-train
prashantgupta24 Dec 14, 2023
b70226e
🎨 fmt
prashantgupta24 Dec 14, 2023
48c7893
Merge pull request #614 from prashantgupta24/wait-false-train
prashantgupta24 Dec 14, 2023
2a91092
ModelFetchOutOfAsyncio: Allow explicit func names if new params not g…
gabe-l-hart Dec 14, 2023
7068501
Merge pull request #615 from gabe-l-hart/ModelFetchOutOfAsyncio
gabe-l-hart Dec 14, 2023
f46690b
Add CaikiCore Exception handling and test case
HonakerM Dec 14, 2023
4ff3acd
Merge branch 'main' into fix_http_exception_handling
HonakerM Dec 14, 2023
fde03ca
Merge pull request #612 from HonakerM/fix_http_exception_handling
gabe-l-hart Dec 15, 2023
beddd13
Update docs/adrs/024-remote-module-invocation.md
gabe-l-hart Dec 15, 2023
3d94d33
Merge pull request #597 from HonakerM/add_remote_model_invocation_adr
gabe-l-hart Dec 15, 2023
7c7371c
model sizer: fix exception f-string
dtrifiro Dec 18, 2023
b6a8744
Merge pull request #618 from dtrifiro/fix-exception-f-string
gabe-l-hart Dec 18, 2023
ccd6753
runtime.http_server: bind to 0.0.0.0
dtrifiro Dec 19, 2023
a39f0f6
Merge pull request #623 from dtrifiro/re-expose-http-server
gabe-l-hart Dec 19, 2023
bec7938
:zap: invert the aborting control
joerunde Nov 20, 2023
4fc4564
:test_tube: start work on tests
joerunde Dec 2, 2023
9cc6c08
:zap: slightly faster tests
joerunde Dec 4, 2023
7fa7a89
:recycle: use SimpleQueue for interrupter
joerunde Dec 5, 2023
61f25fe
:art: fmt
joerunde Dec 5, 2023
568315c
:art: lint
joerunde Dec 5, 2023
b6dbecb
:white_check_mark: get tests passing
joerunde Dec 6, 2023
fd29a58
:test_tube: add more abortablecontext tests
joerunde Dec 7, 2023
8e24f3a
:fire: remove _laod_trained_model
joerunde Dec 7, 2023
afd2b78
:fire: delete AbortableAction
joerunde Dec 7, 2023
2f11df7
:bug: add -s to debug pytest hangs in GHA
joerunde Dec 11, 2023
e25df10
:fire: remove -s after fixing the examples
joerunde Dec 19, 2023
5cd763b
:zap: add interrupter to http server
joerunde Dec 19, 2023
d32d3f9
:recycle: watcher -> interrupter
joerunde Dec 19, 2023
6cea645
:recycle: rename file abortable_context
joerunde Dec 19, 2023
1d16952
:fire: remove counters
joerunde Dec 19, 2023
c78c145
:recycle: simplify abortable context flow
joerunde Dec 19, 2023
987e6ca
:bug: fix test race condition
joerunde Dec 19, 2023
e4f719c
:fire: delete aborter events
joerunde Dec 19, 2023
9506b9e
DoubleCountTasks: Don't re-add tasks from the class itself
gabe-l-hart Dec 20, 2023
9ac573e
Merge pull request #625 from gabe-l-hart/DoubleCountTasks-624
gabe-l-hart Dec 20, 2023
0eb5749
:recycle: threadsafe ThreadInterrupter
joerunde Dec 20, 2023
34a6fb2
:loud_sound: more verbose interrupt logs
joerunde Dec 20, 2023
2566865
:bug: fix grpc server boot order
joerunde Dec 20, 2023
03a87ba
:recycle: simplify aborting config
joerunde Dec 20, 2023
0304289
:art: add block comments to tests
joerunde Dec 20, 2023
1a28924
:art: remove some parentheses
joerunde Dec 20, 2023
a855959
Merge pull request #593 from joerunde/better-aborts
joerunde Dec 20, 2023
e1dd130
:rotating_light: _DataObjectBaseT should be bound by type[DataObjectB…
sboagibm Dec 18, 2023
2a35d87
🚨 fix line to long issue
sboagibm Dec 19, 2023
be3f22c
⚗️ Try using Type[DataObjectBase] for 3.8 compatibility
sboagibm Dec 19, 2023
a81412a
🚨 list type annotation to List, for 3.8 compatibility
sboagibm Dec 19, 2023
94e96b8
🚨 base.py lint ok for pylance/pyright
sboagibm Dec 19, 2023
e12f26b
🐛 Moved _proto_class up to the meta class
sboagibm Dec 20, 2023
f663848
Merge pull request #617 from sboagibm/typevar-dataobject2
gabe-l-hart Dec 20, 2023
f978700
:arrow_up: Bump ruff from 0.1.7 to 0.1.9
dependabot[bot] Dec 22, 2023
4147354
Merge pull request #626 from caikit/dependabot/pip/ruff-0.1.9
gabe-l-hart Dec 22, 2023
076b622
Add Core options to Runtime Model Manager load
HonakerM Dec 29, 2023
30f1f43
Update typing of Test Classes
HonakerM Dec 29, 2023
0a07edb
Initial commit of time series data model and time series evaluation d…
wgifford Jul 27, 2023
987eb80
clean up, add class attribute
wgifford Jul 28, 2023
f757d5f
add spark densevector handling
Jul 27, 2023
f57c6e9
add spark vector type to list of _DEFAULT_VECTOR_TYPES
Jul 26, 2023
9a38d18
formatted
Jul 26, 2023
486035a
formatting
Jul 26, 2023
65b0e21
isort
Jul 26, 2023
266d676
Address deprecation
wgifford Aug 22, 2023
78d3a43
add copyright
wgifford Sep 21, 2023
1e664e8
remove old protos folder
wgifford Sep 21, 2023
f63c313
clean up imports
wgifford Sep 21, 2023
eef747b
aim for consistency
wgifford Sep 21, 2023
045461b
remove unneeded constant
wgifford Sep 21, 2023
303fa0f
update error codes
wgifford Sep 21, 2023
d69e62a
Update caikit/interfaces/ts/data_model/__init__.py
wgifford Sep 22, 2023
03f3f58
Update caikit/interfaces/ts/data_model/_single_timeseries.py
wgifford Sep 22, 2023
8acb3e8
clean up imports
wgifford Sep 22, 2023
aa5e0ce
clean up, update tox default
wgifford Sep 22, 2023
8c0f967
Update mark options
wgifford Oct 12, 2023
62e1337
filter warnings
wgifford Oct 13, 2023
96e2179
fix lint
wgifford Oct 16, 2023
8de7e0c
address some future warnings
wgifford Oct 16, 2023
43d5c9f
suppress duplicate code issues
wgifford Oct 17, 2023
9f5c042
do not modify log configuration!
wgifford Oct 17, 2023
29a4231
add more time for test
wgifford Oct 17, 2023
e335286
refactor tests to streamline, add copyright
wgifford Oct 19, 2023
49db94d
run only pandas tests, filter warnings
wgifford Oct 19, 2023
8abf5e3
Update caikit/interfaces/ts/data_model/_single_timeseries.py
wgifford Nov 20, 2023
c806aa9
Update caikit/interfaces/ts/data_model/_single_timeseries.py
wgifford Nov 20, 2023
eb1a3c6
Update caikit/interfaces/ts/data_model/_single_timeseries.py
wgifford Nov 20, 2023
32a68d4
Update caikit/interfaces/ts/data_model/time_types.py
wgifford Nov 20, 2023
d65758c
Update caikit/interfaces/ts/data_model/time_types.py
wgifford Nov 20, 2023
6f24f11
Update caikit/interfaces/ts/data_model/time_types.py
wgifford Nov 20, 2023
94e466c
use Annotated
wgifford Nov 20, 2023
9a76c55
remove old imports, clean up
wgifford Nov 20, 2023
ace2df4
add annotated, remove unneeded methods
wgifford Nov 20, 2023
b8170a0
rename evaluate dm
wgifford Nov 20, 2023
06325c1
use annotated
wgifford Nov 20, 2023
08f5f2e
update import
wgifford Nov 20, 2023
0ca5d3a
use annotated, clean up
wgifford Nov 21, 2023
6fab374
Update for new linter :rotating_light:
wgifford Nov 21, 2023
fa97b2f
move spark utils, clean up
wgifford Nov 21, 2023
531a1a7
clean up, fix error codes
wgifford Nov 21, 2023
cad7f49
clean up, simplify, update docstrings, type hints
wgifford Nov 28, 2023
339ae2b
docstrings and type hints
wgifford Nov 28, 2023
cf5cff8
update comment
wgifford Dec 4, 2023
a2b9aca
use @contextmanager for ensure_spark_df_cached
Nov 28, 2023
05bfac0
fmt
wgifford Dec 4, 2023
b7d333b
add type check
wgifford Dec 4, 2023
3f99239
:sparkles: bestow equivalence operator, clean up
wgifford Dec 4, 2023
d8781e4
lint
wgifford Dec 4, 2023
6320dd5
Use DM for faster length calculation
wgifford Dec 6, 2023
659df21
improve ValueSequence
wgifford Dec 6, 2023
6999868
spark quarantine
wgifford Dec 7, 2023
89f8a8a
remove unneeded code
wgifford Dec 7, 2023
17588a2
apply caching
wgifford Dec 8, 2023
be4077c
update to handle python 3.8
wgifford Dec 8, 2023
454c297
Revert "update to handle python 3.8"
wgifford Dec 8, 2023
44bb790
python 3.8 compatibility
wgifford Dec 8, 2023
6161d96
Update pyproject.toml
wgifford Jan 1, 2024
81b9a6e
pyarrow version
wgifford Jan 1, 2024
fb6d7e2
docstrings
wgifford Jan 2, 2024
79df233
:arrow_up: Bump ruff from 0.1.9 to 0.1.11
dependabot[bot] Jan 3, 2024
71eef1e
Update 021-http-server.md
ronensc Jan 3, 2024
0b67436
Merge pull request #628 from caikit/dependabot/pip/ruff-0.1.11
gabe-l-hart Jan 3, 2024
e6b5e35
Merge pull request #629 from ronensc/patch-1
gabe-l-hart Jan 3, 2024
59747d0
Merge pull request #407 from wgifford/main
gabe-l-hart Jan 3, 2024
bd2d275
Merge pull request #590 from HonakerM/add_models_info_service
gabe-l-hart Jan 3, 2024
1af4c75
FixHttpStatusLookup: Correct status code lookup dict
gabe-l-hart Jan 3, 2024
f0dd494
Merge pull request #630 from gabe-l-hart/FixHttpStatusLookup
gabe-l-hart Jan 3, 2024
a3bc8a9
Update Type Hints for ModelLoader
HonakerM Jan 3, 2024
d993737
Merge pull request #627 from HonakerM/add_params_to_runtime_load
gabe-l-hart Jan 3, 2024
45b2283
Update pyspark requirement from <3.5,>=3.3 to >=3.3,<3.6
dependabot[bot] Jan 4, 2024
c93d326
Merge pull request #632 from caikit/dependabot/pip/pyspark-gte-3.3-an…
gabe-l-hart Jan 4, 2024
208f7d4
Move Service Constant Generation to Interfaces
HonakerM Jan 4, 2024
75e10bd
Format Code
HonakerM Jan 4, 2024
4ed4f2a
Merge changes from main
Jan 4, 2024
3125c53
lint formatter
Jan 4, 2024
ceba742
Remove unnecessary import
gabe-l-hart Jan 5, 2024
0486d1a
Merge pull request #591 from waleedqk/obscures_error_fix
gabe-l-hart Jan 5, 2024
81e6794
LivenessProbe: Add a timeout to the grpc readiness probe
gabe-l-hart Jan 5, 2024
92eed5f
LivenessProbe: Add psutil dependency
gabe-l-hart Jan 5, 2024
06f40ed
LivenessProbe: Convert health_probe -> readiness_probe and add livene…
gabe-l-hart Jan 5, 2024
a387263
LivenessProbe: Default to no grpc probe timeout
gabe-l-hart Jan 5, 2024
468dcbd
Move runtime.interfaces to runtime.name
HonakerM Jan 5, 2024
d57c417
Update caikit/runtime/names.py
HonakerM Jan 8, 2024
bbb3c53
Update String tools to name_tools
HonakerM Jan 8, 2024
dff142c
Merge pull request #634 from HonakerM/move_service_names_to_interfaces
gabe-l-hart Jan 8, 2024
e33e280
Merge pull request #636 from gabe-l-hart/LivenessProbe-635
gabe-l-hart Jan 8, 2024
5a780ec
Merge tag 'v0.26.4' into sync-upstream
dtrifiro Jan 15, 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
2 changes: 1 addition & 1 deletion .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
python -m pip install -r setup_requirements.txt
- name: Check Formatting
run: tox -e fmt
- name: Run pylint
- name: Linting
run: tox -e lint
- name: Setup Graphviz # `graphviz/dot` is required for the import checker
uses: ts-graphviz/setup-graphviz@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/setup-python@v3
- name: Build and check package
run: |
pip install tox
tox -e build,twinecheck
- name: Upload package
if: github.event_name == 'release'
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ _build/


/caikit/_version.py
# Compiled pb2s
*_pb2.py
*_pb2_grpc.py
Loading