truefoundry 0.5.7rc1__tar.gz → 0.5.8rc1__tar.gz
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-0.5.7rc1 → truefoundry-0.5.8rc1}/PKG-INFO +1 -1
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/pyproject.toml +24 -12
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/__main__.py +2 -2
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/credential_provider.py +1 -1
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/entities.py +2 -4
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/servicefoundry_client.py +7 -2
- truefoundry-0.5.8rc1/truefoundry/common/types.py +7 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/utils.py +1 -1
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/deploy_command.py +3 -5
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/clients/servicefoundry_client.py +3 -6
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/deploy.py +2 -2
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/deploy_workflow.py +8 -5
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py +13 -9
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/models.py +1 -1
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/patched_models.py +1 -1
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/source.py +2 -1
- truefoundry-0.5.7rc1/truefoundry/workflow/example/deploy.sh +0 -1
- truefoundry-0.5.7rc1/truefoundry/workflow/example/hello_world_package/workflow.py +0 -20
- truefoundry-0.5.7rc1/truefoundry/workflow/example/package/test_workflow.py +0 -151
- truefoundry-0.5.7rc1/truefoundry/workflow/example/truefoundry.yaml +0 -9
- truefoundry-0.5.7rc1/truefoundry/workflow/example/workflow.yaml +0 -116
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/README.md +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/agents/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/agents/base.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/agents/developer.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/agents/tester.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/cli.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/exception.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/logger.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/ask.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/base.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/commit.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/docker_build.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/docker_run.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/list_files.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/read_file.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/send_request.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/tools/write_file.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/utils/client.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/utils/diff.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/config.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/console.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/const.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/display_util.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/cli/util.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/auth_service_client.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/credential_file_manager.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/exceptions.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/request_utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/session.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/storage_provider_utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/common/warnings.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/auto_gen/models.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/docker_service.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/builder/utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/build_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/create_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/get_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/list_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/login_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/core/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/core/login.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/core/logout.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/io/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/io/output_callback.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/io/rich_output_callback.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/clients/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/const.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/dao/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/dao/application.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/dao/apply.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/dao/version.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/dao/workspace.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/logs_utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/messages.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/model/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/model/entity.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/session.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/util.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/lib/win32.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/python_deploy_codegen.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/logger.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/artifact/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api_client.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/api_response.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/configuration.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/exceptions.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/agent.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/command.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/content.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/content1.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/content2.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/external_blob_storage_source.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_artifact_version_aliases_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/infer_method_name.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/method.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_server.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_version_environment.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_version_manifest.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/sklearn_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/sklearn_model_schema.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/sklearn_serialization_format.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/source.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/source1.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/stop.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/subject.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/text.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/transformers_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/true_foundry_managed_source.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/url.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/validate_external_storage_root_request_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/validate_external_storage_root_response_dto.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/models/xg_boost_serialization_format.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client/rest.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/client_README.md +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/entities/artifacts.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/models/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/models/exceptions.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/models/schema.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/models/signature.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/autogen/models/utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/cli.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/commands/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/commands/download.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/commands/model_init.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/cli/utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/clients/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/entities.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/enums.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/exceptions.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/git_info.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/internal_namespace.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/artifact.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/model.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/image/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/image/constants.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/image/image.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/image/types.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/plot.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/pydantic_base.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/log_types/utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/logger.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/mlfoundry_api.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/mlfoundry_run.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/model_framework.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/run_utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/session.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/ml/validation_utils.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/pydantic_v1.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/version.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/container_task.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/map_task.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/python_task.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/task.py +0 -0
- {truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/workflow/workflow.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "truefoundry"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.8rc1"
|
|
4
4
|
description = "TrueFoundry CLI"
|
|
5
5
|
authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -55,10 +55,11 @@ workflow = ["flytekit"]
|
|
|
55
55
|
[tool.poetry.group.dev.dependencies]
|
|
56
56
|
Pillow = ">=9.1.1,<11.0.0"
|
|
57
57
|
ipykernel = ">=6.16.0"
|
|
58
|
+
ipywidgets = ">=8.0.0"
|
|
58
59
|
ipython = ">=7.10.0"
|
|
59
60
|
langchain = ">=0.2.0,<0.3.0"
|
|
60
61
|
matplotlib = ">=3.0.0,<4.0.0"
|
|
61
|
-
mypy = "
|
|
62
|
+
mypy = ">=1.14.1"
|
|
62
63
|
plotly = ">=5.8.2,<6.0.0"
|
|
63
64
|
pandas = [
|
|
64
65
|
# This is split into two because poetry will select a version which has no wheel on python >= 3.10 :/
|
|
@@ -68,7 +69,7 @@ pandas = [
|
|
|
68
69
|
pre-commit = ">=3.5.0,<4.0.0"
|
|
69
70
|
pytest = ">=8.2.2,<9.0.0"
|
|
70
71
|
pytest-env = ">=1.1.5,<2.0.0"
|
|
71
|
-
ruff = ">=0.4
|
|
72
|
+
ruff = ">=0.9.4"
|
|
72
73
|
seaborn = ">=0.13.0,<0.14.0"
|
|
73
74
|
scikit-learn = ">=1.3.0,<2.0.0"
|
|
74
75
|
shap = [
|
|
@@ -98,9 +99,19 @@ lint.select = [
|
|
|
98
99
|
"B", # flake8-bugbear
|
|
99
100
|
"Q", # flake8-quotes
|
|
100
101
|
"I",
|
|
102
|
+
"T10",
|
|
103
|
+
"ASYNC",
|
|
104
|
+
]
|
|
105
|
+
lint.ignore = [
|
|
106
|
+
"E501",
|
|
107
|
+
]
|
|
108
|
+
exclude = [
|
|
109
|
+
".venv",
|
|
110
|
+
"venv",
|
|
111
|
+
"repos",
|
|
112
|
+
"truefoundry/ml/autogen/**",
|
|
113
|
+
"truefoundry/deploy/auto_gen/**",
|
|
101
114
|
]
|
|
102
|
-
lint.ignore = ["E501"]
|
|
103
|
-
exclude = ["venv", "repos"]
|
|
104
115
|
|
|
105
116
|
[tool.ruff.lint.per-file-ignores]
|
|
106
117
|
"__init__.py" = ["F401"]
|
|
@@ -110,7 +121,7 @@ exclude = ["venv", "repos"]
|
|
|
110
121
|
|
|
111
122
|
[tool.mypy]
|
|
112
123
|
plugins = [
|
|
113
|
-
"pydantic.mypy"
|
|
124
|
+
"pydantic.v1.mypy"
|
|
114
125
|
]
|
|
115
126
|
install_types = true
|
|
116
127
|
non_interactive = true
|
|
@@ -119,11 +130,11 @@ allow_redefinition = false
|
|
|
119
130
|
allow_untyped_globals = false
|
|
120
131
|
check_untyped_defs = true
|
|
121
132
|
disallow_any_generics = true
|
|
122
|
-
disallow_incomplete_defs =
|
|
133
|
+
disallow_incomplete_defs = true
|
|
123
134
|
disallow_subclassing_any = true
|
|
124
|
-
disallow_untyped_calls =
|
|
125
|
-
disallow_untyped_decorators =
|
|
126
|
-
disallow_untyped_defs =
|
|
135
|
+
disallow_untyped_calls = true
|
|
136
|
+
disallow_untyped_decorators = true
|
|
137
|
+
disallow_untyped_defs = true
|
|
127
138
|
follow_imports = "silent"
|
|
128
139
|
force_uppercase_builtins = true
|
|
129
140
|
no_implicit_optional = true
|
|
@@ -137,16 +148,17 @@ warn_unreachable = true
|
|
|
137
148
|
warn_unused_ignores = true
|
|
138
149
|
|
|
139
150
|
packages = [
|
|
140
|
-
"truefoundry
|
|
141
|
-
"truefoundry.ml",
|
|
151
|
+
"truefoundry",
|
|
142
152
|
]
|
|
143
153
|
exclude = [
|
|
144
154
|
"^truefoundry/ml/autogen",
|
|
145
155
|
"^truefoundry/deploy/auto_gen",
|
|
146
156
|
"^truefoundry/pydantic_v1.py$",
|
|
157
|
+
"^truefoundry/autodeploy/",
|
|
147
158
|
]
|
|
148
159
|
disable_error_code = [
|
|
149
160
|
"import-untyped",
|
|
161
|
+
"method-assign",
|
|
150
162
|
]
|
|
151
163
|
|
|
152
164
|
[tool.pydantic-mypy]
|
|
@@ -71,7 +71,7 @@ def truefoundry_cli(ctx, json, debug):
|
|
|
71
71
|
logger.add_cli_handler(level=log_level)
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
def create_truefoundry_cli() -> click.
|
|
74
|
+
def create_truefoundry_cli() -> click.Group:
|
|
75
75
|
"""Generates CLI by combining all subcommands into a main CLI and returns in
|
|
76
76
|
|
|
77
77
|
Returns:
|
|
@@ -105,7 +105,7 @@ def main():
|
|
|
105
105
|
try:
|
|
106
106
|
cli = create_truefoundry_cli()
|
|
107
107
|
except Exception as e:
|
|
108
|
-
raise click.
|
|
108
|
+
raise click.UsageError(message=str(e)) from e
|
|
109
109
|
sys.exit(cli())
|
|
110
110
|
|
|
111
111
|
|
|
@@ -38,7 +38,7 @@ class EnvCredentialProvider(CredentialProvider):
|
|
|
38
38
|
)
|
|
39
39
|
self._host = resolve_tfy_host()
|
|
40
40
|
self._auth_service = AuthServiceClient.from_tfy_host(tfy_host=self._host)
|
|
41
|
-
self._token: Token = Token(access_token=api_key, refresh_token=None)
|
|
41
|
+
self._token: Token = Token(access_token=api_key, refresh_token=None)
|
|
42
42
|
|
|
43
43
|
@staticmethod
|
|
44
44
|
def can_provide() -> bool:
|
|
@@ -62,7 +62,7 @@ class Token(BaseModel):
|
|
|
62
62
|
return (exp - time.time()) < buffer_in_seconds
|
|
63
63
|
|
|
64
64
|
def to_user_info(self) -> UserInfo:
|
|
65
|
-
return UserInfo(
|
|
65
|
+
return UserInfo(
|
|
66
66
|
user_id=self.decoded_value["username"],
|
|
67
67
|
email=self.decoded_value["email"]
|
|
68
68
|
if "email" in self.decoded_value
|
|
@@ -81,9 +81,7 @@ class CredentialsFileContent(BaseModel):
|
|
|
81
81
|
host: NonEmptyStr
|
|
82
82
|
|
|
83
83
|
def to_token(self) -> Token:
|
|
84
|
-
return Token(
|
|
85
|
-
access_token=self.access_token, refresh_token=self.refresh_token
|
|
86
|
-
)
|
|
84
|
+
return Token(access_token=self.access_token, refresh_token=self.refresh_token)
|
|
87
85
|
|
|
88
86
|
|
|
89
87
|
class TenantInfo(BaseModel):
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import functools
|
|
4
|
+
from typing import Callable, TypeVar
|
|
4
5
|
|
|
5
6
|
import requests
|
|
6
7
|
from packaging import version
|
|
8
|
+
from typing_extensions import ParamSpec
|
|
7
9
|
|
|
8
10
|
from truefoundry.common.constants import (
|
|
9
11
|
SERVICEFOUNDRY_CLIENT_MAX_RETRIES,
|
|
@@ -24,10 +26,13 @@ from truefoundry.common.utils import (
|
|
|
24
26
|
from truefoundry.logger import logger
|
|
25
27
|
from truefoundry.version import __version__
|
|
26
28
|
|
|
29
|
+
P = ParamSpec("P")
|
|
30
|
+
R = TypeVar("R")
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
|
|
33
|
+
def check_min_cli_version(fn: Callable[P, R]) -> Callable[P, R]:
|
|
29
34
|
@functools.wraps(fn)
|
|
30
|
-
def inner(*args, **kwargs):
|
|
35
|
+
def inner(*args: P.args, **kwargs: P.kwargs) -> R:
|
|
31
36
|
client: "ServiceFoundryServiceClient" = args[0]
|
|
32
37
|
client.check_min_cli_version()
|
|
33
38
|
return fn(*args, **kwargs)
|
|
@@ -53,7 +53,7 @@ def get_tfy_servers_config(tfy_host: str) -> _TFYServersConfig:
|
|
|
53
53
|
global _tfy_servers_config
|
|
54
54
|
if _tfy_servers_config is None:
|
|
55
55
|
if ENV_VARS.TFY_CLI_LOCAL_DEV_MODE:
|
|
56
|
-
_tfy_servers_config = _TFYServersConfig()
|
|
56
|
+
_tfy_servers_config = _TFYServersConfig()
|
|
57
57
|
else:
|
|
58
58
|
_tfy_servers_config = _TFYServersConfig.from_tfy_host(tfy_host)
|
|
59
59
|
return _tfy_servers_config
|
{truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/cli/commands/deploy_command.py
RENAMED
|
@@ -55,7 +55,7 @@ def _get_default_spec_file():
|
|
|
55
55
|
help="Wait and tail the deployment progress",
|
|
56
56
|
)
|
|
57
57
|
@click.option(
|
|
58
|
-
"--force
|
|
58
|
+
"--force/--no-force",
|
|
59
59
|
is_flag=True,
|
|
60
60
|
show_default=True,
|
|
61
61
|
default=False,
|
|
@@ -68,7 +68,7 @@ def deploy_command(
|
|
|
68
68
|
file: str,
|
|
69
69
|
workspace_fqn: Optional[str],
|
|
70
70
|
wait: bool,
|
|
71
|
-
|
|
71
|
+
force: bool = False,
|
|
72
72
|
):
|
|
73
73
|
if ctx.invoked_subcommand is not None:
|
|
74
74
|
return
|
|
@@ -85,9 +85,7 @@ def deploy_command(
|
|
|
85
85
|
application_definition = yaml.safe_load(f)
|
|
86
86
|
|
|
87
87
|
application = Application.parse_obj(application_definition)
|
|
88
|
-
application.deploy(
|
|
89
|
-
workspace_fqn=workspace_fqn, wait=wait, force_deploy=force_deploy
|
|
90
|
-
)
|
|
88
|
+
application.deploy(workspace_fqn=workspace_fqn, wait=wait, force=force)
|
|
91
89
|
sys.exit(0)
|
|
92
90
|
|
|
93
91
|
click.echo(
|
|
@@ -4,7 +4,7 @@ import json
|
|
|
4
4
|
import os
|
|
5
5
|
import time
|
|
6
6
|
from datetime import datetime, timezone
|
|
7
|
-
from typing import
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
8
8
|
from urllib.parse import urljoin
|
|
9
9
|
|
|
10
10
|
import requests
|
|
@@ -50,9 +50,6 @@ DEPLOYMENT_LOGS_SUBSCRIBE_MESSAGE = "DEPLOYMENT_LOGS"
|
|
|
50
50
|
BUILD_LOGS_SUBSCRIBE_MESSAGE = "BUILD_LOGS"
|
|
51
51
|
MAX_RETRIES_WORKFLOW_TRIGGER = 3
|
|
52
52
|
|
|
53
|
-
if TYPE_CHECKING:
|
|
54
|
-
from truefoundry.deploy.auto_gen.models import Application
|
|
55
|
-
|
|
56
53
|
|
|
57
54
|
def _upload_packaged_code(metadata, package_file):
|
|
58
55
|
file_size = os.stat(package_file).st_size
|
|
@@ -242,13 +239,13 @@ class ServiceFoundryServiceClient(BaseServiceFoundryServiceClient):
|
|
|
242
239
|
self,
|
|
243
240
|
workspace_id: str,
|
|
244
241
|
application: auto_gen_models.Workflow,
|
|
245
|
-
|
|
242
|
+
force: bool = False,
|
|
246
243
|
) -> Deployment:
|
|
247
244
|
data = {
|
|
248
245
|
"workspaceId": workspace_id,
|
|
249
246
|
"name": application.name,
|
|
250
247
|
"manifest": application.dict(exclude_none=True),
|
|
251
|
-
"forceDeploy":
|
|
248
|
+
"forceDeploy": force,
|
|
252
249
|
}
|
|
253
250
|
logger.debug(json.dumps(data))
|
|
254
251
|
url = f"{self._api_server_url}/{VERSION_PREFIX}/deployment"
|
|
@@ -252,7 +252,7 @@ def deploy_component(
|
|
|
252
252
|
component: Component,
|
|
253
253
|
workspace_fqn: Optional[str] = None,
|
|
254
254
|
wait: bool = True,
|
|
255
|
-
|
|
255
|
+
force: bool = False,
|
|
256
256
|
) -> Deployment:
|
|
257
257
|
_warn_when_gpu_selected_without_cuda(component=component)
|
|
258
258
|
workspace_fqn = _resolve_workspace_fqn(
|
|
@@ -274,7 +274,7 @@ def deploy_component(
|
|
|
274
274
|
response = client.deploy_application(
|
|
275
275
|
workspace_id=workspace_id,
|
|
276
276
|
application=updated_component,
|
|
277
|
-
|
|
277
|
+
force=force,
|
|
278
278
|
)
|
|
279
279
|
logger.info(
|
|
280
280
|
"🚀 Deployment started for application '%s'. Deployment FQN is '%s'.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import sys
|
|
3
3
|
from pathlib import Path
|
|
4
|
-
from typing import
|
|
4
|
+
from typing import Dict, List, Optional, Union
|
|
5
5
|
|
|
6
6
|
import requirements
|
|
7
7
|
from flytekit.configuration import (
|
|
@@ -19,6 +19,7 @@ from flytekit.tools.translator import TaskSpec as FlyteTaskSpec
|
|
|
19
19
|
from flytekit.tools.translator import WorkflowSpec as FlyteWorkflowSpec
|
|
20
20
|
from google.protobuf.json_format import MessageToDict
|
|
21
21
|
|
|
22
|
+
from truefoundry.common.types import UploadCodePackageCallable
|
|
22
23
|
from truefoundry.deploy.auto_gen import models as auto_gen_models
|
|
23
24
|
from truefoundry.deploy.lib.clients.servicefoundry_client import (
|
|
24
25
|
ServiceFoundryServiceClient,
|
|
@@ -39,7 +40,7 @@ from truefoundry.workflow.workflow import (
|
|
|
39
40
|
def _handle_code_upload_for_workflow(
|
|
40
41
|
workflow: auto_gen_models.Workflow,
|
|
41
42
|
workspace_fqn: str,
|
|
42
|
-
upload_code_package:
|
|
43
|
+
upload_code_package: UploadCodePackageCallable,
|
|
43
44
|
) -> auto_gen_models.Workflow:
|
|
44
45
|
new_workflow = workflow.copy(deep=True)
|
|
45
46
|
new_workflow.source = local_source_to_remote_source(
|
|
@@ -92,7 +93,7 @@ def _is_tfy_wf_present_in_task_python_build(
|
|
|
92
93
|
|
|
93
94
|
|
|
94
95
|
def _is_dynamic_task(flyte_task: FlyteTaskSpec) -> bool:
|
|
95
|
-
envs: Dict[str
|
|
96
|
+
envs: Dict[str, str] = flyte_task.template.container.env or {}
|
|
96
97
|
return SERIALIZED_CONTEXT_ENV_VAR in envs.keys()
|
|
97
98
|
|
|
98
99
|
|
|
@@ -273,7 +274,7 @@ def deploy_workflow(
|
|
|
273
274
|
workflow: auto_gen_models.Workflow,
|
|
274
275
|
workspace_fqn: str,
|
|
275
276
|
wait: bool = True,
|
|
276
|
-
|
|
277
|
+
force: bool = False,
|
|
277
278
|
) -> Deployment:
|
|
278
279
|
_generate_manifest_for_workflow(workflow)
|
|
279
280
|
_validate_workspace_fqn(workflow, workspace_fqn)
|
|
@@ -296,7 +297,9 @@ def deploy_workflow(
|
|
|
296
297
|
)
|
|
297
298
|
|
|
298
299
|
deployment = client.deploy_application(
|
|
299
|
-
workspace_id=workspace_id,
|
|
300
|
+
workspace_id=workspace_id,
|
|
301
|
+
application=workflow,
|
|
302
|
+
force=force,
|
|
300
303
|
)
|
|
301
304
|
logger.info(
|
|
302
305
|
"🚀 Deployment started for application '%s'. Deployment FQN is '%s'.",
|
{truefoundry-0.5.7rc1 → truefoundry-0.5.8rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py
RENAMED
|
@@ -12,13 +12,13 @@ class DeployablePatchedModelBase(BaseModel):
|
|
|
12
12
|
extra = "forbid"
|
|
13
13
|
|
|
14
14
|
def deploy(
|
|
15
|
-
self, workspace_fqn: str, wait: bool = True,
|
|
15
|
+
self, workspace_fqn: str, wait: bool = True, force: bool = False
|
|
16
16
|
) -> Deployment:
|
|
17
17
|
return deploy_component(
|
|
18
18
|
component=self,
|
|
19
19
|
workspace_fqn=workspace_fqn,
|
|
20
20
|
wait=wait,
|
|
21
|
-
|
|
21
|
+
force=force,
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ class Service(models.Service, DeployablePatchedModelBase):
|
|
|
26
26
|
type: Literal["service"] = "service"
|
|
27
27
|
resources: models.Resources = Field(default_factory=models.Resources)
|
|
28
28
|
# This is being patched because cue export marks this as a "number"
|
|
29
|
-
replicas: Union[conint(ge=0, le=100), models.ServiceAutoscaling] = Field(
|
|
29
|
+
replicas: Union[conint(ge=0, le=100), models.ServiceAutoscaling] = Field( # type: ignore[valid-type]
|
|
30
30
|
1,
|
|
31
31
|
description="+label=Replicas\n+usage=Replicas of service you want to run\n+icon=fa-clone\n+sort=3",
|
|
32
32
|
)
|
|
@@ -70,7 +70,7 @@ class ApplicationSet(models.ApplicationSet, DeployablePatchedModelBase):
|
|
|
70
70
|
|
|
71
71
|
class AsyncService(models.AsyncService, DeployablePatchedModelBase):
|
|
72
72
|
type: Literal["async-service"] = "async-service"
|
|
73
|
-
replicas: Union[conint(ge=0, le=100), models.AsyncServiceAutoscaling] = 1
|
|
73
|
+
replicas: Union[conint(ge=0, le=100), models.AsyncServiceAutoscaling] = 1 # type: ignore[valid-type]
|
|
74
74
|
resources: models.Resources = Field(default_factory=models.Resources)
|
|
75
75
|
|
|
76
76
|
|
|
@@ -81,7 +81,7 @@ class SSHServer(models.SSHServer, DeployablePatchedModelBase):
|
|
|
81
81
|
|
|
82
82
|
class Application(models.Application, DeployablePatchedModelBase):
|
|
83
83
|
def deploy(
|
|
84
|
-
self, workspace_fqn: str, wait: bool = True,
|
|
84
|
+
self, workspace_fqn: str, wait: bool = True, force: bool = False
|
|
85
85
|
) -> Deployment:
|
|
86
86
|
if isinstance(self.__root__, models.Workflow):
|
|
87
87
|
from truefoundry.deploy.v2.lib.deploy_workflow import deploy_workflow
|
|
@@ -90,14 +90,14 @@ class Application(models.Application, DeployablePatchedModelBase):
|
|
|
90
90
|
workflow=self.__root__,
|
|
91
91
|
workspace_fqn=workspace_fqn,
|
|
92
92
|
wait=wait,
|
|
93
|
-
|
|
93
|
+
force=force,
|
|
94
94
|
)
|
|
95
95
|
else:
|
|
96
96
|
return deploy_component(
|
|
97
97
|
component=self.__root__,
|
|
98
98
|
workspace_fqn=workspace_fqn,
|
|
99
99
|
wait=wait,
|
|
100
|
-
|
|
100
|
+
force=force,
|
|
101
101
|
)
|
|
102
102
|
|
|
103
103
|
|
|
@@ -107,7 +107,11 @@ class Workflow(models.Workflow, DeployablePatchedModelBase):
|
|
|
107
107
|
default_factory=lambda: LocalSource(local_build=False)
|
|
108
108
|
)
|
|
109
109
|
|
|
110
|
-
def deploy(
|
|
110
|
+
def deploy(
|
|
111
|
+
self, workspace_fqn: str, wait: bool = True, force: bool = False
|
|
112
|
+
) -> Deployment:
|
|
111
113
|
from truefoundry.deploy.v2.lib.deploy_workflow import deploy_workflow
|
|
112
114
|
|
|
113
|
-
return deploy_workflow(
|
|
115
|
+
return deploy_workflow(
|
|
116
|
+
workflow=self, workspace_fqn=workspace_fqn, wait=wait, force=force
|
|
117
|
+
)
|
|
@@ -518,7 +518,7 @@ class ArtifactsDownload(models.ArtifactsDownload, PatchedModelBase):
|
|
|
518
518
|
|
|
519
519
|
class NvidiaGPU(models.NvidiaGPU, PatchedModelBase):
|
|
520
520
|
type: Literal["nvidia_gpu"] = "nvidia_gpu"
|
|
521
|
-
name: Optional[Union[GPUType, constr(regex=r"^tpu-[a-z\d\-]+$")]] = None
|
|
521
|
+
name: Optional[Union[GPUType, constr(regex=r"^tpu-[a-z\d\-]+$")]] = None # type: ignore[valid-type]
|
|
522
522
|
|
|
523
523
|
|
|
524
524
|
class NvidiaMIGGPU(models.NvidiaMIGGPU, PatchedModelBase):
|
|
@@ -8,6 +8,7 @@ from typing import Callable, List, Optional
|
|
|
8
8
|
import gitignorefile
|
|
9
9
|
from tqdm import tqdm
|
|
10
10
|
|
|
11
|
+
from truefoundry.common.types import UploadCodePackageCallable
|
|
11
12
|
from truefoundry.common.warnings import TrueFoundryDeprecationWarning
|
|
12
13
|
from truefoundry.deploy import builder
|
|
13
14
|
from truefoundry.deploy.auto_gen import models
|
|
@@ -136,7 +137,7 @@ def local_source_to_remote_source(
|
|
|
136
137
|
local_source: models.LocalSource,
|
|
137
138
|
workspace_fqn: str,
|
|
138
139
|
component_name: str,
|
|
139
|
-
upload_code_package:
|
|
140
|
+
upload_code_package: UploadCodePackageCallable,
|
|
140
141
|
) -> RemoteSource:
|
|
141
142
|
with tempfile.TemporaryDirectory() as local_dir:
|
|
142
143
|
package_local_path = os.path.join(local_dir, "build.tar.gz")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tfy deploy --workspace_fqn tfy-ctl-euwe1-devtest:nikhil-ws
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from truefoundry.workflow import PythonTaskConfig, TaskPythonBuild, task, workflow
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@task(
|
|
5
|
-
task_config=PythonTaskConfig(
|
|
6
|
-
image=TaskPythonBuild(
|
|
7
|
-
python_version="3.9",
|
|
8
|
-
pip_packages=["truefoundry[workflow]"],
|
|
9
|
-
),
|
|
10
|
-
service_account="tfy-workflows-sa",
|
|
11
|
-
)
|
|
12
|
-
)
|
|
13
|
-
def say_hello() -> str:
|
|
14
|
-
return "Hello, World!"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@workflow
|
|
18
|
-
def hello_world_wf() -> str:
|
|
19
|
-
res = say_hello()
|
|
20
|
-
return res
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
from functools import partial
|
|
3
|
-
from pathlib import Path
|
|
4
|
-
from typing import List, Optional, Tuple
|
|
5
|
-
|
|
6
|
-
from truefoundry.deploy import Image, NvidiaGPU, Resources
|
|
7
|
-
from truefoundry.workflow import (
|
|
8
|
-
ContainerTask,
|
|
9
|
-
ContainerTaskConfig,
|
|
10
|
-
FlyteDirectory,
|
|
11
|
-
PythonTaskConfig,
|
|
12
|
-
TaskPythonBuild,
|
|
13
|
-
conditional,
|
|
14
|
-
map_task,
|
|
15
|
-
task,
|
|
16
|
-
workflow,
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
cpu_task_config = PythonTaskConfig(
|
|
20
|
-
image=TaskPythonBuild(
|
|
21
|
-
python_version="3.9",
|
|
22
|
-
pip_packages=["truefoundry[workflow]==0.4.1"],
|
|
23
|
-
),
|
|
24
|
-
resources=Resources(cpu_request=0.45),
|
|
25
|
-
service_account="tfy-workflows-sa",
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
# figure out naming
|
|
30
|
-
@task(task_config=cpu_task_config)
|
|
31
|
-
def should_train_tokenizer(tokenizer: str) -> bool:
|
|
32
|
-
print("Should train tokenizer")
|
|
33
|
-
return not bool(tokenizer)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@task(
|
|
37
|
-
task_config=cpu_task_config,
|
|
38
|
-
# currently we will not support the caching, but keeping here for now
|
|
39
|
-
# cache=True,
|
|
40
|
-
# cache_version="1.0",
|
|
41
|
-
)
|
|
42
|
-
def train_tokenizer() -> str:
|
|
43
|
-
print("Training tokenizer")
|
|
44
|
-
return "trained_tokenizer"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
@task(
|
|
48
|
-
task_config=PythonTaskConfig(
|
|
49
|
-
image=TaskPythonBuild(
|
|
50
|
-
python_version="3.9",
|
|
51
|
-
pip_packages=["truefoundry[workflow]==0.4.1", "pynvml==11.5.0"],
|
|
52
|
-
cuda_version="11.5-cudnn8",
|
|
53
|
-
),
|
|
54
|
-
env={
|
|
55
|
-
"NVIDIA_DRIVER_CAPABILITIES": "compute,utility",
|
|
56
|
-
"NVIDIA_VISIBLE_DEVICES": "all",
|
|
57
|
-
},
|
|
58
|
-
resources=Resources(cpu_request=0.45, devices=[NvidiaGPU(name="T4", count=1)]),
|
|
59
|
-
service_account="tfy-workflows-sa",
|
|
60
|
-
),
|
|
61
|
-
)
|
|
62
|
-
def train_model(tokenizer: str) -> Tuple[FlyteDirectory, str]:
|
|
63
|
-
print("Training model")
|
|
64
|
-
import flytekit
|
|
65
|
-
# from pynvml import nvmlDeviceGetCount, nvmlInit
|
|
66
|
-
|
|
67
|
-
# nvmlInit()
|
|
68
|
-
# assert nvmlDeviceGetCount() > 0
|
|
69
|
-
|
|
70
|
-
working_dir = flytekit.current_context().working_directory
|
|
71
|
-
local_dir = Path(os.path.join(working_dir, "csv_files"))
|
|
72
|
-
local_dir.mkdir(exist_ok=True)
|
|
73
|
-
|
|
74
|
-
with open(os.path.join(local_dir, "model"), "w", encoding="utf-8") as f:
|
|
75
|
-
f.write(tokenizer)
|
|
76
|
-
|
|
77
|
-
return FlyteDirectory(path=str(local_dir)), "hello"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
@task(task_config=cpu_task_config)
|
|
81
|
-
def get_validation_data() -> List[str]:
|
|
82
|
-
print("Getting validation data")
|
|
83
|
-
return ["foo", "bar", "baz"]
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
@task(task_config=cpu_task_config)
|
|
87
|
-
def validate_model(model: FlyteDirectory, tokenizer: str, validation_data: str) -> bool:
|
|
88
|
-
print(validation_data)
|
|
89
|
-
model_path = os.path.join(model, "model")
|
|
90
|
-
with open(model_path, "r", encoding="utf-8") as f:
|
|
91
|
-
return f.read() == tokenizer
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
@task(task_config=cpu_task_config)
|
|
95
|
-
def all_good(validations: List[bool]) -> bool:
|
|
96
|
-
print("Validations", validations)
|
|
97
|
-
return all(validations)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
echo = ContainerTask(
|
|
101
|
-
name="echo",
|
|
102
|
-
task_config=ContainerTaskConfig(
|
|
103
|
-
image=Image(
|
|
104
|
-
image_uri="docker.io/bash:4.1",
|
|
105
|
-
command=["echo", "hello"],
|
|
106
|
-
),
|
|
107
|
-
service_account="tfy-workflows-sa",
|
|
108
|
-
),
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
@task(task_config=cpu_task_config)
|
|
113
|
-
def random(tokenizer: str) -> Tuple[FlyteDirectory, str]:
|
|
114
|
-
print(tokenizer)
|
|
115
|
-
return FlyteDirectory(path=""), "random"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
@workflow(
|
|
119
|
-
# execution_configs=[
|
|
120
|
-
# ExecutionConfig(
|
|
121
|
-
# schedule="*/10 * * * *",
|
|
122
|
-
# )
|
|
123
|
-
# ]
|
|
124
|
-
)
|
|
125
|
-
def train(
|
|
126
|
-
tokenizer: str = "",
|
|
127
|
-
test_v2: str = "",
|
|
128
|
-
optional_var: Optional[str] = "",
|
|
129
|
-
default_v: Optional[str] = "hello1",
|
|
130
|
-
default_v2: str = "hello2",
|
|
131
|
-
) -> bool:
|
|
132
|
-
stt = should_train_tokenizer(tokenizer=tokenizer)
|
|
133
|
-
model, t = (
|
|
134
|
-
conditional("train_tokenizer")
|
|
135
|
-
.if_(stt.is_true())
|
|
136
|
-
.then(train_model(tokenizer=tokenizer))
|
|
137
|
-
.else_()
|
|
138
|
-
.then(random(tokenizer=tokenizer))
|
|
139
|
-
)
|
|
140
|
-
validation_task = partial(validate_model, model=model, tokenizer=t)
|
|
141
|
-
validation_data = get_validation_data()
|
|
142
|
-
validations = map_task(
|
|
143
|
-
validation_task,
|
|
144
|
-
concurrency=2,
|
|
145
|
-
)(validation_data=validation_data)
|
|
146
|
-
echo()
|
|
147
|
-
return all_good(validations=validations)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
if __name__ == "__main__":
|
|
151
|
-
train()
|