Search is not available for this dataset
repo
stringlengths
2
152
⌀
file
stringlengths
15
239
code
stringlengths
0
58.4M
file_length
int64
0
58.4M
avg_line_length
float64
0
1.81M
max_line_length
int64
0
12.7M
extension_type
stringclasses
364 values
kserve
kserve-master/pkg/logger/dispatcher.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,185
23.204082
86
go
kserve
kserve-master/pkg/logger/handler.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
4,030
26.236486
112
go
kserve
kserve-master/pkg/logger/handler_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
4,190
31.238462
103
go
kserve
kserve-master/pkg/logger/types.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,028
23.5
72
go
kserve
kserve-master/pkg/logger/worker.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
4,443
26.949686
101
go
kserve
kserve-master/pkg/modelconfig/configmap.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
4,164
24.552147
97
go
kserve
kserve-master/pkg/modelconfig/configmap_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
9,535
32.577465
142
go
kserve
kserve-master/pkg/testing/be_sematic_equal_matcher.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,872
30.216667
120
go
kserve
kserve-master/pkg/testing/envtest_setup.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
2,339
30.2
110
go
kserve
kserve-master/pkg/utils/types.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
667
24.692308
72
go
kserve
kserve-master/pkg/utils/types_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,086
25.512195
72
go
kserve
kserve-master/pkg/utils/utils.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
3,699
22.717949
106
go
kserve
kserve-master/pkg/utils/utils_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
11,964
20.994485
104
go
kserve
kserve-master/pkg/webhook/admission/pod/accelerator_injector.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,476
29.142857
100
go
kserve
kserve-master/pkg/webhook/admission/pod/accelerator_injector_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
3,133
26.734513
91
go
kserve
kserve-master/pkg/webhook/admission/pod/agent_injector.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
11,620
29.824934
124
go
kserve
kserve-master/pkg/webhook/admission/pod/agent_injector_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
36,021
27.566217
195
go
kserve
kserve-master/pkg/webhook/admission/pod/batcher_injector.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
3,948
28.251852
99
go
kserve
kserve-master/pkg/webhook/admission/pod/batcher_injector_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
5,977
25.568889
90
go
kserve
kserve-master/pkg/webhook/admission/pod/metrics_aggregate_injector.go
/* Copyright 2022 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
4,564
40.126126
203
go
kserve
kserve-master/pkg/webhook/admission/pod/metrics_aggregate_injector_test.go
/* Copyright 2022 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
7,766
24.976589
135
go
kserve
kserve-master/pkg/webhook/admission/pod/mutator.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
4,615
28.780645
187
go
kserve
kserve-master/pkg/webhook/admission/pod/mutator_test.go
/* Copyright 2022 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
9,284
26.882883
102
go
kserve
kserve-master/pkg/webhook/admission/pod/storage_initializer_injector.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
13,168
35.479224
148
go
kserve
kserve-master/pkg/webhook/admission/pod/storage_initializer_injector_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
45,770
27.517757
114
go
kserve
kserve-master/pkg/webhook/admission/pod/suite_test.go
/* Copyright 2021 The KServe Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
1,164
23.787234
81
go
kserve
kserve-master/python/aiffairness.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,319
26.5
94
Dockerfile
kserve
kserve-master/python/alibiexplainer.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,352
26.612245
94
Dockerfile
kserve
kserve-master/python/artexplainer.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,328
26.6875
94
Dockerfile
kserve
kserve-master/python/custom_model.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,337
26.875
94
Dockerfile
kserve
kserve-master/python/custom_model_grpc.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,342
26.979167
94
Dockerfile
kserve
kserve-master/python/custom_transformer.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,398
27.55102
94
Dockerfile
kserve
kserve-master/python/custom_transformer_grpc.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,404
27.1
94
Dockerfile
kserve
kserve-master/python/lgb.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,460
26.566038
94
Dockerfile
kserve
kserve-master/python/paddle.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,472
26.792453
94
Dockerfile
kserve
kserve-master/python/pmml.Dockerfile
ARG PYTHON_VERSION=3.9 ARG JAVA_VERSION=11 ARG BASE_IMAGE=openjdk:${JAVA_VERSION}-slim ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder ARG PYTHON_VERSION # Install python RUN apt-get update && \ apt-get install -y --no-install-recommends "python${PYTHON_VERSION}" "python${PYTHON_VERSION}-dev" "python${PYTH...
1,786
27.822581
138
Dockerfile
kserve
kserve-master/python/sklearn.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,341
26.958333
94
Dockerfile
kserve
kserve-master/python/storage-initializer.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,492
25.192982
94
Dockerfile
kserve
kserve-master/python/xgb.Dockerfile
ARG PYTHON_VERSION=3.9 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-bullseye ARG VENV_PATH=/prod_venv FROM ${BASE_IMAGE} as builder # Install Poetry ARG POETRY_HOME=/opt/poetry ARG POETRY_VERSION=1.4.0 RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip install poetry==${POETRY_VERSION} ENV PATH="$PATH:${PO...
1,443
25.740741
94
Dockerfile
kserve
kserve-master/python/aiffairness/README.md
# AIF Model Fairness / Bias Detection ## Input parameters | Name | Description | | ------------------- | --------------------------...
4,230
93.022222
209
md
kserve
kserve-master/python/aiffairness/aifserver/__init__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
651
39.75
74
py
kserve
kserve-master/python/aiffairness/aifserver/__main__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,470
32.391892
74
py
kserve
kserve-master/python/aiffairness/aifserver/model.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
3,267
39.85
118
py
kserve
kserve-master/python/alibiexplainer/README.md
# Alibi Model Explainer [Alibi](https://github.com/SeldonIO/alibi) server is an implementation of a KFServer for providing black box model explanation for KFServer models. To start the server locally for development needs, run the following command under this folder in your github repository. ``` make dev_install `...
1,220
22.480769
147
md
kserve
kserve-master/python/alibiexplainer/alibiexplainer/__init__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
661
40.375
77
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/__main__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,632
27.155172
88
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/anchor_images.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,028
38.784314
95
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/anchor_tabular.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,456
39.95
96
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/anchor_text.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,648
40.390625
96
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/explainer.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
3,238
34.988889
78
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/explainer_wrapper.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
863
33.56
83
py
kserve
kserve-master/python/alibiexplainer/alibiexplainer/parser.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
6,486
27.70354
88
py
kserve
kserve-master/python/alibiexplainer/tests/__init__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
582
40.642857
74
py
kserve
kserve-master/python/alibiexplainer/tests/test_anchor_images.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,943
37.88
94
py
kserve
kserve-master/python/alibiexplainer/tests/test_anchor_tabular.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,917
37.36
89
py
kserve
kserve-master/python/alibiexplainer/tests/test_anchor_text.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,297
34.081081
83
py
kserve
kserve-master/python/alibiexplainer/tests/test_parser.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
3,889
27.394161
74
py
kserve
kserve-master/python/alibiexplainer/tests/utils.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,161
34.212121
74
py
kserve
kserve-master/python/artexplainer/README.md
# ART Model Explainer ## Build your own ART Model Explainer Docker Image First build your docker image by changing directory to kserve/python and replacing `dockeruser` with your docker username in the snippet below. `docker build -t dockeruser/artserver:latest -f artexplainer.Dockerfile .` Then push your docker ...
562
32.117647
167
md
kserve
kserve-master/python/artexplainer/artserver/__init__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
651
39.75
74
py
kserve
kserve-master/python/artexplainer/artserver/__main__.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
1,763
38.2
94
py
kserve
kserve-master/python/artexplainer/artserver/model.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
3,403
41.024691
117
py
kserve
kserve-master/python/custom_model/model.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
4,681
41.18018
115
py
kserve
kserve-master/python/custom_model/model_grpc.py
# Copyright 2022 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,989
34.176471
104
py
kserve
kserve-master/python/custom_model/model_remote.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,287
30.777778
83
py
kserve
kserve-master/python/custom_transformer/model.py
# Copyright 2021 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
4,498
38.121739
119
py
kserve
kserve-master/python/custom_transformer/model_grpc.py
# Copyright 2022 The KServe Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
2,808
35.960526
101
py
kserve
kserve-master/python/kserve/README.md
# KServe Python SDK Python SDK for KServe Server and Client. ## Installation KServe Python SDK can be installed by `pip` or `poetry`. ### pip install ```sh pip install kserve ``` To install Kserve with storage support ```sh pip install kserve[storage] ``` ### Poetry Install via [Poetry](https://python-poetry.org...
6,521
45.255319
270
md
kserve
kserve-master/python/kserve/docs/KnativeAddressable.md
# KnativeAddressable ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **url** | [**KnativeURL**](KnativeURL.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) ...
355
31.363636
161
md
kserve
kserve-master/python/kserve/docs/KnativeCondition.md
# KnativeCondition Conditions defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | --...
1,289
74.882353
321
md
kserve
kserve-master/python/kserve/docs/KnativeStatus.md
# KnativeStatus ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **conditions** | [**list[KnativeCondition]**](KnativeCondition.md) | Conditions the latest available observations of a resource's current state. | [optional] **observed_generation** | **int...
609
49.833333
162
md
kserve
kserve-master/python/kserve/docs/KnativeURL.md
# KnativeURL URL is an alias of url.URL. It has custom json marshal methods that enable it to be used in K8s CRDs such that the CRD resource will have the URL but operator code can can work with url.URL struct ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- ...
1,017
49.9
196
md
kserve
kserve-master/python/kserve/docs/KnativeVolatileTime.md
# KnativeVolatileTime VolatileTime wraps metav1.Time ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **time** | **datetime** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoint...
358
28.916667
161
md
kserve
kserve-master/python/kserve/docs/NetUrlUserinfo.md
# NetUrlUserinfo ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **password** | **str** | | **password_set** | **bool** | | **username** | **str** | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#docu...
384
28.615385
161
md
kserve
kserve-master/python/kserve/docs/V1Time.md
# V1Time ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
284
27.5
161
md
kserve
kserve-master/python/kserve/docs/V1alpha1BuiltInAdapter.md
# V1alpha1BuiltInAdapter ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **env** | [**list[V1EnvVar]**](https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1EnvVar.md) | Environment variables used to control other aspects of the built-in...
1,134
74.666667
234
md
kserve
kserve-master/python/kserve/docs/V1alpha1ClusterServingRuntime.md
# V1alpha1ClusterServingRuntime ClusterServingRuntime is the Schema for the servingruntimes API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers s...
1,374
84.9375
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1ClusterServingRuntimeList.md
# V1alpha1ClusterServingRuntimeList ServingRuntimeList contains a list of ServingRuntime ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should c...
1,252
82.533333
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1Container.md
# V1alpha1Container ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **args** | **list[str]** | | [optional] **command** | **list[str]** | | [optional] **env** | [**list[V1EnvVar]**](https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/...
1,114
54.75
161
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceGraph.md
# V1alpha1InferenceGraph InferenceGraph is the Schema for the InferenceGraph API for multiple models ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Serv...
1,364
84.3125
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceGraphList.md
# V1alpha1InferenceGraphList InferenceGraphList contains a list of InferenceGraph ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert ...
1,231
81.133333
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceGraphSpec.md
# V1alpha1InferenceGraphSpec InferenceGraphSpec defines the InferenceGraph spec ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **affinity** | [**V1Affinity**](https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1Affinity.md) | | [optio...
839
59
186
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceGraphStatus.md
# V1alpha1InferenceGraphStatus InferenceGraphStatus defines the InferenceGraph conditions and status ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **annotations** | **dict(str, str)** | Annotations is additional Status fields for the Resource to save some ...
1,057
69.533333
303
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceRouter.md
# V1alpha1InferenceRouter InferenceRouter defines the router for each InferenceGraph node with one or multiple steps ```yaml kind: InferenceGraph metadata: name: canary-route spec: nodes: root: routerType: Splitter routes: - service: mymodel1 weight: 20 - service: mymodel2 we...
3,642
279.230769
2,787
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceStep.md
# V1alpha1InferenceStep InferenceStep defines the inference target of the current step with condition, weights and data. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **condition** | **str** | routing based on the condition | [optional] **data** | **str**...
1,117
61.111111
170
md
kserve
kserve-master/python/kserve/docs/V1alpha1InferenceTarget.md
# V1alpha1InferenceTarget Exactly one InferenceTarget field must be specified ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **node_name** | **str** | The node name for routing as next step | [optional] **service_name** | **str** | named reference for Infe...
612
42.785714
161
md
kserve
kserve-master/python/kserve/docs/V1alpha1ModelSpec.md
# V1alpha1ModelSpec ModelSpec describes a TrainedModel ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **framework** | **str** | Machine Learning <framework name> The values could be: \"tensorflow\",\"pytorch\",\"sklearn\"...
738
51.785714
261
md
kserve
kserve-master/python/kserve/docs/V1alpha1ServingRuntime.md
# V1alpha1ServingRuntime ServingRuntime is the Schema for the servingruntimes API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert ...
1,360
84.0625
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1ServingRuntimeList.md
# V1alpha1ServingRuntimeList ServingRuntimeList contains a list of ServingRuntime ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert ...
1,231
81.133333
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1ServingRuntimePodSpec.md
# V1alpha1ServingRuntimePodSpec ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **affinity** | [**V1Affinity**](https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1Affinity.md) | | [optional] **annotations** | **dict(str, str)** | Ann...
2,380
131.277778
596
md
kserve
kserve-master/python/kserve/docs/V1alpha1ServingRuntimeSpec.md
# V1alpha1ServingRuntimeSpec ServingRuntimeSpec defines the desired state of ServingRuntime. This spec is currently provisional and are subject to change as details regarding single-model serving and multi-model serving are hammered out. ## Properties Name | Type | Description | Notes ------------ | ------------- | --...
3,792
129.793103
596
md
kserve
kserve-master/python/kserve/docs/V1alpha1StorageHelper.md
# V1alpha1StorageHelper ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **disabled** | **bool** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to READM...
340
30
161
md
kserve
kserve-master/python/kserve/docs/V1alpha1SupportedModelFormat.md
# V1alpha1SupportedModelFormat ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **auto_select** | **bool** | Set to true to allow the ServingRuntime to be used for automatic model placement if this model format is specified with no explicit runtime. | [option...
786
59.538462
219
md
kserve
kserve-master/python/kserve/docs/V1alpha1TrainedModel.md
# V1alpha1TrainedModel TrainedModel is the Schema for the TrainedModel API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recogni...
1,330
82.1875
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1TrainedModelList.md
# V1alpha1TrainedModelList TrainedModelList contains a list of TrainedModel ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recogn...
1,221
80.466667
331
md
kserve
kserve-master/python/kserve/docs/V1alpha1TrainedModelSpec.md
# V1alpha1TrainedModelSpec TrainedModelSpec defines the TrainedModel spec ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **inference_service** | **str** | parent inference service to deploy to | [default to ''] **model** | [**V1alpha1ModelSpec**](V1alpha1Mo...
503
37.769231
161
md
kserve
kserve-master/python/kserve/docs/V1beta1ARTExplainerSpec.md
# V1beta1ARTExplainerSpec ARTExplainerType defines the arguments for configuring an ART Explanation Server ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **args** | **list[str]** | Arguments to the entrypoint. The docker image's CMD is used if this is n...
7,794
204.131579
750
md
kserve
kserve-master/python/kserve/docs/V1beta1AlibiExplainerSpec.md
# V1beta1AlibiExplainerSpec AlibiExplainerSpec defines the arguments for configuring an Alibi Explanation Server ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **args** | **list[str]** | Arguments to the entrypoint. The docker image's CMD is used if thi...
8,062
211.184211
750
md
kserve
kserve-master/python/kserve/docs/V1beta1Batcher.md
# V1beta1Batcher Batcher specifies optional payload batching available for all components ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **max_batch_size** | **int** | Specifies the max number of requests to trigger a batch | [optional] **max_latency** | *...
624
43.642857
161
md
kserve
kserve-master/python/kserve/docs/V1beta1ComponentExtensionSpec.md
# V1beta1ComponentExtensionSpec ComponentExtensionSpec defines the deployment configuration for a given InferenceService component ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **batcher** | [**V1beta1Batcher**](V1beta1Batcher.md) | | [optional] **canary...
1,883
93.2
284
md