truefoundry 0.4.9rc1__py3-none-any.whl → 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of truefoundry might be problematic. Click here for more details.
- truefoundry/deploy/__init__.py +5 -0
- truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +2 -2
- truefoundry/deploy/lib/dao/application.py +2 -1
- truefoundry/deploy/v2/lib/patched_models.py +8 -0
- truefoundry/ml/__init__.py +41 -1
- truefoundry/ml/autogen/client/__init__.py +44 -14
- truefoundry/ml/autogen/client/api/__init__.py +3 -3
- truefoundry/ml/autogen/client/api/deprecated_api.py +333 -0
- truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +526 -0
- truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -322
- truefoundry/ml/autogen/client/api_client.py +8 -1
- truefoundry/ml/autogen/client/models/__init__.py +41 -11
- truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +3 -17
- truefoundry/ml/autogen/client/models/agent.py +1 -1
- truefoundry/ml/autogen/client/models/agent_app.py +1 -1
- truefoundry/ml/autogen/client/models/agent_open_api_tool.py +1 -1
- truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +1 -1
- truefoundry/ml/autogen/client/models/agent_with_fqn.py +1 -1
- truefoundry/ml/autogen/client/models/artifact_version_dto.py +3 -5
- truefoundry/ml/autogen/client/models/artifact_version_manifest.py +111 -0
- truefoundry/ml/autogen/client/models/assistant_message.py +1 -1
- truefoundry/ml/autogen/client/models/blob_storage_reference.py +1 -1
- truefoundry/ml/autogen/client/models/chat_prompt.py +1 -1
- truefoundry/ml/autogen/client/models/command.py +152 -0
- truefoundry/ml/autogen/client/models/{feature_dto.py → create_workflow_task_config_request_dto.py} +18 -14
- truefoundry/ml/autogen/client/models/{external_model_source.py → external_artifact_source.py} +12 -11
- truefoundry/ml/autogen/client/models/fast_ai_framework.py +75 -0
- truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +3 -5
- truefoundry/ml/autogen/client/models/framework.py +250 -14
- truefoundry/ml/autogen/client/models/gluon_framework.py +74 -0
- truefoundry/ml/autogen/client/models/{upload_model_source.py → h2_o_framework.py} +11 -11
- truefoundry/ml/autogen/client/models/image_content_part.py +1 -1
- truefoundry/ml/autogen/client/models/keras_framework.py +74 -0
- truefoundry/ml/autogen/client/models/light_gbm_framework.py +75 -0
- truefoundry/ml/autogen/client/models/manifest.py +154 -0
- truefoundry/ml/autogen/client/models/model_version_dto.py +7 -8
- truefoundry/ml/autogen/client/models/model_version_environment.py +97 -0
- truefoundry/ml/autogen/client/models/model_version_manifest.py +30 -6
- truefoundry/ml/autogen/client/models/onnx_framework.py +74 -0
- truefoundry/ml/autogen/client/models/paddle_framework.py +75 -0
- truefoundry/ml/autogen/client/models/py_torch_framework.py +75 -0
- truefoundry/ml/autogen/client/models/{feature_value_type.py → serialization_format.py} +8 -8
- truefoundry/ml/autogen/client/models/sklearn_framework.py +92 -0
- truefoundry/ml/autogen/client/models/source.py +23 -46
- truefoundry/ml/autogen/client/models/source1.py +154 -0
- truefoundry/ml/autogen/client/models/spa_cy_framework.py +74 -0
- truefoundry/ml/autogen/client/models/stats_models_framework.py +75 -0
- truefoundry/ml/autogen/client/models/system_message.py +1 -1
- truefoundry/ml/autogen/client/models/{tensorflow_framework.py → tensor_flow_framework.py} +11 -10
- truefoundry/ml/autogen/client/models/text_content_part.py +1 -1
- truefoundry/ml/autogen/client/models/transformers_framework.py +10 -4
- truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +90 -0
- truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +71 -0
- truefoundry/ml/autogen/client/models/{truefoundry_model_source.py → true_foundry_artifact_source.py} +13 -11
- truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +11 -1
- truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +1 -13
- truefoundry/ml/autogen/client/models/user_message.py +1 -1
- truefoundry/ml/autogen/client/models/xg_boost_framework.py +92 -0
- truefoundry/ml/autogen/client_README.md +30 -12
- truefoundry/ml/autogen/entities/artifacts.py +87 -9
- truefoundry/ml/autogen/models/__init__.py +4 -0
- truefoundry/ml/autogen/models/exceptions.py +30 -0
- truefoundry/ml/autogen/models/schema.py +1547 -0
- truefoundry/ml/autogen/models/signature.py +139 -0
- truefoundry/ml/autogen/models/utils.py +699 -0
- truefoundry/ml/log_types/artifacts/artifact.py +131 -63
- truefoundry/ml/log_types/artifacts/general_artifact.py +7 -26
- truefoundry/ml/log_types/artifacts/model.py +195 -197
- truefoundry/ml/mlfoundry_api.py +47 -52
- truefoundry/ml/mlfoundry_run.py +35 -43
- truefoundry/ml/model_framework.py +169 -0
- {truefoundry-0.4.9rc1.dist-info → truefoundry-0.5.0.dist-info}/METADATA +1 -1
- {truefoundry-0.4.9rc1.dist-info → truefoundry-0.5.0.dist-info}/RECORD +75 -53
- truefoundry/ml/autogen/client/api/python_deployment_config_api.py +0 -201
- truefoundry/ml/autogen/client/models/model_schema_dto.py +0 -85
- truefoundry/ml/autogen/client/models/prediction_type.py +0 -34
- {truefoundry-0.4.9rc1.dist-info → truefoundry-0.5.0.dist-info}/WHEEL +0 -0
- {truefoundry-0.4.9rc1.dist-info → truefoundry-0.5.0.dist-info}/entry_points.txt +0 -0
truefoundry/deploy/__init__.py
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
from truefoundry.deploy.auto_gen.models import (
|
|
2
2
|
AppProtocol,
|
|
3
|
+
Autoshutdown,
|
|
3
4
|
CanaryStep,
|
|
4
5
|
CapacityType,
|
|
6
|
+
Claim,
|
|
5
7
|
ConcurrencyPolicy,
|
|
8
|
+
JobAlert,
|
|
6
9
|
Kustomize,
|
|
7
10
|
ParamType,
|
|
8
11
|
Protocol,
|
|
@@ -66,6 +69,7 @@ from truefoundry.deploy.v2.lib.patched_models import (
|
|
|
66
69
|
DynamicVolumeConfig,
|
|
67
70
|
Endpoint,
|
|
68
71
|
GcpTPU,
|
|
72
|
+
GitHelmRepo,
|
|
69
73
|
GitSource,
|
|
70
74
|
GPUType,
|
|
71
75
|
HealthProbe,
|
|
@@ -73,6 +77,7 @@ from truefoundry.deploy.v2.lib.patched_models import (
|
|
|
73
77
|
HttpProbe,
|
|
74
78
|
HuggingfaceArtifactSource,
|
|
75
79
|
Image,
|
|
80
|
+
JwtAuthCreds,
|
|
76
81
|
KafkaInputConfig,
|
|
77
82
|
KafkaMetricConfig,
|
|
78
83
|
KafkaOutputConfig,
|
|
@@ -31,7 +31,7 @@ WORKDIR /app
|
|
|
31
31
|
|
|
32
32
|
DOCKERFILE_TEMPLATE = Template(
|
|
33
33
|
"""
|
|
34
|
-
FROM
|
|
34
|
+
FROM ${python_image_repo}:${python_version}
|
|
35
35
|
ENV PATH=/virtualenvs/venv/bin:$PATH
|
|
36
36
|
RUN apt update && \
|
|
37
37
|
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends git && \
|
|
@@ -43,7 +43,7 @@ RUN apt update && \
|
|
|
43
43
|
|
|
44
44
|
CUDA_DOCKERFILE_TEMPLATE = Template(
|
|
45
45
|
"""
|
|
46
|
-
FROM
|
|
46
|
+
FROM nvidia/cuda:${nvidia_cuda_image_tag}
|
|
47
47
|
ENV PATH=/virtualenvs/venv/bin:$PATH
|
|
48
48
|
RUN echo "deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu $(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) main" >> /etc/apt/sources.list && \
|
|
49
49
|
echo "deb-src https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu $(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2) main" >> /etc/apt/sources.list && \
|
|
@@ -179,10 +179,11 @@ def trigger_job(
|
|
|
179
179
|
command=command_str if command_str else None,
|
|
180
180
|
params=params if params else None,
|
|
181
181
|
)
|
|
182
|
+
jobRunName = result.jobRunName
|
|
182
183
|
previous_runs_url = f"{client.base_url.strip('/')}/deployments/{application_info.id}?tab=previousRuns"
|
|
183
184
|
logger.info(
|
|
184
185
|
f"{message}.\n"
|
|
185
|
-
f"You can check the status of your job run at {previous_runs_url}"
|
|
186
|
+
f"You can check the status of your job run at {previous_runs_url} with jobRunName: {jobRunName}"
|
|
186
187
|
)
|
|
187
188
|
return result
|
|
188
189
|
|
|
@@ -186,6 +186,10 @@ class BasicAuthCreds(models.BasicAuthCreds, PatchedModelBase):
|
|
|
186
186
|
type: Literal["basic_auth"] = "basic_auth"
|
|
187
187
|
|
|
188
188
|
|
|
189
|
+
class JwtAuthCreds(models.JwtAuthCreds, PatchedModelBase):
|
|
190
|
+
type: Literal["jwt_auth"] = "jwt_auth"
|
|
191
|
+
|
|
192
|
+
|
|
189
193
|
class HealthProbe(models.HealthProbe, PatchedModelBase):
|
|
190
194
|
pass
|
|
191
195
|
|
|
@@ -338,6 +342,10 @@ class HelmRepo(models.HelmRepo, PatchedModelBase):
|
|
|
338
342
|
type: Literal["helm-repo"] = "helm-repo"
|
|
339
343
|
|
|
340
344
|
|
|
345
|
+
class GitHelmRepo(models.GitHelmRepo, PatchedModelBase):
|
|
346
|
+
type: Literal["git-helm-repo"] = "git-helm-repo"
|
|
347
|
+
|
|
348
|
+
|
|
341
349
|
class OCIRepo(models.OCIRepo, PatchedModelBase):
|
|
342
350
|
type: Literal["oci-repo"] = "oci-repo"
|
|
343
351
|
|
truefoundry/ml/__init__.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from truefoundry.ml.autogen.client.models import LibraryName, ModelVersionEnvironment
|
|
1
2
|
from truefoundry.ml.enums import (
|
|
2
3
|
DataSlice,
|
|
3
4
|
FileFormat,
|
|
@@ -7,7 +8,11 @@ from truefoundry.ml.enums import (
|
|
|
7
8
|
)
|
|
8
9
|
from truefoundry.ml.exceptions import MlFoundryException
|
|
9
10
|
from truefoundry.ml.log_types import Image, Plot
|
|
10
|
-
from truefoundry.ml.log_types.artifacts.artifact import
|
|
11
|
+
from truefoundry.ml.log_types.artifacts.artifact import (
|
|
12
|
+
ArtifactPath,
|
|
13
|
+
ArtifactVersion,
|
|
14
|
+
BlobStorageDirectory,
|
|
15
|
+
)
|
|
11
16
|
from truefoundry.ml.log_types.artifacts.dataset import DataDirectory, DataDirectoryPath
|
|
12
17
|
from truefoundry.ml.log_types.artifacts.model import (
|
|
13
18
|
ModelVersion,
|
|
@@ -15,10 +20,28 @@ from truefoundry.ml.log_types.artifacts.model import (
|
|
|
15
20
|
from truefoundry.ml.logger import init_logger
|
|
16
21
|
from truefoundry.ml.mlfoundry_api import get_client
|
|
17
22
|
from truefoundry.ml.mlfoundry_run import MlFoundryRun
|
|
23
|
+
from truefoundry.ml.model_framework import (
|
|
24
|
+
FastAIFramework,
|
|
25
|
+
GluonFramework,
|
|
26
|
+
H2OFramework,
|
|
27
|
+
KerasFramework,
|
|
28
|
+
LightGBMFramework,
|
|
29
|
+
ModelFrameworkType,
|
|
30
|
+
ONNXFramework,
|
|
31
|
+
PaddleFramework,
|
|
32
|
+
PyTorchFramework,
|
|
33
|
+
SklearnFramework,
|
|
34
|
+
SpaCyFramework,
|
|
35
|
+
StatsModelsFramework,
|
|
36
|
+
TensorFlowFramework,
|
|
37
|
+
TransformersFramework,
|
|
38
|
+
XGBoostFramework,
|
|
39
|
+
)
|
|
18
40
|
|
|
19
41
|
__all__ = [
|
|
20
42
|
"ArtifactPath",
|
|
21
43
|
"ArtifactVersion",
|
|
44
|
+
"BlobStorageDirectory",
|
|
22
45
|
"DataDirectory",
|
|
23
46
|
"DataDirectoryPath",
|
|
24
47
|
"DataSlice",
|
|
@@ -26,12 +49,29 @@ __all__ = [
|
|
|
26
49
|
"Image",
|
|
27
50
|
"MlFoundryRun",
|
|
28
51
|
"MlFoundryException",
|
|
52
|
+
"ModelVersionEnvironment",
|
|
29
53
|
"ModelFramework",
|
|
30
54
|
"ModelType",
|
|
31
55
|
"ModelVersion",
|
|
32
56
|
"Plot",
|
|
33
57
|
"ViewType",
|
|
34
58
|
"get_client",
|
|
59
|
+
"FastAIFramework",
|
|
60
|
+
"GluonFramework",
|
|
61
|
+
"H2OFramework",
|
|
62
|
+
"KerasFramework",
|
|
63
|
+
"LightGBMFramework",
|
|
64
|
+
"ONNXFramework",
|
|
65
|
+
"PaddleFramework",
|
|
66
|
+
"PyTorchFramework",
|
|
67
|
+
"SklearnFramework",
|
|
68
|
+
"SpaCyFramework",
|
|
69
|
+
"StatsModelsFramework",
|
|
70
|
+
"TensorFlowFramework",
|
|
71
|
+
"TransformersFramework",
|
|
72
|
+
"XGBoostFramework",
|
|
73
|
+
"LibraryName",
|
|
74
|
+
"ModelFrameworkType",
|
|
35
75
|
]
|
|
36
76
|
|
|
37
77
|
init_logger()
|
|
@@ -19,14 +19,14 @@ __version__ = "0.1.0"
|
|
|
19
19
|
from truefoundry.ml.autogen.client.api.auth_api import AuthApi
|
|
20
20
|
from truefoundry.ml.autogen.client.api.deprecated_api import DeprecatedApi
|
|
21
21
|
from truefoundry.ml.autogen.client.api.experiments_api import ExperimentsApi
|
|
22
|
+
from truefoundry.ml.autogen.client.api.generate_code_snippet_api import (
|
|
23
|
+
GenerateCodeSnippetApi,
|
|
24
|
+
)
|
|
22
25
|
from truefoundry.ml.autogen.client.api.health_api import HealthApi
|
|
23
26
|
from truefoundry.ml.autogen.client.api.metrics_api import MetricsApi
|
|
24
27
|
from truefoundry.ml.autogen.client.api.mlfoundry_artifacts_api import (
|
|
25
28
|
MlfoundryArtifactsApi,
|
|
26
29
|
)
|
|
27
|
-
from truefoundry.ml.autogen.client.api.python_deployment_config_api import (
|
|
28
|
-
PythonDeploymentConfigApi,
|
|
29
|
-
)
|
|
30
30
|
from truefoundry.ml.autogen.client.api.run_artifacts_api import RunArtifactsApi
|
|
31
31
|
from truefoundry.ml.autogen.client.api.runs_api import RunsApi
|
|
32
32
|
|
|
@@ -61,6 +61,9 @@ from truefoundry.ml.autogen.client.models.artifact_response_dto import (
|
|
|
61
61
|
)
|
|
62
62
|
from truefoundry.ml.autogen.client.models.artifact_type import ArtifactType
|
|
63
63
|
from truefoundry.ml.autogen.client.models.artifact_version_dto import ArtifactVersionDto
|
|
64
|
+
from truefoundry.ml.autogen.client.models.artifact_version_manifest import (
|
|
65
|
+
ArtifactVersionManifest,
|
|
66
|
+
)
|
|
64
67
|
from truefoundry.ml.autogen.client.models.artifact_version_response_dto import (
|
|
65
68
|
ArtifactVersionResponseDto,
|
|
66
69
|
)
|
|
@@ -88,6 +91,7 @@ from truefoundry.ml.autogen.client.models.chat_prompt_messages_inner import (
|
|
|
88
91
|
ChatPromptMessagesInner,
|
|
89
92
|
)
|
|
90
93
|
from truefoundry.ml.autogen.client.models.columns_dto import ColumnsDto
|
|
94
|
+
from truefoundry.ml.autogen.client.models.command import Command
|
|
91
95
|
from truefoundry.ml.autogen.client.models.content import Content
|
|
92
96
|
from truefoundry.ml.autogen.client.models.content1 import Content1
|
|
93
97
|
from truefoundry.ml.autogen.client.models.content2 import Content2
|
|
@@ -139,6 +143,9 @@ from truefoundry.ml.autogen.client.models.create_run_request_dto import (
|
|
|
139
143
|
from truefoundry.ml.autogen.client.models.create_run_response_dto import (
|
|
140
144
|
CreateRunResponseDto,
|
|
141
145
|
)
|
|
146
|
+
from truefoundry.ml.autogen.client.models.create_workflow_task_config_request_dto import (
|
|
147
|
+
CreateWorkflowTaskConfigRequestDto,
|
|
148
|
+
)
|
|
142
149
|
from truefoundry.ml.autogen.client.models.dataset_dto import DatasetDto
|
|
143
150
|
from truefoundry.ml.autogen.client.models.dataset_response_dto import DatasetResponseDto
|
|
144
151
|
from truefoundry.ml.autogen.client.models.delete_artifact_versions_request_dto import (
|
|
@@ -165,11 +172,10 @@ from truefoundry.ml.autogen.client.models.experiment_response_dto import (
|
|
|
165
172
|
ExperimentResponseDto,
|
|
166
173
|
)
|
|
167
174
|
from truefoundry.ml.autogen.client.models.experiment_tag_dto import ExperimentTagDto
|
|
168
|
-
from truefoundry.ml.autogen.client.models.
|
|
169
|
-
|
|
175
|
+
from truefoundry.ml.autogen.client.models.external_artifact_source import (
|
|
176
|
+
ExternalArtifactSource,
|
|
170
177
|
)
|
|
171
|
-
from truefoundry.ml.autogen.client.models.
|
|
172
|
-
from truefoundry.ml.autogen.client.models.feature_value_type import FeatureValueType
|
|
178
|
+
from truefoundry.ml.autogen.client.models.fast_ai_framework import FastAIFramework
|
|
173
179
|
from truefoundry.ml.autogen.client.models.file_info_dto import FileInfoDto
|
|
174
180
|
from truefoundry.ml.autogen.client.models.finalize_artifact_version_request_dto import (
|
|
175
181
|
FinalizeArtifactVersionRequestDto,
|
|
@@ -211,14 +217,18 @@ from truefoundry.ml.autogen.client.models.get_signed_urls_for_dataset_write_resp
|
|
|
211
217
|
from truefoundry.ml.autogen.client.models.get_tenant_id_response_dto import (
|
|
212
218
|
GetTenantIdResponseDto,
|
|
213
219
|
)
|
|
220
|
+
from truefoundry.ml.autogen.client.models.gluon_framework import GluonFramework
|
|
221
|
+
from truefoundry.ml.autogen.client.models.h2_o_framework import H2OFramework
|
|
214
222
|
from truefoundry.ml.autogen.client.models.http_validation_error import (
|
|
215
223
|
HTTPValidationError,
|
|
216
224
|
)
|
|
217
225
|
from truefoundry.ml.autogen.client.models.image_content_part import ImageContentPart
|
|
218
226
|
from truefoundry.ml.autogen.client.models.image_url import ImageUrl
|
|
219
227
|
from truefoundry.ml.autogen.client.models.internal_metadata import InternalMetadata
|
|
228
|
+
from truefoundry.ml.autogen.client.models.keras_framework import KerasFramework
|
|
220
229
|
from truefoundry.ml.autogen.client.models.latest_run_log_dto import LatestRunLogDto
|
|
221
230
|
from truefoundry.ml.autogen.client.models.library_name import LibraryName
|
|
231
|
+
from truefoundry.ml.autogen.client.models.light_gbm_framework import LightGBMFramework
|
|
222
232
|
from truefoundry.ml.autogen.client.models.list_artifact_versions_request_dto import (
|
|
223
233
|
ListArtifactVersionsRequestDto,
|
|
224
234
|
)
|
|
@@ -291,6 +301,7 @@ from truefoundry.ml.autogen.client.models.log_metric_request_dto import (
|
|
|
291
301
|
from truefoundry.ml.autogen.client.models.log_param_request_dto import (
|
|
292
302
|
LogParamRequestDto,
|
|
293
303
|
)
|
|
304
|
+
from truefoundry.ml.autogen.client.models.manifest import Manifest
|
|
294
305
|
from truefoundry.ml.autogen.client.models.method import Method
|
|
295
306
|
from truefoundry.ml.autogen.client.models.metric_collection_dto import (
|
|
296
307
|
MetricCollectionDto,
|
|
@@ -300,8 +311,10 @@ from truefoundry.ml.autogen.client.models.mime_type import MimeType
|
|
|
300
311
|
from truefoundry.ml.autogen.client.models.model_configuration import ModelConfiguration
|
|
301
312
|
from truefoundry.ml.autogen.client.models.model_dto import ModelDto
|
|
302
313
|
from truefoundry.ml.autogen.client.models.model_response_dto import ModelResponseDto
|
|
303
|
-
from truefoundry.ml.autogen.client.models.model_schema_dto import ModelSchemaDto
|
|
304
314
|
from truefoundry.ml.autogen.client.models.model_version_dto import ModelVersionDto
|
|
315
|
+
from truefoundry.ml.autogen.client.models.model_version_environment import (
|
|
316
|
+
ModelVersionEnvironment,
|
|
317
|
+
)
|
|
305
318
|
from truefoundry.ml.autogen.client.models.model_version_manifest import (
|
|
306
319
|
ModelVersionManifest,
|
|
307
320
|
)
|
|
@@ -320,10 +333,12 @@ from truefoundry.ml.autogen.client.models.multi_part_upload_storage_provider imp
|
|
|
320
333
|
from truefoundry.ml.autogen.client.models.notify_artifact_version_failure_dto import (
|
|
321
334
|
NotifyArtifactVersionFailureDto,
|
|
322
335
|
)
|
|
336
|
+
from truefoundry.ml.autogen.client.models.onnx_framework import ONNXFramework
|
|
323
337
|
from truefoundry.ml.autogen.client.models.openapi_spec import OpenapiSpec
|
|
338
|
+
from truefoundry.ml.autogen.client.models.paddle_framework import PaddleFramework
|
|
324
339
|
from truefoundry.ml.autogen.client.models.param_dto import ParamDto
|
|
325
340
|
from truefoundry.ml.autogen.client.models.parameters import Parameters
|
|
326
|
-
from truefoundry.ml.autogen.client.models.
|
|
341
|
+
from truefoundry.ml.autogen.client.models.py_torch_framework import PyTorchFramework
|
|
327
342
|
from truefoundry.ml.autogen.client.models.resolve_agent_app_response_dto import (
|
|
328
343
|
ResolveAgentAppResponseDto,
|
|
329
344
|
)
|
|
@@ -343,12 +358,21 @@ from truefoundry.ml.autogen.client.models.search_runs_request_dto import (
|
|
|
343
358
|
from truefoundry.ml.autogen.client.models.search_runs_response_dto import (
|
|
344
359
|
SearchRunsResponseDto,
|
|
345
360
|
)
|
|
361
|
+
from truefoundry.ml.autogen.client.models.serialization_format import (
|
|
362
|
+
SerializationFormat,
|
|
363
|
+
)
|
|
346
364
|
from truefoundry.ml.autogen.client.models.set_experiment_tag_request_dto import (
|
|
347
365
|
SetExperimentTagRequestDto,
|
|
348
366
|
)
|
|
349
367
|
from truefoundry.ml.autogen.client.models.set_tag_request_dto import SetTagRequestDto
|
|
350
368
|
from truefoundry.ml.autogen.client.models.signed_url_dto import SignedURLDto
|
|
369
|
+
from truefoundry.ml.autogen.client.models.sklearn_framework import SklearnFramework
|
|
351
370
|
from truefoundry.ml.autogen.client.models.source import Source
|
|
371
|
+
from truefoundry.ml.autogen.client.models.source1 import Source1
|
|
372
|
+
from truefoundry.ml.autogen.client.models.spa_cy_framework import SpaCyFramework
|
|
373
|
+
from truefoundry.ml.autogen.client.models.stats_models_framework import (
|
|
374
|
+
StatsModelsFramework,
|
|
375
|
+
)
|
|
352
376
|
from truefoundry.ml.autogen.client.models.stop import Stop
|
|
353
377
|
from truefoundry.ml.autogen.client.models.store_run_logs_request_dto import (
|
|
354
378
|
StoreRunLogsRequestDto,
|
|
@@ -356,16 +380,22 @@ from truefoundry.ml.autogen.client.models.store_run_logs_request_dto import (
|
|
|
356
380
|
from truefoundry.ml.autogen.client.models.subject import Subject
|
|
357
381
|
from truefoundry.ml.autogen.client.models.subject_type import SubjectType
|
|
358
382
|
from truefoundry.ml.autogen.client.models.system_message import SystemMessage
|
|
359
|
-
from truefoundry.ml.autogen.client.models.
|
|
360
|
-
|
|
383
|
+
from truefoundry.ml.autogen.client.models.tensor_flow_framework import (
|
|
384
|
+
TensorFlowFramework,
|
|
361
385
|
)
|
|
362
386
|
from truefoundry.ml.autogen.client.models.text import Text
|
|
363
387
|
from truefoundry.ml.autogen.client.models.text_content_part import TextContentPart
|
|
364
388
|
from truefoundry.ml.autogen.client.models.transformers_framework import (
|
|
365
389
|
TransformersFramework,
|
|
366
390
|
)
|
|
367
|
-
from truefoundry.ml.autogen.client.models.
|
|
368
|
-
|
|
391
|
+
from truefoundry.ml.autogen.client.models.trigger_job_run_config_request_dto import (
|
|
392
|
+
TriggerJobRunConfigRequestDto,
|
|
393
|
+
)
|
|
394
|
+
from truefoundry.ml.autogen.client.models.trigger_job_run_config_response_dto import (
|
|
395
|
+
TriggerJobRunConfigResponseDto,
|
|
396
|
+
)
|
|
397
|
+
from truefoundry.ml.autogen.client.models.true_foundry_artifact_source import (
|
|
398
|
+
TrueFoundryArtifactSource,
|
|
369
399
|
)
|
|
370
400
|
from truefoundry.ml.autogen.client.models.update_artifact_version_request_dto import (
|
|
371
401
|
UpdateArtifactVersionRequestDto,
|
|
@@ -385,10 +415,10 @@ from truefoundry.ml.autogen.client.models.update_run_request_dto import (
|
|
|
385
415
|
from truefoundry.ml.autogen.client.models.update_run_response_dto import (
|
|
386
416
|
UpdateRunResponseDto,
|
|
387
417
|
)
|
|
388
|
-
from truefoundry.ml.autogen.client.models.upload_model_source import UploadModelSource
|
|
389
418
|
from truefoundry.ml.autogen.client.models.url import Url
|
|
390
419
|
from truefoundry.ml.autogen.client.models.user_message import UserMessage
|
|
391
420
|
from truefoundry.ml.autogen.client.models.validation_error import ValidationError
|
|
392
421
|
from truefoundry.ml.autogen.client.models.validation_error_loc_inner import (
|
|
393
422
|
ValidationErrorLocInner,
|
|
394
423
|
)
|
|
424
|
+
from truefoundry.ml.autogen.client.models.xg_boost_framework import XGBoostFramework
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
from truefoundry.ml.autogen.client.api.auth_api import AuthApi
|
|
5
5
|
from truefoundry.ml.autogen.client.api.deprecated_api import DeprecatedApi
|
|
6
6
|
from truefoundry.ml.autogen.client.api.experiments_api import ExperimentsApi
|
|
7
|
+
from truefoundry.ml.autogen.client.api.generate_code_snippet_api import (
|
|
8
|
+
GenerateCodeSnippetApi,
|
|
9
|
+
)
|
|
7
10
|
from truefoundry.ml.autogen.client.api.health_api import HealthApi
|
|
8
11
|
from truefoundry.ml.autogen.client.api.metrics_api import MetricsApi
|
|
9
12
|
from truefoundry.ml.autogen.client.api.mlfoundry_artifacts_api import (
|
|
10
13
|
MlfoundryArtifactsApi,
|
|
11
14
|
)
|
|
12
|
-
from truefoundry.ml.autogen.client.api.python_deployment_config_api import (
|
|
13
|
-
PythonDeploymentConfigApi,
|
|
14
|
-
)
|
|
15
15
|
from truefoundry.ml.autogen.client.api.run_artifacts_api import RunArtifactsApi
|
|
16
16
|
from truefoundry.ml.autogen.client.api.runs_api import RunsApi
|