ml-management 0.6.3rc12__tar.gz → 0.6.3rc13__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- ml_management-0.6.3rc13/ML_management/__init__.py +1 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/__init__.py +0 -1
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/executor.py +2 -133
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/sdk.py +1 -18
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/test_sdk.py +0 -18
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/PKG-INFO +2 -3
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/pyproject.toml +2 -3
- ml_management-0.6.3rc12/ML_management/__init__.py +0 -1
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/base_exceptions.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/collector_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/collector_pattern_to_methods_map.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/collectors.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/dummy/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/dummy/dummy_collector.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/s3/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/s3/s3collector.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/topic_markers/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/topic_markers/api_schema.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/topic_markers/topic_markers_collector.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/base_splits_dataset_loader.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/dataset_loader_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/dataset_loader_pattern_to_methods_map.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/poisoned_images_dataset_loader.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/dummy_dataset_loader/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/dummy_dataset_loader/conda.yaml +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/dummy_dataset_loader/dummy_dataset.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/upload.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/base_executor.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/executor_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/executor_pattern_to_methods_map.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/no_model_executor_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/patterns.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/eval/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/eval/conda.yaml +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/eval/eval_executor.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/finetune/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/finetune/conda.yaml +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/finetune/finetune_executor.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/train/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/train/conda.yaml +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/train/train_executor.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/upload.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/upload_model_mode.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/graphql/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/graphql/schema.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/graphql/send_graphql_request.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/active_job.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/backend_api.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/batcher.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/jsonschema_exceptions.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/jsonschema_inference.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/load_api.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/log_api.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/model_type.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/module_finder.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/server_mlmanager_exceptions.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/utils.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/visibility_options.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/model_type_to_methods_map.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/evaluatable_model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/gradient_model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/model_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/model_with_losses.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/model_with_metrics.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/preprocessor.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/retrainable_model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/target_layer.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/torch_model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/trainable_model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/transformer.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/registry/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/registry/exceptions.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/s3/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/s3/manager.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/s3/utils.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/dataset_loader.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/experiment.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/job.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/model.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/sdk/parameters.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/session.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/singleton_pattern.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/local_sdk_test.sh +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/mock_server.js +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/package.json +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/requirements.txt +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/tests/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/tests/requirements.txt +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/tests/run_all_tests.sh +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/tests/test_jsonschema_inference.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/uploader_data/__init__.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/uploader_data/s3_uploader.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/uploader_data/utils.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/variables.py +0 -0
- {ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/README.md +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.6.3rc13"
|
@@ -12,7 +12,6 @@ list_executor_version = executor.list_executor_version
|
|
12
12
|
get_model_version = model.get_model_version
|
13
13
|
rebuild_model_version_image = model.rebuild_model_version_image
|
14
14
|
print_model_schema_for_executor = executor.print_model_schema_for_executor
|
15
|
-
generate_model_params_for_executor = executor.generate_model_params_for_executor
|
16
15
|
print_dataset_loader_schema = dataset_loader.print_dataset_loader_schema
|
17
16
|
print_executor_schema = executor.print_executor_schema
|
18
17
|
print_executor_roles = executor.print_executor_roles
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from typing import List, Optional
|
1
|
+
from typing import List, Optional
|
2
2
|
|
3
3
|
import pandas as pd
|
4
4
|
from sgqlc.operation import Operation
|
@@ -10,8 +10,7 @@ from ML_management.graphql.send_graphql_request import send_graphql_request
|
|
10
10
|
from ML_management.mlmanagement.visibility_options import VisibilityOptions
|
11
11
|
from ML_management.model.model_type_to_methods_map import ModelMethodName
|
12
12
|
from ML_management.sdk.model import get_latest_model_version
|
13
|
-
from ML_management.sdk.
|
14
|
-
from ML_management.sdk.sdk import _generate_fake_schema, _print_params_by_schema, _to_datetime
|
13
|
+
from ML_management.sdk.sdk import _print_params_by_schema, _to_datetime
|
15
14
|
|
16
15
|
|
17
16
|
def list_executor() -> pd.DataFrame:
|
@@ -313,136 +312,6 @@ def _get_model_schema_for_executor(executor_name: str, executor_version: Optiona
|
|
313
312
|
return json_data["executorVersionFromNameVersion"]["jobJsonSchemaForModels"]["listRoleModelMethodSchemas"]
|
314
313
|
|
315
314
|
|
316
|
-
def generate_model_params_for_executor(
|
317
|
-
executor_name: str, models: List[dict], executor_version: Optional[int] = None
|
318
|
-
) -> Union[List[ModelMethodParams], AnyModelForm]:
|
319
|
-
"""
|
320
|
-
Return example of model's methods parameters for executor.
|
321
|
-
|
322
|
-
Parameters
|
323
|
-
----------
|
324
|
-
executor_name: str
|
325
|
-
Name of the executor.
|
326
|
-
models: List[dict]
|
327
|
-
Necessary information about the model.
|
328
|
-
|
329
|
-
Example1::
|
330
|
-
|
331
|
-
[
|
332
|
-
{"name": "simple_model"}
|
333
|
-
];
|
334
|
-
|
335
|
-
Example2::
|
336
|
-
|
337
|
-
[
|
338
|
-
{
|
339
|
-
"name": "model_name1", # str
|
340
|
-
"role": "role1", # Optional[str]
|
341
|
-
"version": version # Optional[int]
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"name": "model_name2", # str
|
345
|
-
"role": "role2", # Optional[str]
|
346
|
-
"version": version # Optional[int]
|
347
|
-
}
|
348
|
-
]
|
349
|
-
|
350
|
-
executor_version: Optional[int] = None
|
351
|
-
Version of the executor. Default: None, "latest" version is used.
|
352
|
-
|
353
|
-
Returns
|
354
|
-
-------
|
355
|
-
List[ModelMethodParams]:
|
356
|
-
Example of model's methods parameters in case simple executor.
|
357
|
-
Example output::
|
358
|
-
|
359
|
-
[
|
360
|
-
ModelMethodParams(
|
361
|
-
method=ModelMethodName.evaluate_function,
|
362
|
-
params={key1: value1, key2: value2}
|
363
|
-
)
|
364
|
-
]
|
365
|
-
|
366
|
-
AnyModelForm:
|
367
|
-
Example of models parameter for add_ml_job function.
|
368
|
-
Example::
|
369
|
-
|
370
|
-
AnyModelForm(
|
371
|
-
models=[
|
372
|
-
ModelWithRole(
|
373
|
-
role="role_one",
|
374
|
-
model_version_choice=ModelVersionChoice(
|
375
|
-
name="model_1_name",
|
376
|
-
version=1
|
377
|
-
)
|
378
|
-
params=[
|
379
|
-
ModelMethodParams(
|
380
|
-
method=ModelMethodName.evaluate_function,
|
381
|
-
params={key1: value1, key2: value2}
|
382
|
-
),
|
383
|
-
ModelMethodParams(
|
384
|
-
method=ModelMethodName.finetune_function,
|
385
|
-
params={key1: value1, key2: value2}
|
386
|
-
)
|
387
|
-
]
|
388
|
-
),
|
389
|
-
ModelWithRole(
|
390
|
-
role="role_two",
|
391
|
-
model_version_choice=ModelVersionChoice(
|
392
|
-
name="model_2_name",
|
393
|
-
version=1
|
394
|
-
)
|
395
|
-
params=[
|
396
|
-
ModelMethodParams(
|
397
|
-
method=ModelMethodName.evaluate_function,
|
398
|
-
params={key1: value1, key2: value2}
|
399
|
-
),
|
400
|
-
ModelMethodParams(
|
401
|
-
method=ModelMethodName.finetune_function,
|
402
|
-
params={key1: value1, key2: value2}
|
403
|
-
)
|
404
|
-
]
|
405
|
-
),
|
406
|
-
]
|
407
|
-
)
|
408
|
-
|
409
|
-
"""
|
410
|
-
models_methods_schemas = _get_model_schema_for_executor(
|
411
|
-
executor_name=executor_name,
|
412
|
-
executor_version=executor_version,
|
413
|
-
models=models,
|
414
|
-
)
|
415
|
-
|
416
|
-
sdk_models = []
|
417
|
-
|
418
|
-
for model_methods_schemas in models_methods_schemas:
|
419
|
-
list_model_params = []
|
420
|
-
for model_methods_schema in model_methods_schemas["listMethodSchemas"]:
|
421
|
-
list_model_params.append(
|
422
|
-
ModelMethodParams(
|
423
|
-
method=ModelMethodName(model_methods_schema["schemaName"]),
|
424
|
-
params=_generate_fake_schema(model_methods_schema["jsonSchema"]),
|
425
|
-
)
|
426
|
-
)
|
427
|
-
if len(models_methods_schemas) == 1:
|
428
|
-
return list_model_params
|
429
|
-
role = model_methods_schemas["role"]
|
430
|
-
for model in models:
|
431
|
-
if model["role"] == role:
|
432
|
-
model_name = model["name"]
|
433
|
-
model_version = model.get("version", None)
|
434
|
-
break
|
435
|
-
current_model = ModelWithRole(
|
436
|
-
role=role,
|
437
|
-
model_version_choice=ModelVersionChoice(name=model_name, version=model_version),
|
438
|
-
params=list_model_params,
|
439
|
-
)
|
440
|
-
|
441
|
-
sdk_models.append(current_model)
|
442
|
-
|
443
|
-
return AnyModelForm(models=sdk_models)
|
444
|
-
|
445
|
-
|
446
315
|
def print_executor_schema(name: str, version: Optional[int] = None) -> None:
|
447
316
|
"""
|
448
317
|
Print executor schema.
|
@@ -3,7 +3,6 @@ import json
|
|
3
3
|
from typing import Dict, List
|
4
4
|
|
5
5
|
import pandas as pd
|
6
|
-
from jsf import JSF
|
7
6
|
|
8
7
|
|
9
8
|
def _to_datetime(df: pd.DataFrame, column_names: List[str]) -> pd.DataFrame:
|
@@ -28,20 +27,8 @@ def _to_datetime(df: pd.DataFrame, column_names: List[str]) -> pd.DataFrame:
|
|
28
27
|
return df
|
29
28
|
|
30
29
|
|
31
|
-
def _generate_fake_schema(json_schema: dict) -> dict:
|
32
|
-
if "required" not in json_schema.keys():
|
33
|
-
return {}
|
34
|
-
|
35
|
-
required_properties = {key: json_schema["properties"][key] for key in json_schema["required"]}
|
36
|
-
json_schema["properties"] = required_properties
|
37
|
-
|
38
|
-
faker = JSF(json_schema)
|
39
|
-
fake_json = faker.generate()
|
40
|
-
return fake_json
|
41
|
-
|
42
|
-
|
43
30
|
def _print_params_by_schema(json_schema: Dict, schema_type: str) -> None:
|
44
|
-
"""Print entity JSON Schema
|
31
|
+
"""Print entity JSON Schema with required params."""
|
45
32
|
properties_and_required_dict = {key: json_schema[key] for key in ("properties", "required") if key in json_schema}
|
46
33
|
|
47
34
|
json_formatted_str = json.dumps(properties_and_required_dict, indent=2)
|
@@ -51,7 +38,3 @@ def _print_params_by_schema(json_schema: Dict, schema_type: str) -> None:
|
|
51
38
|
print(json_formatted_str)
|
52
39
|
|
53
40
|
print(f"{schema_type} parameters example:")
|
54
|
-
|
55
|
-
fake_json = _generate_fake_schema(json_schema)
|
56
|
-
|
57
|
-
print(fake_json)
|
@@ -14,7 +14,6 @@ from ML_management.sdk.parameters import (
|
|
14
14
|
AnyModelForm,
|
15
15
|
DatasetLoaderForm,
|
16
16
|
DatasetLoaderMethodParams,
|
17
|
-
ModelMethodParams,
|
18
17
|
ModelVersionChoice,
|
19
18
|
ModelWithRole,
|
20
19
|
)
|
@@ -148,23 +147,6 @@ class TestSDK(unittest.TestCase):
|
|
148
147
|
executor_name=NAME, models=[{"name": NAME, "version": VERSION, "role": ROLE}], executor_version=VERSION
|
149
148
|
)
|
150
149
|
|
151
|
-
def test_generate_model_params_for_executor(self):
|
152
|
-
"""Test sdk.generate_model_params_for_executor method returns correct answer."""
|
153
|
-
model_params = ML_management.sdk.executor.generate_model_params_for_executor(
|
154
|
-
executor_name=NAME, models=[{"name": NAME, "version": VERSION, "role": ROLE}], executor_version=VERSION
|
155
|
-
)
|
156
|
-
self.assertTrue(isinstance(model_params, list) or isinstance(model_params, AnyModelForm))
|
157
|
-
if isinstance(model_params, list):
|
158
|
-
for model in model_params:
|
159
|
-
self.assertIsInstance(model, ModelMethodParams)
|
160
|
-
else:
|
161
|
-
self.assertGreaterEqual(len(model_params.models), 1)
|
162
|
-
self.assertEqual(model_params.models[0].role, ROLE)
|
163
|
-
self.assertEqual(NAME, model_params.models[0].model_version_choice.name)
|
164
|
-
self.assertIsInstance(model_params.models[0].params, list)
|
165
|
-
self.assertGreaterEqual(len(model_params.models[0].params), 1)
|
166
|
-
self.assertIsInstance(model_params.models[0].params[0], ModelMethodParams)
|
167
|
-
|
168
150
|
def test_print_datasetloader_schema(self):
|
169
151
|
"""Test a successful sdk.print_datasetloader_schema call."""
|
170
152
|
ML_management.sdk.dataset_loader.print_dataset_loader_schema(name=NAME, version=VERSION)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ml-management
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.3rc13
|
4
4
|
Summary: Python implementation of model pattern, dataset
|
5
5
|
Author-Email: ISPRAS MODIS <modis@ispras.ru>
|
6
6
|
Maintainer: Maxim Ryndin
|
@@ -10,8 +10,7 @@ Requires-Dist: boto3<2,>1
|
|
10
10
|
Requires-Dist: aioboto3<14,>=13
|
11
11
|
Requires-Dist: jsonschema<5,>=4.18
|
12
12
|
Requires-Dist: tqdm<5,>=4.66.6
|
13
|
-
Requires-Dist: pydantic<
|
14
|
-
Requires-Dist: jsf==0.7.1
|
13
|
+
Requires-Dist: pydantic<3,>=1.10
|
15
14
|
Requires-Dist: pylint<4,>=3
|
16
15
|
Requires-Dist: httpx<1
|
17
16
|
Requires-Dist: websocket-client<2,>1
|
@@ -11,8 +11,7 @@ dependencies = [
|
|
11
11
|
"aioboto3>=13,<14",
|
12
12
|
"jsonschema>=4.18,<5",
|
13
13
|
"tqdm>=4.66.6,<5",
|
14
|
-
"pydantic>=1,<
|
15
|
-
"jsf==0.7.1",
|
14
|
+
"pydantic>=1.10,<3",
|
16
15
|
"pylint>=3,<4",
|
17
16
|
"httpx<1",
|
18
17
|
"websocket-client>1,<2",
|
@@ -26,7 +25,7 @@ readme = "README.md"
|
|
26
25
|
maintainers = [
|
27
26
|
{ name = "Maxim Ryndin" },
|
28
27
|
]
|
29
|
-
version = "0.6.
|
28
|
+
version = "0.6.3rc13"
|
30
29
|
|
31
30
|
[build-system]
|
32
31
|
requires = [
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.6.3rc12"
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/collector_pattern.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/dummy/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/collectors/s3/s3collector.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/dataset_loader/templates/upload.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/executor_pattern.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/__init__.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/eval/conda.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/templates/upload.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/executor/upload_model_mode.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/graphql/send_graphql_request.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/active_job.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/backend_api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/model_type.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/module_finder.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/mlmanagement/visibility_options.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/model_type_to_methods_map.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/__init__.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/gradient_model.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/model_pattern.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/preprocessor.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/target_layer.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/torch_model.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/trainable_model.py
RENAMED
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/model/patterns/transformer.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/test_sdk/local_sdk_test.sh
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/tests/test_jsonschema_inference.py
RENAMED
File without changes
|
File without changes
|
{ml_management-0.6.3rc12 → ml_management-0.6.3rc13}/ML_management/uploader_data/s3_uploader.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|