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
pipelines
pipelines-master/backend/src/v2/objectstore/object_store_test.go
// Copyright 2021 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
6,067
25.614035
110
go
pipelines
pipelines-master/backend/src/v2/test/README.md
# Kubeflow Pipelines Sample Test Infra V2 The following tests are running on sample test infra v2: * kubeflow-pipelines-samples-v2 * kubeflow-pipelines-integration-v2 Note, the sample test only runs on Google Cloud at the moment. Welcome contribution if you want to adapt it to other platforms. Quick Links: * [prow...
6,977
41.809816
303
md
pipelines
pipelines-master/backend/src/v2/test/integration-test.sh
#!/bin/bash # # Copyright 2021 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 o...
821
30.615385
74
sh
pipelines
pipelines-master/backend/src/v2/test/presubmit-v2-go-test.sh
#!/bin/bash # # Copyright 2021 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
2,460
40.711864
224
sh
pipelines
pipelines-master/backend/src/v2/test/presubmit.sh
#!/bin/bash # # Copyright 2021 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 o...
704
32.571429
74
sh
pipelines
pipelines-master/backend/src/v2/test/sample-test.sh
#!/bin/bash # # Copyright 2021 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 o...
1,023
30.030303
77
sh
pipelines
pipelines-master/backend/src/v2/test/sample_test.py
# Copyright 2021 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 agreed to in...
6,366
37.587879
100
py
pipelines
pipelines-master/backend/src/v2/test/components/build_go.yaml
# Copyright 2021 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 agreed to in...
2,502
34.253521
112
yaml
pipelines
pipelines-master/backend/src/v2/test/components/download_gcs_tgz.yaml
# Copyright 2021 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 agreed to in...
1,038
29.558824
74
yaml
pipelines
pipelines-master/backend/src/v2/test/components/kaniko.yaml
# Copyright 2021 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 agreed to in...
3,300
36.942529
112
yaml
pipelines
pipelines-master/backend/src/v2/test/components/run_sample.yaml
# Copyright 2021 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 agreed to in...
2,057
33.3
92
yaml
pipelines
pipelines-master/backend/src/v2/test/scripts/ci-env.sh
# Copyright 2021 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 agreed to in...
1,312
36.514286
126
sh
pipelines
pipelines-master/backend/src/v2/test/scripts/install-docker-cred-gcr.sh
#!/bin/bash # # Copyright 2021 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
1,127
42.384615
159
sh
pipelines
pipelines-master/backend/src/v2/test/scripts/upload_gcs_blob.py
from google.cloud import storage # This function is mainly written for environments without gsutil. def upload_blob(source: str, destination: str): """Uploads a file to the bucket.""" # source = "local/path/to/file" # destination = "gs://your-bucket-name/storage-object-name" storage_client = storage....
572
26.285714
66
py
pipelines
pipelines-master/backend/test/test_utils.go
// Copyright 2018 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
10,519
34.420875
186
go
pipelines
pipelines-master/backend/test/initialization/flags.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
1,004
36.222222
125
go
pipelines
pipelines-master/backend/test/initialization/initialization_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
2,198
30.414286
111
go
pipelines
pipelines-master/backend/test/integration/README.md
## Api Server Integration Tests ### WARNING **These integration tests will delete all the data in your KFP instance, please only use a test cluster to run these.** ### How to run 1. Configure kubectl to connect to your kfp cluster. 2. Run the following for all integration tests: `NAMESPACE=<kfp-namespace> ./run_test...
502
40.916667
119
md
pipelines
pipelines-master/backend/test/integration/experiment_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
16,015
38.840796
142
go
pipelines
pipelines-master/backend/test/integration/flags.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
1,739
40.428571
129
go
pipelines
pipelines-master/backend/test/integration/healthz_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
2,439
24.154639
83
go
pipelines
pipelines-master/backend/test/integration/job_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
31,425
37.797531
181
go
pipelines
pipelines-master/backend/test/integration/pipeline_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
12,310
40.451178
152
go
pipelines
pipelines-master/backend/test/integration/pipeline_version_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
15,839
40.25
181
go
pipelines
pipelines-master/backend/test/integration/run_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
20,446
40.643585
199
go
pipelines
pipelines-master/backend/test/integration/run_tests_locally.sh
#!/bin/bash # Copyright 2018-2023 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 la...
1,261
31.358974
98
sh
pipelines
pipelines-master/backend/test/integration/upgrade_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
25,099
36.57485
228
go
pipelines
pipelines-master/backend/test/integration/visualization_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
2,841
29.891304
117
go
pipelines
pipelines-master/backend/test/resources/arguments-parameters.yaml
# Copyright 2018 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 agreed to in...
1,089
27.684211
74
yaml
pipelines
pipelines-master/backend/test/resources/hello-world.yaml
# Copyright 2018 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 agreed to in...
874
31.407407
74
yaml
pipelines
pipelines-master/backend/test/resources/long-running.yaml
# Copyright 2018 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 agreed to in...
1,231
28.333333
74
yaml
pipelines
pipelines-master/backend/test/resources/loops.yaml
# Copyright 2018 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 agreed to in...
1,194
27.452381
74
yaml
pipelines
pipelines-master/backend/test/resources/v2-hello-world.yaml
components: comp-hello-world: executorLabel: exec-hello-world inputDefinitions: parameters: text: parameterType: STRING deploymentSpec: executors: exec-hello-world: container: args: - "--text" - "{{$.inputs.parameters['text']}}" command: ...
1,366
23.410714
105
yaml
pipelines
pipelines-master/backend/test/v2/test_utils.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
7,260
37.015707
204
go
pipelines
pipelines-master/backend/test/v2/initialization/README.md
## Api Server Integration Tests ### WARNING **These integration tests will delete all the data in your KFP instance, please only use a test cluster to run these.** ### How to run 1. Configure kubectl to connect to your kfp cluster. 2. Run the following for all integration tests: `NAMESPACE=<kfp-namespace> ./run_test...
502
40.916667
119
md
pipelines
pipelines-master/backend/test/v2/initialization/flags.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
1,004
36.222222
125
go
pipelines
pipelines-master/backend/test/v2/initialization/initialization_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
2,211
30.6
111
go
pipelines
pipelines-master/backend/test/v2/integration/experiment_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
16,391
40.923274
147
go
pipelines
pipelines-master/backend/test/v2/integration/flags.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
1,739
40.428571
129
go
pipelines
pipelines-master/backend/test/v2/integration/healthz_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
2,008
24.43038
83
go
pipelines
pipelines-master/backend/test/v2/integration/pipeline_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
12,089
42.024911
166
go
pipelines
pipelines-master/backend/test/v2/integration/pipeline_version_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
14,085
39.477011
210
go
pipelines
pipelines-master/backend/test/v2/integration/recurring_run_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
30,570
41.400832
199
go
pipelines
pipelines-master/backend/test/v2/integration/run_api_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
17,203
37.660674
169
go
pipelines
pipelines-master/backend/test/v2/integration/upgrade_test.go
// Copyright 2018-2023 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
23,173
37.495017
189
go
pipelines
pipelines-master/backend/test/v2/resources/arguments-parameters.py
# Copyright 2023 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 agreed to in...
1,008
30.53125
74
py
pipelines
pipelines-master/backend/test/v2/resources/arguments-parameters.yaml
# PIPELINE DEFINITION # Name: whalesay # Inputs: # param1: str [Default: 'hello'] # param2: str components: comp-whalesay: executorLabel: exec-whalesay inputDefinitions: parameters: param1: parameterType: STRING param2: parameterType: STRING deploymentSpec: ex...
1,126
21.098039
83
yaml
pipelines
pipelines-master/backend/test/v2/resources/hello-world.py
# Copyright 2023 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 agreed to in...
920
29.7
74
py
pipelines
pipelines-master/backend/test/v2/resources/hello-world.yaml
# PIPELINE DEFINITION # Name: whalesay components: comp-whalesay: executorLabel: exec-whalesay deploymentSpec: executors: exec-whalesay: container: args: - hello world command: - cowsay image: docker/whalesay:latest pipelineInfo: name: whalesay root: dag: ...
543
17.758621
37
yaml
pipelines
pipelines-master/backend/test/v2/resources/long-running.py
# Copyright 2023 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 agreed to in...
1,046
28.083333
74
py
pipelines
pipelines-master/backend/test/v2/resources/long-running.yaml
# PIPELINE DEFINITION # Name: wait-awhile components: comp-wait-op: executorLabel: exec-wait-op comp-wait-op-2: executorLabel: exec-wait-op-2 deploymentSpec: executors: exec-wait-op: container: args: - echo step-1 sleeping for 5m; sleep 300; echo done1 command: - ...
1,026
19.959184
60
yaml
pipelines
pipelines-master/backend/test/v2/resources/sequential.py
# Copyright 2023 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 agreed to in...
1,267
27.818182
74
py
pipelines
pipelines-master/backend/test/v2/resources/sequential.yaml
# PIPELINE DEFINITION # Name: sequential # Inputs: # url: str components: comp-download: executorLabel: exec-download inputDefinitions: parameters: url: parameterType: STRING outputDefinitions: parameters: downloaded: parameterType: STRING comp-echo: ...
1,688
20.935065
101
yaml
pipelines
pipelines-master/components/README.md
# Components for Kubeflow Pipelines Kubeflow Pipelines system orchestrates pipeline graphs of containerized command-line programs. Components are the building blocks of pipelines. Component definition files describe component interface (inputs and outputs) and implementation (how to call the containerized program). Us...
424
52.125
136
md
pipelines
pipelines-master/components/build_image.sh
#!/bin/bash -e # Copyright 2018 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 ...
2,020
32.683333
106
sh
pipelines
pipelines-master/components/test_load_all_components.sh
#!/bin/bash -e # # 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 la...
2,015
39.32
96
sh
pipelines
pipelines-master/components/PyTorch/Convert_to_OnnxModel_from_PyTorchScriptModule/component.py
from kfp.components import create_component_from_func, InputPath, OutputPath def convert_to_onnx_from_pytorch_script_module( model_path: InputPath('PyTorchScriptModule'), converted_model_path: OutputPath('OnnxModel'), list_of_input_shapes: list, ): '''Creates fully-connected network in PyTorch ScriptM...
1,380
36.324324
185
py
pipelines
pipelines-master/components/PyTorch/Convert_to_OnnxModel_from_PyTorchScriptModule/component.yaml
name: Convert to onnx from pytorch script module description: Creates fully-connected network in PyTorch ScriptModule format metadata: annotations: author: Alexey Volkov <alexey.volkov@ark-kun.com> canonical_location: 'https://raw.githubusercontent.com/Ark-kun/pipeline_components/master/components/PyTorch/Con...
2,627
38.818182
174
yaml
pipelines
pipelines-master/components/PyTorch/Create_PyTorch_Model_Archive/component.yaml
name: Create PyTorch Model Archive inputs: - {name: Model, type: PyTorchScriptModule} - {name: Model name, type: String, default: model} - {name: Model version, type: String, default: "1.0"} - {name: Handler, type: PythonCode, description: "See https://github.com/pytorch/serve/blob/master/docs/custom_service.md"} outpu...
1,547
37.7
157
yaml
pipelines
pipelines-master/components/PyTorch/Create_fully_connected_network/component.py
from kfp.components import create_component_from_func, OutputPath def create_fully_connected_pytorch_network( layer_sizes: list, network_path: OutputPath('PyTorchScriptModule'), activation_name: str = 'relu', random_seed: int = 0, ): '''Creates fully-connected network in PyTorch ScriptModule format...
1,701
36.822222
170
py
pipelines
pipelines-master/components/PyTorch/Create_fully_connected_network/component.yaml
name: Create fully connected pytorch network description: Creates fully-connected network in PyTorch ScriptModule format metadata: annotations: author: Alexey Volkov <alexey.volkov@ark-kun.com> canonical_location: 'https://raw.githubusercontent.com/Ark-kun/pipeline_components/master/components/PyTorch/Create_...
3,369
39.119048
164
yaml
pipelines
pipelines-master/components/PyTorch/Train_PyTorch_model/from_CSV/component.py
from kfp.components import create_component_from_func, InputPath, OutputPath def train_pytorch_model_from_csv( model_path: InputPath('PyTorchScriptModule'), training_data_path: InputPath('CSV'), trained_model_path: OutputPath('PyTorchScriptModule'), label_column_name: str, loss_function_name: str =...
4,962
41.784483
168
py
pipelines
pipelines-master/components/PyTorch/Train_PyTorch_model/from_CSV/component.yaml
name: Train pytorch model from csv description: Trains PyTorch model metadata: annotations: author: Alexey Volkov <alexey.volkov@ark-kun.com> canonical_location: 'https://raw.githubusercontent.com/Ark-kun/pipeline_components/master/components/PyTorch/Train_PyTorch_model/from_CSV/component.yaml' inputs: - {nam...
9,529
44.380952
171
yaml
pipelines
pipelines-master/components/PyTorch/_samples/Train_fully-connected_network.pipeline.py
from kfp import components chicago_taxi_dataset_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/e3337b8bdcd63636934954e592d4b32c95b49129/components/datasets/Chicago%20Taxi/component.yaml') pandas_transform_csv_op = components.load_component_from_url('https://raw.githubuse...
3,627
51.57971
259
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/README.md
# PyTorch Kubeflow Pipeline Components PyTorch Kubeflow Pipeline Components provides an SDK and a set of components that lets you build kubeflow pipelines using PyTorch. You can use the predefined components in this repository to build your pipeline using the Kubeflow Pipelines SDK. ## Installation ### Requirements P...
1,071
26.487179
244
md
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/setup.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
3,342
30.537736
107
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/__init__.py
#!/usr/bin/env python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
680
36.833333
74
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/base/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/base/base_component.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
3,717
31.051724
79
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/base/base_executor.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
1,674
37.068182
102
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/mar/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/mar/component.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
2,429
33.714286
79
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/mar/executor.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
9,248
35.270588
99
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/minio/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/minio/component.py
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
2,229
32.787879
79
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/minio/executor.py
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
7,297
37.819149
111
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/trainer/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/trainer/component.py
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
3,285
36.770115
80
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/trainer/executor.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
4,551
36.311475
111
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/trainer/generic_executor.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
4,259
35.410256
111
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/utils/__init__.py
# !/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 ...
618
43.214286
74
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/utils/argument_parsing.py
# !/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 ...
1,623
34.304348
77
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/visualization/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/visualization/component.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
3,977
35.163636
79
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/components/visualization/executor.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
10,042
33.871528
79
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/types/__init__.py
0
0
0
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/pytorch_kfp_components/types/standard_component_specs.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
5,278
32.201258
87
py
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/ax_complete_trials_component.yaml
# Copyright (c) Facebook, Inc. and its affiliates. # 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 agr...
2,221
33.71875
108
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/ax_generate_trials_component.yaml
# Copyright (c) Facebook, Inc. and its affiliates. # 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 agr...
2,597
33.64
108
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/ax_train_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
2,287
37.779661
91
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/copy_component.yaml
name: Copy items description: Recursively copy directory contents. Set Artifact To Volume to true for copying contents from upstream component output -> volume and false to copying from volume to artifact (can be accessed as copy.outputs["destination_path"]). inputs: - {name: Artifact To Volume} - {name: Source Path} -...
835
25.967742
242
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/minio_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
1,470
34.878049
80
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/prediction_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
2,503
35.289855
146
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/preprocess_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
1,264
35.142857
90
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/tensorboard_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
2,168
35.762712
116
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/templates/train_component.yaml
#!/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 b...
1,908
38.770833
93
yaml
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/tests/presubmit.sh
#!/bin/bash -ex # # Copyright (c) Facebook, Inc. and its affiliates. # 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 ap...
1,069
31.424242
117
sh
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/tests/run_tests.sh
pip install -U tox virtualenv tox "$@"
38
18.5
29
sh
pipelines
pipelines-master/components/PyTorch/pytorch-kfp-components/tests/test_compile_yamls.py
#!/usr/bin/env/python3 # # Copyright (c) Facebook, Inc. and its affiliates. # 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...
32,967
39.352509
93
py