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/test/e2e/common/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/common/inference_pb2.py | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: inference.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.proto... | 14,266 | 43.86478 | 905 | py |
kserve | kserve-master/test/e2e/common/inference_pb2_grpc.py | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from . import inference_pb2 as inference__pb2
class InferenceAPIsServiceStub(object... | 4,397 | 39.722222 | 90 | py |
kserve | kserve-master/test/e2e/common/utils.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... | 9,278 | 36.719512 | 116 | py |
kserve | kserve-master/test/e2e/credentials/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/credentials/test_set_creds.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... | 5,495 | 41.276923 | 105 | py |
kserve | kserve-master/test/e2e/custom/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/custom/test_custom_model_grpc.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... | 8,063 | 33.609442 | 90 | py |
kserve | kserve-master/test/e2e/explainer/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/explainer/test_art_explainer.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,614 | 40.079545 | 114 | py |
kserve | kserve-master/test/e2e/explainer/test_tabular_explainer.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,674 | 41.241379 | 120 | py |
kserve | kserve-master/test/e2e/graph/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/graph/test_inference_graph.py | import os
from kubernetes import client
from kubernetes.client import V1ResourceRequirements
from kserve import V1beta1PredictorSpec, V1beta1SKLearnSpec, V1beta1InferenceServiceSpec, V1beta1InferenceService, \
constants, KServeClient, V1alpha1InferenceGraphSpec, V1alpha1InferenceRouter, V1alpha1InferenceGraph, \
... | 3,436 | 33.717172 | 116 | py |
kserve | kserve-master/test/e2e/helm/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/helm/test_kserve_sklearn.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,290 | 29.959459 | 74 | py |
kserve | kserve-master/test/e2e/helm/test_model_mesh_sklearn.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,622 | 31.7875 | 118 | py |
kserve | kserve-master/test/e2e/logger/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/logger/test_logger.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... | 4,555 | 43.666667 | 113 | py |
kserve | kserve-master/test/e2e/logger/test_raw_logger.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... | 4,723 | 43.149533 | 113 | py |
kserve | kserve-master/test/e2e/predictor/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/predictor/test_autoscaling.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... | 7,547 | 36 | 108 | py |
kserve | kserve-master/test/e2e/predictor/test_canary.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... | 6,095 | 44.492537 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_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... | 5,050 | 38.155039 | 111 | py |
kserve | kserve-master/test/e2e/predictor/test_lightgbm.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... | 8,401 | 33.863071 | 94 | py |
kserve | kserve-master/test/e2e/predictor/test_mlflow.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,265 | 31.84058 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_multi_model_serving.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... | 7,947 | 31.178138 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_paddle.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... | 8,198 | 36.958333 | 120 | py |
kserve | kserve-master/test/e2e/predictor/test_pmml.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... | 7,977 | 41.21164 | 112 | py |
kserve | kserve-master/test/e2e/predictor/test_raw_deployment.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... | 6,206 | 33.292818 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_sklearn.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... | 13,148 | 35.123626 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_tensorflow.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... | 3,749 | 39.322581 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_torchserve.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... | 6,572 | 33.777778 | 92 | py |
kserve | kserve-master/test/e2e/predictor/test_triton.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... | 5,695 | 45.308943 | 114 | py |
kserve | kserve-master/test/e2e/predictor/test_xgboost.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... | 9,265 | 34.098485 | 91 | py |
kserve | kserve-master/test/e2e/qpext/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/qpext/test_qpext.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,459 | 35.041667 | 109 | py |
kserve | kserve-master/test/e2e/storagespec/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/storagespec/test_s3_storagespec.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... | 2,166 | 32.338462 | 92 | py |
kserve | kserve-master/test/e2e/transformer/__init__.py | 0 | 0 | 0 | py | |
kserve | kserve-master/test/e2e/transformer/test_raw_transformer.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,487 | 41.536585 | 119 | py |
kserve | kserve-master/test/e2e/transformer/test_transformer.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,781 | 44.566265 | 119 | py |
kserve | kserve-master/test/overlays/istio/istio_ingressgateway_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: istio-ingressgateway
namespace: istio-system
spec:
template:
spec:
containers:
- name: istio-proxy
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
... | 340 | 17.944444 | 28 | yaml |
kserve | kserve-master/test/overlays/istio/istiod_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: istiod
namespace: istio-system
spec:
template:
spec:
containers:
- name: discovery
resources:
requests:
cpu: 5m
memory: 32Mi
| 252 | 15.866667 | 26 | yaml |
kserve | kserve-master/test/overlays/istio/kustomization.yaml | apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- generated-manifest.yaml
patches:
- path: istio_ingressgateway_patch.yaml
- path: istiod_deployment_patch.yaml
| 189 | 18 | 43 | yaml |
kserve | kserve-master/test/overlays/knative/default/activator_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: activator
namespace: knative-serving
spec:
template:
spec:
containers:
- name: activator
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
mem... | 330 | 17.388889 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/default/autoscaler_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: autoscaler
namespace: knative-serving
spec:
template:
spec:
containers:
- name: autoscaler
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
m... | 332 | 17.5 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/default/controller_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: controller
namespace: knative-serving
spec:
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
m... | 332 | 17.5 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/default/domain_mapping_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: domain-mapping
namespace: knative-serving
spec:
template:
spec:
containers:
- name: domain-mapping
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
... | 340 | 17.944444 | 30 | yaml |
kserve | kserve-master/test/overlays/knative/default/domainmapping_webhook_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: domainmapping-webhook
namespace: knative-serving
spec:
template:
spec:
containers:
- name: domainmapping-webhook
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
c... | 354 | 18.722222 | 37 | yaml |
kserve | kserve-master/test/overlays/knative/default/kustomization.yaml | apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- serving-core.yaml
- release.yaml
patches:
- path: activator_deployment_patch.yaml
- path: autoscaler_deployment_patch.yaml
- path: controller_deployment_patch.yaml
- path: domain_mapping_deployment_patch.yaml
- path: domainmapping_webhook_pa... | 367 | 23.533333 | 44 | yaml |
kserve | kserve-master/test/overlays/knative/default/webhook_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook
namespace: knative-serving
spec:
template:
spec:
containers:
- name: webhook
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
memory:... | 326 | 17.166667 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/istio/kustomization.yaml | apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../default
patches:
- path: net_istio_webhook_patch.yaml
- path: net_istio_controller_deployment_patch.yaml
| 196 | 18.7 | 52 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/istio/net_istio_controller_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: net-istio-controller
namespace: knative-serving
spec:
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
... | 342 | 18.055556 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/istio/net_istio_webhook_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: net-istio-webhook
namespace: knative-serving
spec:
template:
spec:
containers:
- name: webhook
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
... | 336 | 17.722222 | 28 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/kourier/kustomization.yaml | apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../default/
patches:
- path: net_kourier_gateway_deployment_patch.yaml
- path: net_kourier_controller_deployment_patch.yaml
| 212 | 20.3 | 54 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/kourier/net_kourier_controller_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: net-kourier-controller
namespace: knative-serving
spec:
template:
spec:
containers:
- name: controller
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m
... | 344 | 18.166667 | 30 | yaml |
kserve | kserve-master/test/overlays/knative/overlays/kourier/net_kourier_gateway_deployment_patch.yaml | apiVersion: apps/v1
kind: Deployment
metadata:
name: 3scale-kourier-gateway
namespace: kourier-system
spec:
template:
spec:
containers:
- name: kourier-gateway
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 5m... | 348 | 18.388889 | 31 | yaml |
kserve | kserve-master/test/scripts/aws/create-cluster.sh | #!/bin/bash
# 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 a... | 1,209 | 29.25 | 74 | sh |
kserve | kserve-master/test/scripts/aws/delete-cluster.sh | #!/bin/bash
# Copyright 2019 The Kubeflow 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... | 888 | 30.75 | 74 | sh |
kserve | kserve-master/test/scripts/aws/post-e2e-tests.sh | #!/bin/bash
# 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 a... | 1,231 | 32.297297 | 102 | sh |
kserve | kserve-master/test/scripts/aws/run-e2e-tests.sh | #!/bin/bash
# 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 a... | 4,905 | 34.042857 | 179 | sh |
kserve | kserve-master/test/scripts/gh-actions/build-images.sh | #!/bin/bash
# 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 a... | 1,317 | 30.380952 | 80 | sh |
kserve | kserve-master/test/scripts/gh-actions/build-qpext-image.sh | #!/bin/bash
# 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 a... | 945 | 30.533333 | 74 | sh |
kserve | kserve-master/test/scripts/gh-actions/build-server-runtimes.sh | #!/bin/bash
# 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 a... | 2,695 | 34.473684 | 93 | sh |
kserve | kserve-master/test/scripts/gh-actions/check-poetry-lockfile.sh | #!/bin/bash
# Copyright 2023 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 a... | 1,242 | 26.622222 | 81 | sh |
kserve | kserve-master/test/scripts/gh-actions/run-e2e-tests.sh | #!/bin/bash
# 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 a... | 876 | 30.321429 | 74 | sh |
kserve | kserve-master/test/scripts/gh-actions/run-qpext-test.sh | #!/bin/bash
# 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 a... | 870 | 30.107143 | 74 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-deps.sh | #!/bin/bash
# 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 a... | 3,900 | 39.216495 | 188 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-kourier.sh | #!/bin/bash
# Copyright 2023 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 a... | 3,198 | 41.653333 | 188 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-kserve-helm.sh | #!/bin/bash
# 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 a... | 1,683 | 32.019608 | 93 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-kserve.sh | #!/bin/bash
# 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 a... | 1,466 | 32.340909 | 88 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-modelmesh-dep.sh | #!/bin/bash
# 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 a... | 3,215 | 20.583893 | 74 | sh |
kserve | kserve-master/test/scripts/gh-actions/setup-poetry.sh | #!/bin/bash
# Copyright 2023 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 a... | 1,051 | 30.878788 | 74 | sh |
kserve | kserve-master/test/scripts/gh-actions/status-check.sh | #!/bin/bash
sleep 10
df -T
docker image ls
kubectl get pods -n kserve
kubectl get pods -n kserve-ci-e2e-test
kubectl describe pods -n kserve-ci-e2e-test
kubectl get events -n kserve-ci-e2e-test
kubectl logs -l control-plane=kserve-controller-manager -n kserve -c manager
kubectl logs -l 'component in (predictor)' -c k... | 699 | 40.176471 | 134 | sh |
kserve | kserve-master/test/scripts/gh-actions/update-test-overlays.sh | #!/bin/bash
# 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 a... | 1,129 | 39.357143 | 118 | sh |
kserve | kserve-master/tools/tf2openapi/DEVELOPER_GUIDE.md | # Development
This doc explains how to setup your developer environment to contribute to
Tf2OpenAPI.
## Prerequisites
### Install requirements
1. [`go`](https://golang.org/doc/install): Tf2OpenAPI is written in Go.
1. [`git`](https://docs.github.com/en/get-started/quickstart/set-up-git): For source control.
1. [`dep`]... | 1,786 | 58.566667 | 340 | md |
kserve | kserve-master/tools/tf2openapi/README.md | # Tf2OpenAPI
This tool takes TensorFlow SavedModel files as inputs and generates OpenAPI 3.0 specifications for HTTP prediction requests. The SavedModel files must contain signature definitions (SignatureDefs) for models.
## Usage
```
Usage:
tf2openapi [flags]
Required Flags:
-m, --model_base_path string ... | 3,622 | 71.46 | 540 | md |
kserve | kserve-master/tools/tf2openapi/cmd/e2e_test.go | package main
import (
"encoding/json"
"fmt"
"os"
"os/exec"
"path/filepath"
"testing"
"github.com/getkin/kin-openapi/openapi3"
"github.com/onsi/gomega"
gomegaTypes "github.com/onsi/gomega/types"
"github.com/kserve/kserve/tools/tf2openapi/types"
)
// Functional E2E example
func TestFunctionalDifferentFlags(... | 6,941 | 36.524324 | 170 | go |
kserve | kserve-master/tools/tf2openapi/cmd/main.go | package main
import (
"fmt"
"log"
"os"
"github.com/golang/protobuf/proto"
pb "github.com/kserve/kserve/tools/tf2openapi/generated/protobuf"
"github.com/kserve/kserve/tools/tf2openapi/generator"
"github.com/spf13/cobra"
)
// Known error messages
const (
ModelBasePathError = "Error reading file %s \n%s"
Ou... | 3,054 | 28.375 | 125 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/allocation_description.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/allocation_description.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.E... | 5,564 | 39.620438 | 145 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/api_def.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/api_def.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = m... | 19,791 | 36.843212 | 158 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/attr_value.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/attr_value.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ ... | 13,777 | 31.961722 | 195 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/cost_graph.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/cost_graph.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ ... | 16,815 | 40.014634 | 208 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/device_attributes.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/device_attributes.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf... | 11,447 | 36.782178 | 150 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/function.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/function.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = ... | 10,438 | 39.937255 | 189 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/graph.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/graph.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = mat... | 6,009 | 39.066667 | 112 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/graph_transfer_info.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/graph_transfer_info.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Erro... | 24,596 | 39.322951 | 181 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/iterator.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/iterator.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = ... | 3,846 | 38.659794 | 96 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/kernel_def.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/kernel_def.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ ... | 9,175 | 37.554622 | 135 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/log_memory.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/log_memory.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ ... | 17,349 | 36.964989 | 133 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/node_def.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/node_def.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = ... | 9,867 | 42.471366 | 182 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/op_def.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/op_def.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = ma... | 20,282 | 37.054409 | 174 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/reader_base.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/reader_base.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _... | 4,633 | 39.295652 | 151 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/remote_fused_graph_execute_info.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/remote_fused_graph_execute_info.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var ... | 10,517 | 47.694444 | 239 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/resource_handle.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/resource_handle.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
v... | 5,117 | 38.369231 | 135 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/step_stats.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/step_stats.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ ... | 24,757 | 38.996769 | 235 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/summary.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/summary.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = m... | 25,872 | 35.647309 | 150 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/tensor.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/tensor.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = ma... | 12,714 | 38.123077 | 159 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/tensor_description.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/tensor_description.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Error... | 4,570 | 41.324074 | 172 | go |
kserve | kserve-master/tools/tf2openapi/generated/framework/tensor_shape.pb.go | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/tensor_shape.proto
package framework
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var ... | 6,656 | 38.625 | 128 | go |