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
mpi-operator
mpi-operator-master/pkg/client/informers/externalversions/kubeflow/v2beta1/mpijob.go
// 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 agr...
3,656
40.089888
215
go
mpi-operator
mpi-operator-master/pkg/client/listers/kubeflow/v2beta1/expansion_generated.go
// 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 agr...
927
34.692308
75
go
mpi-operator
mpi-operator-master/pkg/client/listers/kubeflow/v2beta1/mpijob.go
// 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 agr...
3,405
33.755102
98
go
mpi-operator
mpi-operator-master/pkg/controller/mpi_job_controller.go
// Copyright 2020 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...
58,964
34.266148
137
go
mpi-operator
mpi-operator-master/pkg/controller/mpi_job_controller_status.go
// 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 agr...
5,223
35.027586
151
go
mpi-operator
mpi-operator-master/pkg/controller/mpi_job_controller_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...
52,506
30.403708
184
go
mpi-operator
mpi-operator-master/pkg/controller/podgroup.go
// 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 agr...
19,186
39.650424
153
go
mpi-operator
mpi-operator-master/pkg/controller/podgroup_test.go
// 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 agr...
25,334
28.562427
125
go
mpi-operator
mpi-operator-master/pkg/version/version.go
// 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 ...
1,292
27.108696
81
go
mpi-operator
mpi-operator-master/proposals/elastic-horovod.md
- [Motivation](#motivation) - [Goals](#goals) - [API](#api) - [Design](#design) - [Alternatives Considered](#alternatives-considered) ## Motivation With the introduction of Elastic Horovod, the allreduce-styled framework for distributed-data-parallel training is capable of dynamically modifying the number of worker ...
3,303
93.4
403
md
mpi-operator
mpi-operator-master/proposals/scalable-robust-operator.md
# A scalable and robust operator Authors: @alculquicondor, @ahg-g - [Motivation](#motivation) - [Goals](#goals) - [Background](#background) - [Design](#design) - [Alternatives Considered](#alternatives-considered) - [Appendix](#appendix-prototype-objects) ## Motivation A scalable MPI setup on Kubernetes is importan...
10,157
34.148789
123
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/README.md
# kubeflow Python SDK for MPI-Operator This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v2beta1 - Package version: 0.1 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. Python 2.7 and 3.4+ ...
1,977
22
119
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/setup.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import os import setuptools # Make sure everything is relative to setup.py install_path = os.path.dirname(os.path.abspath(__file__)) os....
2,297
31.828571
86
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/tensorflow-mnist.py
#!/usr/bin/env python # coding: utf-8 # In[1]: from kubernetes.client import V1PodTemplateSpec from kubernetes.client import V1ObjectMeta from kubernetes.client import V1PodSpec from kubernetes.client import V1Container from kubernetes.client import V1ResourceRequirements # In[2]: from mpijob import V1ReplicaSpe...
2,178
15.891473
54
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1JobCondition.md
# V1JobCondition JobCondition describes the state of the job at a certain point. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **last_transition_time** | [**V1Time**](V1Time.md) | | [optional] **last_update_time** | [**V1Time**](V1Time.md) | | [optiona...
839
45.666667
161
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1JobStatus.md
# V1JobStatus JobStatus represents the current observed state of the training Job. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **completion_time** | [**V1Time**](V1Time.md) | | [optional] **conditions** | [**list[V1JobCondition]**](V1JobCondition.md) ...
850
49.058824
175
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1ReplicaSpec.md
# V1ReplicaSpec 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] **restart_pol...
707
46.2
161
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1ReplicaStatus.md
# V1ReplicaStatus 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 pods which r...
915
52.882353
224
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1RunPolicy.md
# V1RunPolicy 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** | **int** ...
1,224
71.058824
231
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V1SchedulingPolicy.md
# V1SchedulingPolicy SchedulingPolicy encapsulates various scheduling policies of the distributed training job, for example `minAvailable` for gang-scheduling. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_available** | **int** | | [optional] **mi...
712
40.941176
161
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1JobCondition.md
# V2beta1JobCondition JobCondition describes the state of the job at a certain point. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **last_transition_time** | [**V1Time**](V1Time.md) | | [optional] **last_update_time** | [**V1Time**](V1Time.md) | | [op...
844
45.944444
161
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1JobStatus.md
# V2beta1JobStatus JobStatus represents the current observed state of the training Job. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **completion_time** | [**V1Time**](V1Time.md) | | [optional] **conditions** | [**list[V2beta1JobCondition]**](V2beta1Jo...
895
51.705882
196
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1MPIJob.md
# V2beta1MPIJob ## 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 reject u...
1,166
71.9375
331
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1MPIJobList.md
# V2beta1MPIJobList ## 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 reje...
1,069
70.333333
331
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1MPIJobSpec.md
# V2beta1MPIJobSpec ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **launcher_creation_policy** | **str** | launcherCreationPolicy if WaitForWorkersReady, the launcher is created only after all workers are in Ready state. Defaults to AtStartup. | [optional...
1,236
71.764706
214
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1ReplicaSpec.md
# V2beta1ReplicaSpec 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] **restar...
712
46.533333
161
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1ReplicaStatus.md
# V2beta1ReplicaStatus 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 pods wh...
920
53.176471
224
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1RunPolicy.md
# V2beta1RunPolicy 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** | **i...
1,805
99.333333
565
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/docs/V2beta1SchedulingPolicy.md
# V2beta1SchedulingPolicy SchedulingPolicy encapsulates various scheduling policies of the distributed training job, for example `minAvailable` for gang-scheduling. Now, it supports only for volcano and scheduler-plugins. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | -...
2,167
126.529412
380
md
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/__init__.py
# coding: utf-8 # flake8: noqa """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import __version__ = "0.1" # import apis into sdk package # import ApiClient from mpi...
1,290
30.487805
75
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/api_client.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import atexit import datetime from dateutil.parser import parse import json import mimetypes from ...
27,321
38.368876
96
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/configuration.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import copy import logging import multiprocessing import sys import urllib3 import six from six...
16,043
34.8125
98
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/exceptions.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import six class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" class ApiTypeError(OpenAp...
5,053
29.817073
78
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/rest.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import io import json import logging import re import ssl # python 2 and python 3 compatibility...
12,576
41.063545
137
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/api/__init__.py
from __future__ import absolute_import # flake8: noqa # import apis into api package
87
13.666667
38
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/__init__.py
# coding: utf-8 # flake8: noqa """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import # import models into model package from mpijob.models.v2beta1_job_condition impor...
864
32.269231
75
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_job_condition.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1JobCondition(o...
8,009
28.776952
165
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_job_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1JobStatus(obje...
7,648
31.004184
173
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_replica_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1ReplicaSpec(ob...
5,535
28.924324
133
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_replica_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1ReplicaStatus(...
7,164
28.73029
207
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_run_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1RunPolicy(obje...
8,493
34.244813
198
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v1_scheduling_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V1SchedulingPoli...
6,998
29.038627
172
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_job_condition.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1JobCondit...
8,149
29.297398
165
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_job_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1JobStatus...
7,468
30.514768
173
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1MPIJob(ob...
7,412
30.278481
312
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_list.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1MPIJobLis...
7,159
32.615023
312
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_mpi_job_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1MPIJobSpe...
9,679
34.851852
214
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_replica_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1ReplicaSp...
5,615
29.356757
133
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_replica_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1ReplicaSt...
7,284
29.228216
207
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_run_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1RunPolicy...
10,390
37.628253
548
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/mpijob/models/v2beta1_scheduling_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ import inspect import pprint import re # noqa: F401 import six from mpijob.configuration import Configuration class V2beta1Schedulin...
9,986
40.098765
344
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/__init__.py
0
0
0
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_job_condition.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_job_condition import V1JobC...
1,529
24.932203
79
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_job_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_job_status import V1JobStat...
2,801
30.840909
77
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_replica_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_replica_spec import V1Repli...
1,359
24.185185
77
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_replica_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_replica_status import V1Rep...
1,442
24.767857
81
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_run_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_run_policy import V1RunPoli...
1,773
27.15873
91
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v1_scheduling_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v1_scheduling_policy import V1...
1,553
25.793103
87
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_job_condition.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_job_condition import V...
1,528
25.824561
89
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_job_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_job_status import V2be...
2,154
29.352113
87
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_mpi_job.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_mpi_job import V2beta1...
3,569
35.428571
99
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_mpi_job_list.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_mpi_job_list import V2...
7,044
44.451613
107
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_mpi_job_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_mpi_job_spec import V2...
2,617
32.139241
95
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_replica_spec.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_replica_spec import V2...
1,414
25.203704
87
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_replica_status.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_replica_status import ...
1,497
25.75
91
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_run_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_run_policy import V2be...
1,828
28.031746
91
py
mpi-operator
mpi-operator-master/sdk/python/v2beta1/test/test_v2beta1_scheduling_policy.py
# coding: utf-8 """ mpijob Python SDK for MPI-Operator # noqa: E501 The version of the OpenAPI document: v2beta1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import mpijob from mpijob.models.v2beta1_scheduling_policy impo...
1,608
26.741379
97
py
mpi-operator
mpi-operator-master/test/e2e/e2e_suite_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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
9,249
36.148594
145
go
mpi-operator
mpi-operator-master/test/e2e/mpi_job_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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
26,243
35.859551
147
go
mpi-operator
mpi-operator-master/test/integration/doc.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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
707
38.333333
75
go
mpi-operator
mpi-operator-master/test/integration/main_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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
5,303
24.873171
238
go
mpi-operator
mpi-operator-master/test/integration/mpi_job_controller_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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
35,998
29.481795
187
go
LargeVis
LargeVis-master/LargeVis_run.py
import LargeVis import argparse parser = argparse.ArgumentParser() parser.add_argument('-fea', default = 1, type = int, help = 'whether to visualize high-dimensional feature vectors or networks') parser.add_argument('-input', default = '', help = 'input file') parser.add_argument('-output', default = '', help = 'outpu...
1,547
52.37931
137
py
LargeVis
LargeVis-master/README.md
#LargeVis This is the *official* implementation of the **LargeVis** model by the original authors, which is used to visualize large-scale and high-dimensional data [(Tang, Liu, Zhang and Mei)](https://arxiv.org/abs/1602.00370). It now supports visualizing both high-dimensional feature vectors and networks. The package ...
5,195
47.560748
401
md
LargeVis
LargeVis-master/plot.py
import numpy import matplotlib.pyplot as plt import argparse parser = argparse.ArgumentParser() parser.add_argument('-input', default = '', help = 'input file') parser.add_argument('-label', default = '', help = 'label file') parser.add_argument('-output', default = '', help = 'output file') parser.add_argument('-ran...
1,193
25.533333
84
py
LargeVis
LargeVis-master/Examples/CondMat/run_CondMat.sh
python ../../LargeVis_run.py -fea 0 -input CondMat_network.txt -output CondMat_vec2D.txt python ../../plot.py -input CondMat_vec2D.txt -output CondMat_plot -range 35
165
82
88
sh
LargeVis
LargeVis-master/Examples/MNIST/run_mnist.sh
unzip mnist_vec784D.txt.zip python ../../LargeVis_run.py -input mnist_vec784D.txt -output mnist_vec2D.txt python ../../plot.py -input mnist_vec2D.txt -label mnist_label.txt -output mnist_plot
192
47.25
85
sh
LargeVis
LargeVis-master/Linux/LargeVis.cpp
#include "LargeVis.h" #include <map> #include <float.h> LargeVis::LargeVis() { vec = vis = prob = NULL; knn_vec = old_knn_vec = NULL; annoy_index = NULL; head = alias = NULL; neg_table = NULL; } const gsl_rng_type *LargeVis::gsl_T = NULL; gsl_rng *LargeVis::gsl_r = NULL; void LargeVis::clean_model() { if (...
18,304
25.376081
176
cpp
LargeVis
LargeVis-master/Linux/LargeVis.h
#ifndef LARGEVIS_H #define LARGEVIS_H #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <vector> #include "ANNOY/annoylib.h" #include "ANNOY/kissrandom.h" #include <pthread.h> #include <gsl/gsl_rng.h> typedef float real; struct arg_struct{ void *ptr; int id; arg_struct(void *...
2,273
27.78481
218
h
LargeVis
LargeVis-master/Linux/LargeVismodule.cpp
#include "Python.h" #include "LargeVis.h" real *out_vec; LargeVis model; char *filename; static PyObject *Run(PyObject *self, PyObject *args) { long long out_dim = -1; long long n_samples = -1; long long n_threads = -1; long long n_negatives = -1; long long n_neighbors = -1; long long n_trees = -1; long long n...
3,575
26.090909
253
cpp
LargeVis
LargeVis-master/Linux/irun.sh
g++ LargeVis.cpp main.cpp -o LargeVis -lm -pthread -lgsl -lgslcblas -Ofast -march=native -ffast-math
100
100
100
sh
LargeVis
LargeVis-master/Linux/main.cpp
#include "LargeVis.h" #include <stdio.h> #include <stdlib.h> #include <string.h> char infile[1000], outfile[1000]; long long if_embed = 1, out_dim = -1, n_samples = -1, n_threads = -1, n_negative = -1, n_neighbors = -1, n_trees = -1, n_propagation = -1; real alpha = -1, n_gamma = -1, perplexity = -1; int ArgPos(char ...
3,319
50.076923
140
cpp
LargeVis
LargeVis-master/Linux/setup.py
from distutils.core import setup, Extension LargeVis = Extension('LargeVis', sources = ['LargeVis.cpp', 'LargeVismodule.cpp'], depends=['LargeVis.h'], include_dirs = ['/usr/local/include'], library_dirs = ['/usr/local/lib'], ...
586
35.6875
106
py
LargeVis
LargeVis-master/Linux/ANNOY/annoylib.h
// Copyright (c) 2013 Spotify AB // // 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 w...
16,783
28.65371
117
h
LargeVis
LargeVis-master/Linux/ANNOY/kissrandom.h
#ifndef KISSRANDOM_H #define KISSRANDOM_H #include <stdint.h> // KISS = "keep it simple, stupid", but high quality random number generator // http://www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf -> "Use a good RNG and build it into your code" // http://mathforum.org/kb/message.jspa?messageID=6627731 // https://...
2,118
21.072917
109
h
LargeVis
LargeVis-master/Windows/LargeVis.cpp
#include "LargeVis.h" #include <map> #include <float.h> boost::minstd_rand LargeVis::generator(42u); boost::uniform_real<> LargeVis::uni_dist(0, 1); boost::variate_generator<boost::minstd_rand&, boost::uniform_real<> > LargeVis::uni(generator, uni_dist); namespace boost { #ifdef BOOST_NO_EXCEPTIONS void throw_except...
17,138
25.047112
176
cpp
LargeVis
LargeVis-master/Windows/LargeVis.h
#ifndef LARGEVIS_H #define LARGEVIS_H #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <vector> #include <boost/thread.hpp> #include <boost/random.hpp> #include <boost/random/linear_congruential.hpp> #include <boost/random/uniform_int.hpp> #include <boost/random/uniform_real.hpp> ...
2,205
28.810811
218
h
LargeVis
LargeVis-master/Windows/LargeVismodule.cpp
#include "Python.h" #include "LargeVis.h" real *out_vec; LargeVis model; char *filename; static PyObject *Run(PyObject *self, PyObject *args) { long long out_dim = -1; long long n_samples = -1; long long n_threads = -1; long long n_negatives = -1; long long n_neighbors = -1; long long n_trees = -1; long long n...
3,575
26.090909
253
cpp
LargeVis
LargeVis-master/Windows/main.cpp
#include "LargeVis.h" #include <stdio.h> #include <stdlib.h> #include <string.h> char infile[1000], outfile[1000]; long long if_embed = 1, out_dim = -1, n_samples = -1, n_threads = -1, n_negative = -1, n_neighbors = -1, n_trees = -1, n_propagation = -1; real alpha = -1, n_gamma = -1, perplexity = -1; int ArgPos(char ...
3,319
50.076923
140
cpp
LargeVis
LargeVis-master/Windows/setup.py
from distutils.core import setup, Extension LargeVis = Extension('LargeVis', sources = ['LargeVis.cpp', 'LargeVismodule.cpp', 'ANNOY\\mman.cpp'], depends=['LargeVis.h'], include_dirs = ['D:\\boost_1_58_0'], library_dirs = ['D:\\boost_1_58_...
507
32.866667
88
py
LargeVis
LargeVis-master/Windows/ANNOY/annoylib.h
// Copyright (c) 2013 Spotify AB // // 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 w...
16,762
28.669027
117
h
LargeVis
LargeVis-master/Windows/ANNOY/kissrandom.h
#ifndef KISSRANDOM_H #define KISSRANDOM_H #include <stdint.h> // KISS = "keep it simple, stupid", but high quality random number generator // http://www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf -> "Use a good RNG and build it into your code" // http://mathforum.org/kb/message.jspa?messageID=6627731 // https://...
2,118
21.072917
109
h
LargeVis
LargeVis-master/Windows/ANNOY/mman.cpp
// This is from https://code.google.com/p/mman-win32/ // // Licensed under MIT #include "mman.h" static int __map_mman_error(const DWORD err, const int deferr) { if (err == 0) return 0; //TODO: implement return err; } static DWORD __map_mmap_prot_page(const int prot) { DWORD protect = 0; ...
4,056
21.920904
83
cpp
LargeVis
LargeVis-master/Windows/ANNOY/mman.h
// This is from https://code.google.com/p/mman-win32/ // // Licensed under MIT #ifndef _MMAN_WIN32_H #define _MMAN_WIN32_H #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions o...
1,412
26.173077
104
h
training-operator
training-operator-master/CHANGELOG.md
# Changelog ## [v1.6.0](https://github.com/kubeflow/training-operator/tree/v1.6.0) (2023-03-21) Note: Since scheduler-plugins has changed API from `sigs.k8s.io` with the `x-k8s.io`, future releases of training operator(v1.7+) will not support scheduler-plugins v0.24.x or lower. Related: [\#1769](https://github.com/ku...
30,245
90.10241
282
md
training-operator
training-operator-master/README.md
# Kubeflow Training Operator [![Build Status](https://github.com/kubeflow/training-operator/actions/workflows/test-go.yaml/badge.svg?branch=master)](https://github.com/kubeflow/training-operator/actions/workflows/test-go.yaml?branch=master) [![Coverage Status](https://coveralls.io/repos/github/kubeflow/training-operat...
5,727
50.603604
462
md
training-operator
training-operator-master/prow_config.yaml
# This file configures the workflows to trigger in our Prow jobs. # see https://github.com/kubeflow/testing/blob/master/py/kubeflow/testing/run_e2e_workflow.py # # The testWorkerImage should be the same for all workflows. workflows: [] # - app_dir: kubeflow/training-operator/test/workflows # component: workflows ...
1,352
26.612245
93
yaml
training-operator
training-operator-master/vendor.go
//go:build vendor package main // This file exists to trick "go mod vendor" to include "main" packages. // It is not expected to build, the build tag above is only to prevent this // file from being included in builds. import ( _ "k8s.io/code-generator/cmd/client-gen" _ "k8s.io/code-generator/cmd/deepcopy-gen" _ ...
509
25.842105
75
go
training-operator
training-operator-master/.github/PULL_REQUEST_TEMPLATE.md
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, check our contributor guidelines: https://www.kubeflow.org/docs/about/contributing 2. To know more about Training Operator, check the developer guide: https://github.com/kubeflow/training-operator/blob/master/docs/de...
820
50.3125
148
md
training-operator
training-operator-master/.github/issue_label_bot.yaml
# for https://mlbot.net a Github bot that labels issues using KubeFlow label-alias: bug: 'kind/bug' feature_request: 'kind/feature' question: 'kind/question'
164
26.5
70
yaml