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/python/kserve/test/test_v1beta1_custom_predictor.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,882
30.064
95
py
kserve
kserve-master/python/kserve/test/test_v1beta1_custom_transformer.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,904
30.24
99
py
kserve
kserve-master/python/kserve/test/test_v1beta1_deploy_config.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,944
28.029851
89
py
kserve
kserve-master/python/kserve/test/test_v1beta1_explainer_config.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,079
28.714286
95
py
kserve
kserve-master/python/kserve/test/test_v1beta1_explainer_extension_spec.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,274
29.607477
110
py
kserve
kserve-master/python/kserve/test/test_v1beta1_explainer_spec.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...
5,872
32.180791
93
py
kserve
kserve-master/python/kserve/test/test_v1beta1_explainers_config.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,114
29.652174
97
py
kserve
kserve-master/python/kserve/test/test_v1beta1_failure_info.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,055
27.957746
87
py
kserve
kserve-master/python/kserve/test/test_v1beta1_inference_service.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...
15,566
44.651026
103
py
kserve
kserve-master/python/kserve/test/test_v1beta1_inference_service_list.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...
34,009
53.416
111
py
kserve
kserve-master/python/kserve/test/test_v1beta1_inference_service_spec.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...
25,812
40.701131
106
py
kserve
kserve-master/python/kserve/test/test_v1beta1_inference_service_status.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,695
31.878049
110
py
kserve
kserve-master/python/kserve/test/test_v1beta1_inference_services_config.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,587
33.972973
112
py
kserve
kserve-master/python/kserve/test/test_v1beta1_ingress_config.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,987
28.235294
91
py
kserve
kserve-master/python/kserve/test/test_v1beta1_light_gbm_spec.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,150
28.726415
90
py
kserve
kserve-master/python/kserve/test/test_v1beta1_logger_spec.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,931
27.411765
85
py
kserve
kserve-master/python/kserve/test/test_v1beta1_model_copies.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...
1,994
27.913043
87
py
kserve
kserve-master/python/kserve/test/test_v1beta1_model_format.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,946
27.632353
87
py
kserve
kserve-master/python/kserve/test/test_v1beta1_model_revision_states.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,098
29.42029
104
py
kserve
kserve-master/python/kserve/test/test_v1beta1_model_spec.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,434
29.669643
85
py
kserve
kserve-master/python/kserve/test/test_v1beta1_model_status.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,610
31.6375
96
py
kserve
kserve-master/python/kserve/test/test_v1beta1_onnx_runtime_spec.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,149
29
96
py
kserve
kserve-master/python/kserve/test/test_v1beta1_paddle_server_spec.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,166
29.161905
98
py
kserve
kserve-master/python/kserve/test/test_v1beta1_pmml_spec.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,111
28.358491
81
py
kserve
kserve-master/python/kserve/test/test_v1beta1_pod_spec.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,715
29.459016
79
py
kserve
kserve-master/python/kserve/test/test_v1beta1_predictor_config.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,265
29.621622
95
py
kserve
kserve-master/python/kserve/test/test_v1beta1_predictor_extension_spec.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,226
29.733333
110
py
kserve
kserve-master/python/kserve/test/test_v1beta1_predictor_protocols.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,504
30.3125
101
py
kserve
kserve-master/python/kserve/test/test_v1beta1_predictor_spec.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...
12,845
33.907609
91
py
kserve
kserve-master/python/kserve/test/test_v1beta1_predictors_config.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,602
36.53125
97
py
kserve
kserve-master/python/kserve/test/test_v1beta1_sk_learn_spec.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,105
28.580952
88
py
kserve
kserve-master/python/kserve/test/test_v1beta1_storage_spec.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,065
27.694444
87
py
kserve
kserve-master/python/kserve/test/test_v1beta1_tf_serving_spec.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,127
28.790476
92
py
kserve
kserve-master/python/kserve/test/test_v1beta1_torch_serve_spec.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,137
28.885714
94
py
kserve
kserve-master/python/kserve/test/test_v1beta1_transformer_config.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,101
29.028571
99
py
kserve
kserve-master/python/kserve/test/test_v1beta1_transformer_spec.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,334
31.350746
95
py
kserve
kserve-master/python/kserve/test/test_v1beta1_transformers_config.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,140
30.028986
101
py
kserve
kserve-master/python/kserve/test/test_v1beta1_triton_spec.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,092
28.457143
85
py
kserve
kserve-master/python/kserve/test/test_v1beta1_xg_boost_spec.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,105
28.580952
88
py
kserve
kserve-master/python/lgbserver/README.md
# Lightgbm Server [LightGBM](https://lightgbm.readthedocs.io/en/latest/index.html ) server is an implementation for serving LightGBM models, and provides an LightGBM model implementation for prediction, pre and post processing. In addition, model lifecycle management functionalities like liveness handler, metrics hand...
2,269
35.612903
363
md
kserve
kserve-master/python/lgbserver/lgbserver/__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...
759
43.705882
102
py
kserve
kserve-master/python/lgbserver/lgbserver/__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,059
41.040816
120
py
kserve
kserve-master/python/lgbserver/lgbserver/lightgbm_model_repository.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,219
34.882353
86
py
kserve
kserve-master/python/lgbserver/lgbserver/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...
2,465
36.363636
120
py
kserve
kserve-master/python/lgbserver/lgbserver/test_lightgbm_model_repository.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,369
34.128205
87
py
kserve
kserve-master/python/lgbserver/lgbserver/test_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...
2,402
37.758065
89
py
kserve
kserve-master/python/paddleserver/README.md
# Paddle Server [Paddle](https://www.paddlepaddle.org.cn/) server is an implementation for serving Paddle models, and provides a Paddle model implementation for prediction, pre and post processing. To start the server locally for development needs, run the following command under this folder in your github repository...
1,978
45.023256
220
md
kserve
kserve-master/python/paddleserver/paddleserver/__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...
654
39.9375
74
py
kserve
kserve-master/python/paddleserver/paddleserver/__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,180
33.735294
74
py
kserve
kserve-master/python/paddleserver/paddleserver/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...
2,934
37.116883
120
py
kserve
kserve-master/python/paddleserver/paddleserver/test_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...
1,714
30.759259
114
py
kserve
kserve-master/python/plugin/poetry-version-plugin/README.md
# Poetry Version Plugin <a href="https://github.com/tiangolo/poetry-version-plugin/actions?query=workflow%3ATest" target="_blank"> <img src="https://github.com/tiangolo/poetry-version-plugin/workflows/Test/badge.svg" alt="Test"> </a> <a href="https://github.com/tiangolo/poetry-version-plugin/actions?query=workflow...
12,785
33.650407
357
md
kserve
kserve-master/python/plugin/poetry-version-plugin/debug.py
import os from pathlib import Path from cleo.testers.command_tester import CommandTester from poetry.console.application import Application def poetry_build(): application = Application() command = application.find("build") command_tester = CommandTester(command) command_tester.execute() package_pa...
433
19.666667
53
py
kserve
kserve-master/python/plugin/poetry-version-plugin/poetry_version_plugin/__init__.py
0
0
0
py
kserve
kserve-master/python/plugin/poetry-version-plugin/poetry_version_plugin/plugin.py
import ast import subprocess from pathlib import Path from typing import Any, Dict, Optional from cleo.io.io import IO from poetry.plugins.plugin import Plugin from poetry.poetry import Poetry from poetry.core.utils.helpers import module_name class VersionPlugin(Plugin): # type: ignore def activate(self, poetry...
5,660
43.574803
90
py
kserve
kserve-master/python/pmmlserver/README.md
# PMML Server [PMML](https://en.wikipedia.org/wiki/Predictive_Model_Markup_Language) is an XML-based predictive model interchange format conceived by Dr. Robert Lee Grossman, then the director of the National Center for Data Mining at the University of Illinois at Chicago. PMML provides a way for analytic applications...
2,223
36.066667
408
md
kserve
kserve-master/python/pmmlserver/pmmlserver/__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...
652
39.8125
74
py
kserve
kserve-master/python/pmmlserver/pmmlserver/__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,213
33.685714
74
py
kserve
kserve-master/python/pmmlserver/pmmlserver/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...
2,797
38.971429
120
py
kserve
kserve-master/python/pmmlserver/pmmlserver/test_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...
2,162
39.055556
92
py
kserve
kserve-master/python/sklearnserver/README.md
# Scikit-Learn Server [Scikit-Learn](https://scikit-learn.org/stable/) server is an implementation for serving Scikit-learn models, and provides a Scikit-learn model implementation for prediction, pre and post processing. To start the server locally for development needs, run the following command under this folder i...
2,311
36.901639
461
md
kserve
kserve-master/python/sklearnserver/custom_transformer/__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...
674
41.1875
90
py
kserve
kserve-master/python/sklearnserver/custom_transformer/custom_transformer.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...
811
30.230769
74
py
kserve
kserve-master/python/sklearnserver/sklearnserver/__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...
756
43.529412
100
py
kserve
kserve-master/python/sklearnserver/sklearnserver/__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,606
35.522727
106
py
kserve
kserve-master/python/sklearnserver/sklearnserver/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...
2,572
38.584615
120
py
kserve
kserve-master/python/sklearnserver/sklearnserver/sklearn_model_repository.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,158
33.088235
74
py
kserve
kserve-master/python/sklearnserver/sklearnserver/test_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,350
33.90625
103
py
kserve
kserve-master/python/sklearnserver/sklearnserver/test_sklearn_model_repository.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,051
33.779661
88
py
kserve
kserve-master/python/xgbserver/README.md
# XGBoost Server [XGBoost](https://xgboost.readthedocs.io/en/latest/index.html ) server is an implementation for serving XGBoost models, and provides an XGBoost model implementation for prediction, pre and post processing. In addition, model lifecycle management functionalities like liveness handler, metrics handler e...
2,105
32.428571
321
md
kserve
kserve-master/python/xgbserver/xgbserver/__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...
756
43.529412
100
py
kserve
kserve-master/python/xgbserver/xgbserver/__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,822
37.787234
110
py
kserve
kserve-master/python/xgbserver/xgbserver/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...
2,665
37.637681
120
py
kserve
kserve-master/python/xgbserver/xgbserver/test_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...
1,446
31.886364
77
py
kserve
kserve-master/python/xgbserver/xgbserver/test_xgboost_model_repository.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,366
34.051282
87
py
kserve
kserve-master/python/xgbserver/xgbserver/xgboost_model_repository.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,216
34.794118
85
py
kserve
kserve-master/qpext/README.md
# Queue Proxy Extension ## What qpext does This directory handles extending the Knative queue-proxy sidecar container. The qpext creates a new port in the queue-proxy container that scrapes Prometheus metrics from both `queue-proxy` and `kserve-container`. When the new aggregate metrics endpoint is hit, the response...
8,856
43.732323
337
md
kserve
kserve-master/qpext/logger.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...
731
24.241379
72
go
kserve
kserve-master/qpext/qpext.Dockerfile
# Build the inference qpext binary FROM golang:1.20 as builder # Copy in the go src WORKDIR /go/src/github.com/kserve/kserve/qpext COPY go.mod go.mod COPY go.sum go.sum RUN go mod download COPY cmd/qpext cmd/qpext COPY logger.go logger.go # Build RUN CGO_ENABLED=0 go build -a -o qpext ./cmd/qpext FROM gcr.io/dis...
456
20.761905
67
Dockerfile
kserve
kserve-master/qpext/cmd/qpext/main.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...
11,315
31.610951
143
go
kserve
kserve-master/qpext/cmd/qpext/main_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...
13,460
28.913333
168
go
kserve
kserve-master/release/RELEASE_PROCESS_v2.md
# Release Process We are moving to a release cadence of 3 months. We will try out this cadence and see if it's too aggressive or too modest and iterate accordingly. These are the timelines proposed for the process | Week | Event (Ideal timelines with 3 months of cadence) ...
8,634
88.020619
353
md
kserve
kserve-master/test/README.md
# Testing Please refer to [unit and e2e tests guide](https://github.com/kserve/website/blob/main/docs/developer/developer.md#running-unitintegration-tests)
156
51.333333
145
md
kserve
kserve-master/test/benchmark/README.md
# Benchmark This benchmark focus on testing KFServing performance with and without Knative queue proxy/activator on the request path. * Knative queue proxy does the following for the KFServing main container. - Enforces concurrency level for the pod - Emit metrics for autoscaling(KPA) - Timeout enforcement - ...
8,072
36.724299
176
md
kserve
kserve-master/test/benchmark/sk_benchmark.yaml
apiVersion: batch/v1 kind: Job metadata: generateName: sklearn-load-test spec: backoffLimit: 6 parallelism: 1 template: metadata: annotations: sidecar.istio.io/inject: "false" spec: containers: - args: - vegeta -cpus=1 attack -duration=10m -rate=5/1s -targets=/var...
862
21.710526
85
yaml
kserve
kserve-master/test/benchmark/sklearn.yaml
apiVersion: "serving.kserve.io/v1beta1" kind: "InferenceService" metadata: name: "sklearn-iris" spec: predictor: containerConcurrency: 8 # CC=8 sklearn: storageUri: "gs://kfserving-examples/models/sklearn/1.0/model"
234
22.5
68
yaml
kserve
kserve-master/test/benchmark/sklearn_hpa.yaml
apiVersion: "serving.kserve.io/v1beta1" kind: "InferenceService" metadata: name: "sklearn-iris-hpa" annotations: serving.kserve.io/deploymentMode: RawDeployment serving.kserve.io/autoscalerClass: hpa serving.kserve.io/metric: cpu serving.kserve.io/targetUtilizationPercentage: "80" spec: predictor:...
403
27.857143
68
yaml
kserve
kserve-master/test/benchmark/sklearn_vegeta_cfg.yaml
apiVersion: v1 data: cfg: | POST http://sklearn-iris.default.svc.cluster.local/v1/models/sklearn-iris:predict @/var/vegeta/payload payload: | { "instances": [ [6.8, 2.8, 4.8, 1.4], [6.0, 3.4, 4.5, 1.6] ] } kind: ConfigMap metadata: annotations: name: vegeta-cfg
320
17.882353
85
yaml
kserve
kserve-master/test/benchmark/tf_benchmark.yaml
apiVersion: batch/v1 kind: Job metadata: generateName: tf-load-test spec: backoffLimit: 6 parallelism: 1 template: metadata: annotations: sidecar.istio.io/inject: "false" spec: containers: - args: - vegeta -cpus=5 attack -duration=1m -rate=5/1s -targets=/var/veget...
862
22.972222
84
yaml
kserve
kserve-master/test/benchmark/tf_flowers.yaml
apiVersion: "serving.kserve.io/v1alpha2" kind: "InferenceService" metadata: name: "flowers-sample" spec: default: predictor: parallelism: 1 #CC=1 tensorflow: storageUri: "gs://kfserving-examples/models/tensorflow/flowers" resources: requests: cpu: "4" ...
401
21.333333
71
yaml
kserve
kserve-master/test/benchmark/tf_flowers_hpa.yaml
apiVersion: "serving.kserve.io/v1alpha2" kind: "InferenceService" metadata: name: "flowers-sample-hpa" annotations: autoscaling.knative.dev/class: hpa.autoscaling.knative.dev autoscaling.knative.dev/metric: cpu autoscaling.knative.dev/target: "60" spec: default: predictor: tensorflow: ...
537
24.619048
71
yaml
kserve
kserve-master/test/benchmark/tf_vegeta_cfg.yaml
apiVersion: v1 data: cfg: | POST http://flowers-sample.default.svc.cluster.local/v1/models/flowers-sample:predict @/var/vegeta/payload payload: | { "instances":[ { "image_bytes":{ "b64":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBw...
16,436
781.714286
16,094
yaml
kserve
kserve-master/test/crds/istio_virtualservice.yaml
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: virtualservices.networking.istio.io spec: conversion: strategy: None group: networking.istio.io names: categories: - istio-io - networking-istio-io kind: VirtualService listKind: VirtualServiceList ...
75,450
45.922264
121
yaml
kserve
kserve-master/test/crds/knative_service.yaml
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: labels: duck.knative.dev/addressable: "true" duck.knative.dev/podspecable: "true" knative.dev/crd-install: "true" serving.knative.dev/release: v1.0.0 name: services.serving.knative.dev spec: conversion: strategy: None...
80,138
64.741591
191
yaml
kserve
kserve-master/test/crds/serving.kserve.io_inferenceservices.yaml
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.12.0 name: clusterservingruntimes.serving.kserve.io spec: group: serving.kserve.io names: kind: ClusterServingRuntime listKind: ClusterServingRuntimeList plural: cl...
855,178
42.190859
172
yaml
kserve
kserve-master/test/e2e/__init__.py
0
0
0
py
kserve
kserve-master/test/e2e/batcher/__init__.py
0
0
0
py
kserve
kserve-master/test/e2e/batcher/test_batcher.py
# 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, software # distributed under the...
3,402
39.035294
119
py
kserve
kserve-master/test/e2e/batcher/test_batcher_custom_port.py
# # 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, software # distributed under t...
3,552
39.375
119
py
kserve
kserve-master/test/e2e/batcher/test_raw_batcher.py
# 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, software # distributed under the...
3,570
39.123596
119
py