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 |
|---|---|---|---|---|---|---|
training-operator | training-operator-master/pkg/util/train/train_util_test.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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 1,155 | 20.811321 | 81 | go |
training-operator | training-operator-master/scripts/copy-to-gopath.sh | #!/bin/bash
# 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... | 1,058 | 32.09375 | 74 | sh |
training-operator | training-operator-master/scripts/setup-tf-operator.sh | #!/bin/bash
# Copyright 2018 The Kubernetes 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 ... | 1,595 | 32.957447 | 98 | sh |
training-operator | training-operator-master/scripts/setup-training-operator.sh | #!/bin/bash
# Copyright 2021 The Kubernetes 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 ... | 1,676 | 33.22449 | 99 | sh |
training-operator | training-operator-master/scripts/gha/build-image.sh | #!/bin/bash
# Copyright 2022 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... | 787 | 30.52 | 83 | sh |
training-operator | training-operator-master/scripts/gha/setup-training-operator.sh | #!/bin/bash
# Copyright 2021 The Kubernetes 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 ... | 3,760 | 46.0125 | 135 | sh |
training-operator | training-operator-master/sdk/python/README.md | # Kubeflow Training SDK
Python SDK for Training Operator
## Requirements.
Python 2.7 and 3.5+
## Installation & Usage
### pip install
```sh
pip install kubeflow-training
```
Then import the package:
```python
from kubeflow import training
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/s... | 4,650 | 49.554348 | 167 | md |
training-operator | training-operator-master/sdk/python/setup.py | # Copyright 2019 kubeflow.org.
#
# 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,... | 2,253 | 34.777778 | 74 | py |
training-operator | training-operator-master/sdk/python/conformance/run.sh | #!/bin/sh
# Run conformance test and generate test report.
pytest test/e2e/ --namespace=kf-conformance -v | tee /tmp/training-operator-conformance.log
# Create the done file.
touch /tmp/training-operator-conformance.done
echo "Done..."
# Keep the container running so the test logs can be downloaded.
while true; do s... | 336 | 29.636364 | 91 | sh |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1ElasticPolicy.md | # KubeflowOrgV1ElasticPolicy
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**max_replicas** | **int** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas, defaults to null. | [optional]
**max_restarts... | 2,196 | 103.619048 | 632 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1JobCondition.md | # KubeflowOrgV1JobCondition
JobCondition describes the state of the job at a certain point.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_transition_time** | [**datetime**](V1Time.md) | | [optional]
**last_update_time** | [**datetime**](V1Time.md)... | 853 | 49.235294 | 161 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1JobStatus.md | # KubeflowOrgV1JobStatus
JobStatus represents the current observed state of the training Job.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**completion_time** | [**datetime**](V1Time.md) | | [optional]
**conditions** | [**list[KubeflowOrgV1JobCondition]... | 932 | 57.3125 | 208 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MPIJob.md | # KubeflowOrgV1MPIJob
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may rej... | 1,195 | 78.733333 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MPIJobList.md | # KubeflowOrgV1MPIJobList
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may... | 1,097 | 77.428571 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MPIJobSpec.md | # KubeflowOrgV1MPIJobSpec
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**clean_pod_policy** | **str** | CleanPodPolicy defines the policy that whether to kill pods after the job completes. Defaults to None. | [optional]
**main_container** | **str** | Mai... | 1,026 | 67.466667 | 238 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MXJob.md | # KubeflowOrgV1MXJob
MXJob is the Schema for the mxjobs API
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to ... | 1,231 | 76 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MXJobList.md | # KubeflowOrgV1MXJobList
MXJobList contains a list of MXJob
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to ... | 1,129 | 74.333333 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1MXJobSpec.md | # KubeflowOrgV1MXJobSpec
MXJobSpec defines the desired state of MXJob
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**job_mode** | **str** | JobMode specify the kind of MXjob to do. Different mode may have different MXReplicaSpecs request | [default to '']... | 892 | 62.785714 | 326 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PaddleElasticPolicy.md | # KubeflowOrgV1PaddleElasticPolicy
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**max_replicas** | **int** | upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas, defaults to null. | [optional]
**max_re... | 1,386 | 98.071429 | 632 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PaddleJob.md | # KubeflowOrgV1PaddleJob
PaddleJob Represents a PaddleJob resource.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized sch... | 1,247 | 77 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PaddleJobList.md | # KubeflowOrgV1PaddleJobList
PaddleJobList is a list of PaddleJobs.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized sch... | 1,164 | 76.666667 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PaddleJobSpec.md | # KubeflowOrgV1PaddleJobSpec
PaddleJobSpec is a desired state description of the PaddleJob.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**elastic_policy** | [**KubeflowOrgV1PaddleElasticPolicy**](KubeflowOrgV1PaddleElasticPolicy.md) | | [optional]
**pa... | 876 | 61.642857 | 315 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PyTorchJob.md | # KubeflowOrgV1PyTorchJob
PyTorchJob Represents a PyTorchJob resource.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized ... | 1,252 | 77.3125 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PyTorchJobList.md | # KubeflowOrgV1PyTorchJobList
PyTorchJobList is a list of PyTorchJobs.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized ... | 1,170 | 77.066667 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1PyTorchJobSpec.md | # KubeflowOrgV1PyTorchJobSpec
PyTorchJobSpec is a desired state description of the PyTorchJob.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**elastic_policy** | [**KubeflowOrgV1ElasticPolicy**](KubeflowOrgV1ElasticPolicy.md) | | [optional]
**nproc_per_n... | 1,131 | 74.466667 | 320 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1RDZVConf.md | # KubeflowOrgV1RDZVConf
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** | | [optional]
**value** | **str** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for... | 371 | 30 | 161 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1ReplicaSpec.md | # KubeflowOrgV1ReplicaSpec
ReplicaSpec is a description of the replica
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**replicas** | **int** | Replicas is the desired number of replicas of the given template. If unspecified, defaults to 1. | [optional]
**r... | 717 | 50.285714 | 161 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1ReplicaStatus.md | # KubeflowOrgV1ReplicaStatus
ReplicaStatus represents the current observed state of the replica.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **int** | The number of actively running pods. | [optional]
**failed** | **int** | The number of po... | 925 | 56.875 | 224 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1RunPolicy.md | # KubeflowOrgV1RunPolicy
RunPolicy encapsulates various runtime policies of the distributed training job, for example how to clean up resources and how long the job can stay active.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active_deadline_seconds** ... | 1,253 | 77.375 | 231 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1SchedulingPolicy.md | # KubeflowOrgV1SchedulingPolicy
SchedulingPolicy encapsulates various scheduling policies of the distributed training job, for example `minAvailable` for gang-scheduling.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min_available** | **int** | | [optio... | 706 | 43.1875 | 161 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1TFJob.md | # KubeflowOrgV1TFJob
TFJob represents a TFJob resource.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the ... | 1,227 | 75.75 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1TFJobList.md | # KubeflowOrgV1TFJobList
TFJobList is a list of TFJobs.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the ... | 1,140 | 75.066667 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1TFJobSpec.md | # KubeflowOrgV1TFJobSpec
TFJobSpec is a desired state description of the TFJob.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**enable_dynamic_worker** | **bool** | A switch to enable dynamic worker | [optional]
**run_policy** | [**KubeflowOrgV1RunPolicy*... | 971 | 63.8 | 287 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1XGBoostJob.md | # KubeflowOrgV1XGBoostJob
XGBoostJob is the Schema for the xgboostjobs API
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recogni... | 1,256 | 77.5625 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1XGBoostJobList.md | # KubeflowOrgV1XGBoostJobList
XGBoostJobList contains a list of XGBoostJob
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recogni... | 1,154 | 76 | 331 | md |
training-operator | training-operator-master/sdk/python/docs/KubeflowOrgV1XGBoostJobSpec.md | # KubeflowOrgV1XGBoostJobSpec
XGBoostJobSpec defines the desired state of XGBoostJob
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**run_policy** | [**KubeflowOrgV1RunPolicy**](KubeflowOrgV1RunPolicy.md) | |
**xgb_replica_specs** | [**dict(str, KubeflowO... | 540 | 40.615385 | 161 | md |
training-operator | training-operator-master/sdk/python/docs/PyTorchJobClient.md | # PyTorchJobClient
> PyTorchJobClient(config_file=None, context=None, client_configuration=None, persist_config=True)
User can loads authentication and cluster information from kube-config file and stores them in kubernetes.client.configuration. Parameters are as following:
parameter | Description
------------ | --... | 13,361 | 33.887728 | 315 | md |
training-operator | training-operator-master/sdk/python/docs/TFJobClient.md | # TFJobClient
> TFJobClient(config_file=None, context=None, client_configuration=None, persist_config=True)
User can loads authentication and cluster information from kube-config file and stores them in kubernetes.client.configuration. Parameters are as following:
parameter | Description
------------ | ------------... | 12,482 | 31.936675 | 305 | md |
training-operator | training-operator-master/sdk/python/kubeflow/__init__.py | __path__ = __import__('pkgutil').extend_path(__path__, __name__) | 64 | 64 | 64 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/__init__.py | # coding: utf-8
# flake8: noqa
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
__version__ = "1.5.0"
# import apis into sdk package
# impo... | 3,283 | 54.661017 | 107 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/api_client.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import atexit
import datetime
from dateutil.parser import parse
import json
imp... | 26,195 | 38.274363 | 96 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/configuration.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import copy
import logging
import multiprocessing
import sys
import urllib3
... | 12,387 | 31.859416 | 85 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/exceptions.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import six
class OpenApiException(Exception):
"""The base exception class for all OpenAPIExceptions"""
class ... | 3,725 | 29.793388 | 74 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/rest.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import io
import json
import logging
import re
import ssl
import certifi
# p... | 12,260 | 40.989726 | 134 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/api/__init__.py | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
| 87 | 13.666667 | 38 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/api/training_client.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... | 59,023 | 34.53522 | 166 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/constants/__init__.py | # Copyright 2019 kubeflow.org.
#
# 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,... | 576 | 40.214286 | 74 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/constants/constants.py | # Copyright 2021 kubeflow.org.
#
# 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,... | 3,478 | 29.787611 | 82 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/__init__.py | # coding: utf-8
# flake8: noqa
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
# Import Kubernetes models.
from kubernetes.client import *
#... | 2,822 | 59.06383 | 107 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 14,017 | 34.669211 | 544 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_job_condition.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 8,038 | 29.800766 | 165 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_job_status.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,369 | 31.183406 | 173 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,328 | 31.004367 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,881 | 32.735294 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 8,051 | 33.410256 | 176 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,301 | 30.886463 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,858 | 32.622549 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,264 | 33.805556 | 219 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,819 | 36.777778 | 544 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,409 | 31.358079 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,034 | 33.150485 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,213 | 34.107345 | 214 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,436 | 31.475983 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,059 | 33.271845 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,547 | 35.819512 | 235 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 3,884 | 25.428571 | 90 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_replica_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 5,452 | 29.80791 | 133 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_replica_status.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,154 | 29.708155 | 207 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_run_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 8,458 | 35.304721 | 198 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_scheduling_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,938 | 29.84 | 172 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,301 | 30.886463 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,934 | 32.665049 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,258 | 34.067633 | 190 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 7,436 | 31.475983 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 6,973 | 33.186275 | 312 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from kubeflow.training.configuration import Configuration
class ... | 4,813 | 31.308725 | 109 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/utils/__init__.py | # Copyright 2019 kubeflow.org.
#
# 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,... | 576 | 40.214286 | 74 | py |
training-operator | training-operator-master/sdk/python/kubeflow/training/utils/utils.py | # Copyright 2021 kubeflow.org.
#
# 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,... | 9,600 | 27.321534 | 95 | py |
training-operator | training-operator-master/sdk/python/test/__init__.py | 0 | 0 | 0 | py | |
training-operator | training-operator-master/sdk/python/test/conftest.py | import pytest
def pytest_addoption(parser):
parser.addoption("--namespace", action="store", default="default")
@pytest.fixture
def job_namespace(request):
return request.config.getoption("--namespace")
| 213 | 20.4 | 70 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 2,074 | 29.072464 | 116 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_job_condition.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,738 | 27.983333 | 114 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_job_status.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 2,305 | 31.027778 | 108 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mpi_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 3,776 | 37.151515 | 108 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 7,277 | 45.954839 | 116 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 2,801 | 34.025 | 111 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mx_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 3,667 | 36.814433 | 108 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 7,034 | 45.589404 | 116 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 3,415 | 36.130435 | 109 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,733 | 28.896552 | 129 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_paddle_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 4,031 | 38.145631 | 108 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 7,830 | 47.042945 | 117 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 3,719 | 37.350515 | 117 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 4,575 | 38.791304 | 111 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 9,103 | 47.684492 | 120 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 4,213 | 37.66055 | 120 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,483 | 26.481481 | 106 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_replica_spec.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,563 | 27.436364 | 112 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_replica_status.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,646 | 27.894737 | 116 | py |
training-operator | training-operator-master/sdk/python/test/test_kubeflow_org_v1_run_policy.py | # coding: utf-8
"""
Kubeflow Training SDK
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import datetime
from kubeflow.training.models import *
from ... | 1,988 | 30.078125 | 108 | py |