lightning-sdk 0.1.49__py3-none-any.whl → 2025.11.5__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.
- lightning_sdk/__init__.py +19 -9
- lightning_sdk/__version__.py +3 -0
- lightning_sdk/agents.py +2 -1
- lightning_sdk/ai_hub.py +43 -38
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/ai_hub_api.py +49 -6
- lightning_sdk/api/base_studio_api.py +90 -0
- lightning_sdk/api/cloud_account_api.py +225 -0
- lightning_sdk/api/deployment_api.py +133 -27
- lightning_sdk/api/job_api.py +147 -34
- lightning_sdk/api/license_api.py +37 -0
- lightning_sdk/api/lit_container_api.py +231 -19
- lightning_sdk/api/llm_api.py +306 -0
- lightning_sdk/api/mmt_api.py +112 -28
- lightning_sdk/api/pipeline_api.py +120 -0
- lightning_sdk/api/studio_api.py +440 -89
- lightning_sdk/api/teamspace_api.py +269 -31
- lightning_sdk/api/user_api.py +56 -2
- lightning_sdk/api/utils.py +185 -52
- lightning_sdk/base_studio.py +123 -0
- lightning_sdk/cli/__init__.py +1 -0
- lightning_sdk/cli/base_studio/__init__.py +10 -0
- lightning_sdk/cli/base_studio/list.py +43 -0
- lightning_sdk/cli/config/__init__.py +14 -0
- lightning_sdk/cli/config/get.py +57 -0
- lightning_sdk/cli/config/set.py +92 -0
- lightning_sdk/cli/config/show.py +9 -0
- lightning_sdk/cli/entrypoint.py +98 -56
- lightning_sdk/cli/groups.py +56 -0
- lightning_sdk/cli/job/__init__.py +7 -0
- lightning_sdk/cli/legacy/__init__.py +0 -0
- lightning_sdk/cli/legacy/ai_hub.py +65 -0
- lightning_sdk/cli/legacy/clusters_menu.py +49 -0
- lightning_sdk/cli/legacy/configure.py +129 -0
- lightning_sdk/cli/legacy/connect.py +34 -0
- lightning_sdk/cli/legacy/create.py +115 -0
- lightning_sdk/cli/legacy/delete.py +131 -0
- lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
- lightning_sdk/cli/legacy/deploy/_auth.py +196 -0
- lightning_sdk/cli/legacy/deploy/devbox.py +163 -0
- lightning_sdk/cli/legacy/deploy/serve.py +452 -0
- lightning_sdk/cli/legacy/docker_cli.py +22 -0
- lightning_sdk/cli/legacy/download.py +322 -0
- lightning_sdk/cli/legacy/entrypoint.py +110 -0
- lightning_sdk/cli/legacy/generate.py +52 -0
- lightning_sdk/cli/legacy/inspection.py +45 -0
- lightning_sdk/cli/{job_and_mmt_action.py → legacy/job_and_mmt_action.py} +6 -6
- lightning_sdk/cli/{jobs_menu.py → legacy/jobs_menu.py} +3 -2
- lightning_sdk/cli/legacy/list.py +326 -0
- lightning_sdk/cli/{mmts_menu.py → legacy/mmts_menu.py} +3 -2
- lightning_sdk/cli/legacy/open.py +81 -0
- lightning_sdk/cli/legacy/run.py +443 -0
- lightning_sdk/cli/legacy/start.py +107 -0
- lightning_sdk/cli/legacy/stop.py +107 -0
- lightning_sdk/cli/{studios_menu.py → legacy/studios_menu.py} +24 -1
- lightning_sdk/cli/legacy/switch.py +63 -0
- lightning_sdk/cli/{teamspace_menu.py → legacy/teamspace_menu.py} +12 -3
- lightning_sdk/cli/legacy/upload.py +382 -0
- lightning_sdk/cli/license/__init__.py +14 -0
- lightning_sdk/cli/license/get.py +15 -0
- lightning_sdk/cli/license/list.py +45 -0
- lightning_sdk/cli/license/set.py +13 -0
- lightning_sdk/cli/mmt/__init__.py +7 -0
- lightning_sdk/cli/studio/__init__.py +24 -0
- lightning_sdk/cli/studio/connect.py +139 -0
- lightning_sdk/cli/studio/create.py +96 -0
- lightning_sdk/cli/studio/delete.py +49 -0
- lightning_sdk/cli/studio/list.py +85 -0
- lightning_sdk/cli/studio/ssh.py +64 -0
- lightning_sdk/cli/studio/start.py +115 -0
- lightning_sdk/cli/studio/stop.py +45 -0
- lightning_sdk/cli/studio/switch.py +66 -0
- lightning_sdk/cli/utils/__init__.py +7 -0
- lightning_sdk/cli/utils/cloud_account_map.py +10 -0
- lightning_sdk/cli/utils/coloring.py +60 -0
- lightning_sdk/cli/utils/get_base_studio.py +24 -0
- lightning_sdk/cli/utils/handle_machine_and_gpus_args.py +69 -0
- lightning_sdk/cli/utils/logging.py +122 -0
- lightning_sdk/cli/utils/owner_selection.py +110 -0
- lightning_sdk/cli/utils/resolve.py +28 -0
- lightning_sdk/cli/utils/richt_print.py +35 -0
- lightning_sdk/cli/utils/save_to_config.py +27 -0
- lightning_sdk/cli/utils/ssh_connection.py +59 -0
- lightning_sdk/cli/utils/studio_selection.py +113 -0
- lightning_sdk/cli/utils/teamspace_selection.py +125 -0
- lightning_sdk/cli/vm/__init__.py +20 -0
- lightning_sdk/cli/vm/create.py +33 -0
- lightning_sdk/cli/vm/delete.py +25 -0
- lightning_sdk/cli/vm/list.py +30 -0
- lightning_sdk/cli/vm/ssh.py +31 -0
- lightning_sdk/cli/vm/start.py +60 -0
- lightning_sdk/cli/vm/stop.py +25 -0
- lightning_sdk/cli/vm/switch.py +38 -0
- lightning_sdk/constants.py +1 -0
- lightning_sdk/deployment/__init__.py +4 -0
- lightning_sdk/deployment/deployment.py +208 -28
- lightning_sdk/helpers.py +73 -34
- lightning_sdk/job/base.py +112 -12
- lightning_sdk/job/job.py +73 -44
- lightning_sdk/job/v1.py +28 -35
- lightning_sdk/job/v2.py +54 -17
- lightning_sdk/job/work.py +7 -3
- lightning_sdk/lightning_cloud/login.py +325 -18
- lightning_sdk/lightning_cloud/openapi/__init__.py +346 -26
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +14 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +1801 -384
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +376 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +414 -2
- lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +638 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +2563 -866
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +327 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +1720 -347
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +210 -4
- lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +126 -2119
- lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +283 -0
- lightning_sdk/lightning_cloud/openapi/api/git_credentials_service_api.py +497 -0
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +2326 -492
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +2273 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +17 -5
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +473 -5
- lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +24 -24
- lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +795 -0
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +106 -5
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +924 -0
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +202 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +1508 -251
- lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +121 -97
- lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +258 -0
- lightning_sdk/lightning_cloud/openapi/configuration.py +4 -20
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +332 -26
- lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/alertingevents_id_body.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_billing.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/alerts_config_studios.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +303 -17
- lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_usagerestrictions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/conversations_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/create.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/create_machine_request_represents_the_request_to_create_a_machine.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/deployment_id_alertingpolicies_body1.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +315 -3
- lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +199 -69
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cluster.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +1 -53
- lightning_sdk/lightning_cloud/openapi/models/id_contactowner_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/id_fork_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_render_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_reportrestarttimings_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_sleepconfig_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/id_visibility_body2.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/incident_id_messages_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/incidents_id_body.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_service_executions_response.py → job_id_reportroutingtelemetry_body.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/kubernetestemplates_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/license_key_validate_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/litregistry_lit_repo_name_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/models_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +109 -31
- lightning_sdk/lightning_cloud/openapi/models/models_model_id_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +627 -3
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/project_id_storagetransfers_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/project_tab_management_messages.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +523 -3
- lightning_sdk/lightning_cloud/openapi/models/{service_artifact_artifact_kind.py → protobuf_null_value.py} +7 -9
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/server_id_alerts_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/setup.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +93 -15
- lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/storagetransfers_validate_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/update.py +233 -129
- lightning_sdk/lightning_cloud/openapi/models/update1.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/usagerestrictions_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/user_user_id_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +188 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alert_method.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_alerts_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_artifact.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +6 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_author.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_subscription.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +117 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +313 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_artifact_event_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +669 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics_stats.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_source_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_settings.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +445 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +211 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_deletion_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_metrics.py +1527 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +521 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_response.py → v1_cluster_upload.py} +34 -34
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_usage_restriction.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_complete_body.py → v1_complete_upload_temporary_artifact_request.py} +29 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_reason.py +102 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_contact_assistant_owner_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +461 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_upgrade_trigger_record_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_capacity_reservation_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_git_credentials_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_job_request.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_managed_endpoint_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_machine_job_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_sdk_command_history_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_server_alert_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +261 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_tier.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_environment_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_usage_restriction_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_alerting_policy_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_git_credentials_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_message_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_incident_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_kubernetes_template_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_license_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_file_endpoint_response.py → v1_delete_pipeline_response.py} +25 -25
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +315 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_event.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy.py +409 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_frequency.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_operation.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_severity.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_policy_type.py +112 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_alerting_recipients.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_details.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +4 -2
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +47 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +931 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metrics.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_mmt.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/{id_uploads_body1.py → v1_firewall_rule.py} +53 -53
- lightning_sdk/lightning_cloud/openapi/models/v1_function_call.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_function_tool.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_file_endpoints_response.py → v1_gcp_data_connection_setup.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_gcp_direct_vpc.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_artifacts_page_response.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_assistant_session_daily_aggregated_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_cold_start_metrics_stats_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_open_ports_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_required_balance_status_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_accelerator_demand_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cluster_health_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_content_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_upload_service_execution_artifact_parts_response.py → v1_get_lit_dataset_file_upload_urls_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_market_pricing_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +487 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +263 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_get_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +235 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_git_credentials.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +185 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_group_node_metrics.py +1215 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_group_pod_metrics.py +1241 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_request.py +177 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_guest_login_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_service_artifact.py → v1_guest_user.py} +60 -60
- lightning_sdk/lightning_cloud/openapi/models/v1_incident.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_detail.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_event.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_message.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_severity.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_incident_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +95 -41
- lightning_sdk/lightning_cloud/openapi/models/v1_job.py +237 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_job_artifacts_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_resource.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +209 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +109 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_k8s_incident_indexes.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kai_scheduler_queue_metrics.py +627 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_aws_config.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_settings_v1.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_template_property.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +67 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_license.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_elastic_cluster_v1.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_artifact.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_like_status.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_aggregated_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_download_service_execution_artifact_response.py → v1_list_blog_posts_response.py} +41 -41
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_cold_start_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metric_timestamps_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_namespace_user_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_usage_restrictions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_container_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_conversation_message_actions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_alerting_policies_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_mm_ts_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_git_credentials_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_group_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_events_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incident_messages_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_incidents_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_job_resources_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kai_scheduler_queues_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_registry_repository_image_artifact_versions_response.py +257 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_file_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_node_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_notification_dialogs_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_pod_metrics_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_list_published_managed_endpoints_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedule_runs_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_storage_transfers_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/{id_storage_body.py → v1_lit_dataset_file.py} +49 -49
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_artifact.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +35 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +81 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lustre_data_connection.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine.py +617 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +341 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +121 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_message.py +159 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_delete_service_execution_response.py → v1_modify_filesystem_volume_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_metrics.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_namespace_user_metrics.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_nebius_direct_v1.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +695 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +837 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_path_mapping.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +591 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_status.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_step_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +747 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_post_cloud_space_artifact_events_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +121 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +525 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +235 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_purchase_annual_upsell_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_annual_upsell_response.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_quote_subscription_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_render_kubernetes_template_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_stop_at_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_k8s_cluster_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_restart_timings_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_request_cloud_space_access_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reservation_details.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_request.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_reset_api_key_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +55 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_response_choice.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_restart_timing.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +5 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +565 -0
- lightning_sdk/lightning_cloud/openapi/models/{command_argument_command_argument_type.py → v1_schedule_action_type.py} +9 -8
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_run.py +357 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_severity.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sdk_command_history_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_get_service_execution_status_response.py → v1_server_alert.py} +74 -48
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_severity.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_service_health.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_setup_data_connection_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slack_notifier_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_sleep_server_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +84 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +31 -291
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1_status.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +159 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +4 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_storage_transfer_status.py +108 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_subnet_spec.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_request.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_login_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_owner_type.py +104 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_tool_call.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_instance_config_request.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_like_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_deployment_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_job_visibility_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_repository_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_complete_upload_service_execution_artifact_response.py → v1_update_organization_credits_auto_replenish_response.py} +6 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_volume_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_list_new_features_for_user_response.py → v1_upload_temporary_artifact_request.py} +23 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +894 -842
- lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +229 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +513 -45
- lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/validate.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +29 -29
- lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/volumes_id_body.py +123 -0
- lightning_sdk/lightning_cloud/rest_client.py +61 -48
- lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +8 -3
- lightning_sdk/lightning_cloud/utils/data_connection.py +234 -7
- lightning_sdk/lit_container.py +68 -9
- lightning_sdk/llm/__init__.py +3 -0
- lightning_sdk/llm/llm.py +497 -0
- lightning_sdk/llm/public_assistants.py +54 -0
- lightning_sdk/machine.py +221 -30
- lightning_sdk/mmt/base.py +67 -32
- lightning_sdk/mmt/mmt.py +68 -50
- lightning_sdk/mmt/v1.py +16 -32
- lightning_sdk/mmt/v2.py +47 -18
- lightning_sdk/models.py +74 -24
- lightning_sdk/organization.py +4 -0
- lightning_sdk/owner.py +2 -1
- lightning_sdk/pipeline/__init__.py +14 -0
- lightning_sdk/pipeline/pipeline.py +163 -0
- lightning_sdk/pipeline/printer.py +124 -0
- lightning_sdk/pipeline/schedule.py +859 -0
- lightning_sdk/pipeline/steps.py +365 -0
- lightning_sdk/pipeline/utils.py +116 -0
- lightning_sdk/plugin.py +39 -20
- lightning_sdk/sandbox.py +160 -0
- lightning_sdk/serve.py +309 -0
- lightning_sdk/services/__init__.py +1 -1
- lightning_sdk/services/file_endpoint.py +3 -4
- lightning_sdk/services/utilities.py +16 -2
- lightning_sdk/studio.py +515 -41
- lightning_sdk/teamspace.py +335 -30
- lightning_sdk/user.py +19 -1
- lightning_sdk/utils/config.py +179 -0
- lightning_sdk/utils/license.py +13 -0
- lightning_sdk/utils/logging.py +79 -0
- lightning_sdk/utils/names.py +1179 -0
- lightning_sdk/utils/progress.py +283 -0
- lightning_sdk/utils/resolve.py +149 -13
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/METADATA +14 -11
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/RECORD +649 -250
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/WHEEL +1 -1
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/entry_points.txt +1 -0
- lightning_sdk/cli/ai_hub.py +0 -49
- lightning_sdk/cli/delete.py +0 -58
- lightning_sdk/cli/download.py +0 -132
- lightning_sdk/cli/inspect.py +0 -31
- lightning_sdk/cli/legacy.py +0 -135
- lightning_sdk/cli/list.py +0 -112
- lightning_sdk/cli/run.py +0 -225
- lightning_sdk/cli/serve.py +0 -218
- lightning_sdk/cli/stop.py +0 -37
- lightning_sdk/cli/upload.py +0 -255
- lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +0 -409
- lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +0 -357
- lightning_sdk/lightning_cloud/openapi/models/project_id_serviceexecution_body.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +0 -331
- lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +0 -305
- lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +0 -279
- lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +0 -461
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +0 -201
- lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +0 -175
- lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +0 -383
- /lightning_sdk/cli/{exceptions.py → legacy/exceptions.py} +0 -0
- /lightning_sdk/services/{finetune/__init__.py → finetune_llm.py} +0 -0
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.49.dist-info → lightning_sdk-2025.11.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1215 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
external/v1/auth_service.proto
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: version not set
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
|
|
12
|
+
NOTE
|
|
13
|
+
----
|
|
14
|
+
standard swagger-codegen-cli for this python client has been modified
|
|
15
|
+
by custom templates. The purpose of these templates is to include
|
|
16
|
+
typing information in the API and Model code. Please refer to the
|
|
17
|
+
main grid repository for more info
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import pprint
|
|
21
|
+
import re # noqa: F401
|
|
22
|
+
|
|
23
|
+
from typing import TYPE_CHECKING
|
|
24
|
+
|
|
25
|
+
import six
|
|
26
|
+
|
|
27
|
+
if TYPE_CHECKING:
|
|
28
|
+
from datetime import datetime
|
|
29
|
+
from lightning_sdk.lightning_cloud.openapi.models import *
|
|
30
|
+
|
|
31
|
+
class V1GroupNodeMetrics(object):
|
|
32
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
33
|
+
|
|
34
|
+
Do not edit the class manually.
|
|
35
|
+
"""
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
'cpus_util': 'float',
|
|
45
|
+
'filesystem_inode_util': 'float',
|
|
46
|
+
'filesystem_read_rate': 'float',
|
|
47
|
+
'filesystem_total': 'str',
|
|
48
|
+
'filesystem_util': 'float',
|
|
49
|
+
'filesystem_write_rate': 'float',
|
|
50
|
+
'gpu_sm_active': 'float',
|
|
51
|
+
'gpu_sm_occupancy': 'float',
|
|
52
|
+
'gpus_energy_avg': 'float',
|
|
53
|
+
'gpus_energy_avg_running': 'float',
|
|
54
|
+
'gpus_energy_total': 'float',
|
|
55
|
+
'gpus_temp_avg': 'float',
|
|
56
|
+
'gpus_temp_avg_running': 'float',
|
|
57
|
+
'gpus_util': 'float',
|
|
58
|
+
'gpus_util_over_allocable': 'float',
|
|
59
|
+
'gpus_util_over_requested': 'float',
|
|
60
|
+
'id': 'str',
|
|
61
|
+
'max_gpu_temp_recorded': 'int',
|
|
62
|
+
'max_power_per_gpu': 'int',
|
|
63
|
+
'num_cpus': 'int',
|
|
64
|
+
'num_gpus': 'int',
|
|
65
|
+
'num_gpus_allocable': 'int',
|
|
66
|
+
'num_limit_cpus': 'int',
|
|
67
|
+
'num_limit_gpus': 'int',
|
|
68
|
+
'num_nodes': 'int',
|
|
69
|
+
'num_requested_cpus': 'int',
|
|
70
|
+
'num_requested_gpus': 'int',
|
|
71
|
+
'nvlink_rx_gib_avg': 'float',
|
|
72
|
+
'nvlink_tx_gib_avg': 'float',
|
|
73
|
+
'pcie_rx_gib_avg': 'float',
|
|
74
|
+
'pcie_tx_gib_avg': 'float',
|
|
75
|
+
'ram_limit': 'str',
|
|
76
|
+
'ram_requested': 'str',
|
|
77
|
+
'ram_total': 'str',
|
|
78
|
+
'ram_util': 'float',
|
|
79
|
+
'timestamp': 'datetime',
|
|
80
|
+
'vram_limit': 'int',
|
|
81
|
+
'vram_read_write_util': 'float',
|
|
82
|
+
'vram_requested': 'int',
|
|
83
|
+
'vram_total': 'int',
|
|
84
|
+
'vram_used_avg': 'int',
|
|
85
|
+
'vram_used_total': 'int',
|
|
86
|
+
'vram_util': 'float'
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
attribute_map = {
|
|
90
|
+
'cpus_util': 'cpusUtil',
|
|
91
|
+
'filesystem_inode_util': 'filesystemInodeUtil',
|
|
92
|
+
'filesystem_read_rate': 'filesystemReadRate',
|
|
93
|
+
'filesystem_total': 'filesystemTotal',
|
|
94
|
+
'filesystem_util': 'filesystemUtil',
|
|
95
|
+
'filesystem_write_rate': 'filesystemWriteRate',
|
|
96
|
+
'gpu_sm_active': 'gpuSmActive',
|
|
97
|
+
'gpu_sm_occupancy': 'gpuSmOccupancy',
|
|
98
|
+
'gpus_energy_avg': 'gpusEnergyAvg',
|
|
99
|
+
'gpus_energy_avg_running': 'gpusEnergyAvgRunning',
|
|
100
|
+
'gpus_energy_total': 'gpusEnergyTotal',
|
|
101
|
+
'gpus_temp_avg': 'gpusTempAvg',
|
|
102
|
+
'gpus_temp_avg_running': 'gpusTempAvgRunning',
|
|
103
|
+
'gpus_util': 'gpusUtil',
|
|
104
|
+
'gpus_util_over_allocable': 'gpusUtilOverAllocable',
|
|
105
|
+
'gpus_util_over_requested': 'gpusUtilOverRequested',
|
|
106
|
+
'id': 'id',
|
|
107
|
+
'max_gpu_temp_recorded': 'maxGpuTempRecorded',
|
|
108
|
+
'max_power_per_gpu': 'maxPowerPerGpu',
|
|
109
|
+
'num_cpus': 'numCpus',
|
|
110
|
+
'num_gpus': 'numGpus',
|
|
111
|
+
'num_gpus_allocable': 'numGpusAllocable',
|
|
112
|
+
'num_limit_cpus': 'numLimitCpus',
|
|
113
|
+
'num_limit_gpus': 'numLimitGpus',
|
|
114
|
+
'num_nodes': 'numNodes',
|
|
115
|
+
'num_requested_cpus': 'numRequestedCpus',
|
|
116
|
+
'num_requested_gpus': 'numRequestedGpus',
|
|
117
|
+
'nvlink_rx_gib_avg': 'nvlinkRxGibAvg',
|
|
118
|
+
'nvlink_tx_gib_avg': 'nvlinkTxGibAvg',
|
|
119
|
+
'pcie_rx_gib_avg': 'pcieRxGibAvg',
|
|
120
|
+
'pcie_tx_gib_avg': 'pcieTxGibAvg',
|
|
121
|
+
'ram_limit': 'ramLimit',
|
|
122
|
+
'ram_requested': 'ramRequested',
|
|
123
|
+
'ram_total': 'ramTotal',
|
|
124
|
+
'ram_util': 'ramUtil',
|
|
125
|
+
'timestamp': 'timestamp',
|
|
126
|
+
'vram_limit': 'vramLimit',
|
|
127
|
+
'vram_read_write_util': 'vramReadWriteUtil',
|
|
128
|
+
'vram_requested': 'vramRequested',
|
|
129
|
+
'vram_total': 'vramTotal',
|
|
130
|
+
'vram_used_avg': 'vramUsedAvg',
|
|
131
|
+
'vram_used_total': 'vramUsedTotal',
|
|
132
|
+
'vram_util': 'vramUtil'
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
def __init__(self, cpus_util: 'float' =None, filesystem_inode_util: 'float' =None, filesystem_read_rate: 'float' =None, filesystem_total: 'str' =None, filesystem_util: 'float' =None, filesystem_write_rate: 'float' =None, gpu_sm_active: 'float' =None, gpu_sm_occupancy: 'float' =None, gpus_energy_avg: 'float' =None, gpus_energy_avg_running: 'float' =None, gpus_energy_total: 'float' =None, gpus_temp_avg: 'float' =None, gpus_temp_avg_running: 'float' =None, gpus_util: 'float' =None, gpus_util_over_allocable: 'float' =None, gpus_util_over_requested: 'float' =None, id: 'str' =None, max_gpu_temp_recorded: 'int' =None, max_power_per_gpu: 'int' =None, num_cpus: 'int' =None, num_gpus: 'int' =None, num_gpus_allocable: 'int' =None, num_limit_cpus: 'int' =None, num_limit_gpus: 'int' =None, num_nodes: 'int' =None, num_requested_cpus: 'int' =None, num_requested_gpus: 'int' =None, nvlink_rx_gib_avg: 'float' =None, nvlink_tx_gib_avg: 'float' =None, pcie_rx_gib_avg: 'float' =None, pcie_tx_gib_avg: 'float' =None, ram_limit: 'str' =None, ram_requested: 'str' =None, ram_total: 'str' =None, ram_util: 'float' =None, timestamp: 'datetime' =None, vram_limit: 'int' =None, vram_read_write_util: 'float' =None, vram_requested: 'int' =None, vram_total: 'int' =None, vram_used_avg: 'int' =None, vram_used_total: 'int' =None, vram_util: 'float' =None): # noqa: E501
|
|
136
|
+
"""V1GroupNodeMetrics - a model defined in Swagger""" # noqa: E501
|
|
137
|
+
self._cpus_util = None
|
|
138
|
+
self._filesystem_inode_util = None
|
|
139
|
+
self._filesystem_read_rate = None
|
|
140
|
+
self._filesystem_total = None
|
|
141
|
+
self._filesystem_util = None
|
|
142
|
+
self._filesystem_write_rate = None
|
|
143
|
+
self._gpu_sm_active = None
|
|
144
|
+
self._gpu_sm_occupancy = None
|
|
145
|
+
self._gpus_energy_avg = None
|
|
146
|
+
self._gpus_energy_avg_running = None
|
|
147
|
+
self._gpus_energy_total = None
|
|
148
|
+
self._gpus_temp_avg = None
|
|
149
|
+
self._gpus_temp_avg_running = None
|
|
150
|
+
self._gpus_util = None
|
|
151
|
+
self._gpus_util_over_allocable = None
|
|
152
|
+
self._gpus_util_over_requested = None
|
|
153
|
+
self._id = None
|
|
154
|
+
self._max_gpu_temp_recorded = None
|
|
155
|
+
self._max_power_per_gpu = None
|
|
156
|
+
self._num_cpus = None
|
|
157
|
+
self._num_gpus = None
|
|
158
|
+
self._num_gpus_allocable = None
|
|
159
|
+
self._num_limit_cpus = None
|
|
160
|
+
self._num_limit_gpus = None
|
|
161
|
+
self._num_nodes = None
|
|
162
|
+
self._num_requested_cpus = None
|
|
163
|
+
self._num_requested_gpus = None
|
|
164
|
+
self._nvlink_rx_gib_avg = None
|
|
165
|
+
self._nvlink_tx_gib_avg = None
|
|
166
|
+
self._pcie_rx_gib_avg = None
|
|
167
|
+
self._pcie_tx_gib_avg = None
|
|
168
|
+
self._ram_limit = None
|
|
169
|
+
self._ram_requested = None
|
|
170
|
+
self._ram_total = None
|
|
171
|
+
self._ram_util = None
|
|
172
|
+
self._timestamp = None
|
|
173
|
+
self._vram_limit = None
|
|
174
|
+
self._vram_read_write_util = None
|
|
175
|
+
self._vram_requested = None
|
|
176
|
+
self._vram_total = None
|
|
177
|
+
self._vram_used_avg = None
|
|
178
|
+
self._vram_used_total = None
|
|
179
|
+
self._vram_util = None
|
|
180
|
+
self.discriminator = None
|
|
181
|
+
if cpus_util is not None:
|
|
182
|
+
self.cpus_util = cpus_util
|
|
183
|
+
if filesystem_inode_util is not None:
|
|
184
|
+
self.filesystem_inode_util = filesystem_inode_util
|
|
185
|
+
if filesystem_read_rate is not None:
|
|
186
|
+
self.filesystem_read_rate = filesystem_read_rate
|
|
187
|
+
if filesystem_total is not None:
|
|
188
|
+
self.filesystem_total = filesystem_total
|
|
189
|
+
if filesystem_util is not None:
|
|
190
|
+
self.filesystem_util = filesystem_util
|
|
191
|
+
if filesystem_write_rate is not None:
|
|
192
|
+
self.filesystem_write_rate = filesystem_write_rate
|
|
193
|
+
if gpu_sm_active is not None:
|
|
194
|
+
self.gpu_sm_active = gpu_sm_active
|
|
195
|
+
if gpu_sm_occupancy is not None:
|
|
196
|
+
self.gpu_sm_occupancy = gpu_sm_occupancy
|
|
197
|
+
if gpus_energy_avg is not None:
|
|
198
|
+
self.gpus_energy_avg = gpus_energy_avg
|
|
199
|
+
if gpus_energy_avg_running is not None:
|
|
200
|
+
self.gpus_energy_avg_running = gpus_energy_avg_running
|
|
201
|
+
if gpus_energy_total is not None:
|
|
202
|
+
self.gpus_energy_total = gpus_energy_total
|
|
203
|
+
if gpus_temp_avg is not None:
|
|
204
|
+
self.gpus_temp_avg = gpus_temp_avg
|
|
205
|
+
if gpus_temp_avg_running is not None:
|
|
206
|
+
self.gpus_temp_avg_running = gpus_temp_avg_running
|
|
207
|
+
if gpus_util is not None:
|
|
208
|
+
self.gpus_util = gpus_util
|
|
209
|
+
if gpus_util_over_allocable is not None:
|
|
210
|
+
self.gpus_util_over_allocable = gpus_util_over_allocable
|
|
211
|
+
if gpus_util_over_requested is not None:
|
|
212
|
+
self.gpus_util_over_requested = gpus_util_over_requested
|
|
213
|
+
if id is not None:
|
|
214
|
+
self.id = id
|
|
215
|
+
if max_gpu_temp_recorded is not None:
|
|
216
|
+
self.max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
217
|
+
if max_power_per_gpu is not None:
|
|
218
|
+
self.max_power_per_gpu = max_power_per_gpu
|
|
219
|
+
if num_cpus is not None:
|
|
220
|
+
self.num_cpus = num_cpus
|
|
221
|
+
if num_gpus is not None:
|
|
222
|
+
self.num_gpus = num_gpus
|
|
223
|
+
if num_gpus_allocable is not None:
|
|
224
|
+
self.num_gpus_allocable = num_gpus_allocable
|
|
225
|
+
if num_limit_cpus is not None:
|
|
226
|
+
self.num_limit_cpus = num_limit_cpus
|
|
227
|
+
if num_limit_gpus is not None:
|
|
228
|
+
self.num_limit_gpus = num_limit_gpus
|
|
229
|
+
if num_nodes is not None:
|
|
230
|
+
self.num_nodes = num_nodes
|
|
231
|
+
if num_requested_cpus is not None:
|
|
232
|
+
self.num_requested_cpus = num_requested_cpus
|
|
233
|
+
if num_requested_gpus is not None:
|
|
234
|
+
self.num_requested_gpus = num_requested_gpus
|
|
235
|
+
if nvlink_rx_gib_avg is not None:
|
|
236
|
+
self.nvlink_rx_gib_avg = nvlink_rx_gib_avg
|
|
237
|
+
if nvlink_tx_gib_avg is not None:
|
|
238
|
+
self.nvlink_tx_gib_avg = nvlink_tx_gib_avg
|
|
239
|
+
if pcie_rx_gib_avg is not None:
|
|
240
|
+
self.pcie_rx_gib_avg = pcie_rx_gib_avg
|
|
241
|
+
if pcie_tx_gib_avg is not None:
|
|
242
|
+
self.pcie_tx_gib_avg = pcie_tx_gib_avg
|
|
243
|
+
if ram_limit is not None:
|
|
244
|
+
self.ram_limit = ram_limit
|
|
245
|
+
if ram_requested is not None:
|
|
246
|
+
self.ram_requested = ram_requested
|
|
247
|
+
if ram_total is not None:
|
|
248
|
+
self.ram_total = ram_total
|
|
249
|
+
if ram_util is not None:
|
|
250
|
+
self.ram_util = ram_util
|
|
251
|
+
if timestamp is not None:
|
|
252
|
+
self.timestamp = timestamp
|
|
253
|
+
if vram_limit is not None:
|
|
254
|
+
self.vram_limit = vram_limit
|
|
255
|
+
if vram_read_write_util is not None:
|
|
256
|
+
self.vram_read_write_util = vram_read_write_util
|
|
257
|
+
if vram_requested is not None:
|
|
258
|
+
self.vram_requested = vram_requested
|
|
259
|
+
if vram_total is not None:
|
|
260
|
+
self.vram_total = vram_total
|
|
261
|
+
if vram_used_avg is not None:
|
|
262
|
+
self.vram_used_avg = vram_used_avg
|
|
263
|
+
if vram_used_total is not None:
|
|
264
|
+
self.vram_used_total = vram_used_total
|
|
265
|
+
if vram_util is not None:
|
|
266
|
+
self.vram_util = vram_util
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def cpus_util(self) -> 'float':
|
|
270
|
+
"""Gets the cpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
:return: The cpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
274
|
+
:rtype: float
|
|
275
|
+
"""
|
|
276
|
+
return self._cpus_util
|
|
277
|
+
|
|
278
|
+
@cpus_util.setter
|
|
279
|
+
def cpus_util(self, cpus_util: 'float'):
|
|
280
|
+
"""Sets the cpus_util of this V1GroupNodeMetrics.
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
:param cpus_util: The cpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
284
|
+
:type: float
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
self._cpus_util = cpus_util
|
|
288
|
+
|
|
289
|
+
@property
|
|
290
|
+
def filesystem_inode_util(self) -> 'float':
|
|
291
|
+
"""Gets the filesystem_inode_util of this V1GroupNodeMetrics. # noqa: E501
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:return: The filesystem_inode_util of this V1GroupNodeMetrics. # noqa: E501
|
|
295
|
+
:rtype: float
|
|
296
|
+
"""
|
|
297
|
+
return self._filesystem_inode_util
|
|
298
|
+
|
|
299
|
+
@filesystem_inode_util.setter
|
|
300
|
+
def filesystem_inode_util(self, filesystem_inode_util: 'float'):
|
|
301
|
+
"""Sets the filesystem_inode_util of this V1GroupNodeMetrics.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
:param filesystem_inode_util: The filesystem_inode_util of this V1GroupNodeMetrics. # noqa: E501
|
|
305
|
+
:type: float
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
self._filesystem_inode_util = filesystem_inode_util
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def filesystem_read_rate(self) -> 'float':
|
|
312
|
+
"""Gets the filesystem_read_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
:return: The filesystem_read_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
316
|
+
:rtype: float
|
|
317
|
+
"""
|
|
318
|
+
return self._filesystem_read_rate
|
|
319
|
+
|
|
320
|
+
@filesystem_read_rate.setter
|
|
321
|
+
def filesystem_read_rate(self, filesystem_read_rate: 'float'):
|
|
322
|
+
"""Sets the filesystem_read_rate of this V1GroupNodeMetrics.
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
:param filesystem_read_rate: The filesystem_read_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
326
|
+
:type: float
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
self._filesystem_read_rate = filesystem_read_rate
|
|
330
|
+
|
|
331
|
+
@property
|
|
332
|
+
def filesystem_total(self) -> 'str':
|
|
333
|
+
"""Gets the filesystem_total of this V1GroupNodeMetrics. # noqa: E501
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
:return: The filesystem_total of this V1GroupNodeMetrics. # noqa: E501
|
|
337
|
+
:rtype: str
|
|
338
|
+
"""
|
|
339
|
+
return self._filesystem_total
|
|
340
|
+
|
|
341
|
+
@filesystem_total.setter
|
|
342
|
+
def filesystem_total(self, filesystem_total: 'str'):
|
|
343
|
+
"""Sets the filesystem_total of this V1GroupNodeMetrics.
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
:param filesystem_total: The filesystem_total of this V1GroupNodeMetrics. # noqa: E501
|
|
347
|
+
:type: str
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
self._filesystem_total = filesystem_total
|
|
351
|
+
|
|
352
|
+
@property
|
|
353
|
+
def filesystem_util(self) -> 'float':
|
|
354
|
+
"""Gets the filesystem_util of this V1GroupNodeMetrics. # noqa: E501
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
:return: The filesystem_util of this V1GroupNodeMetrics. # noqa: E501
|
|
358
|
+
:rtype: float
|
|
359
|
+
"""
|
|
360
|
+
return self._filesystem_util
|
|
361
|
+
|
|
362
|
+
@filesystem_util.setter
|
|
363
|
+
def filesystem_util(self, filesystem_util: 'float'):
|
|
364
|
+
"""Sets the filesystem_util of this V1GroupNodeMetrics.
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
:param filesystem_util: The filesystem_util of this V1GroupNodeMetrics. # noqa: E501
|
|
368
|
+
:type: float
|
|
369
|
+
"""
|
|
370
|
+
|
|
371
|
+
self._filesystem_util = filesystem_util
|
|
372
|
+
|
|
373
|
+
@property
|
|
374
|
+
def filesystem_write_rate(self) -> 'float':
|
|
375
|
+
"""Gets the filesystem_write_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
:return: The filesystem_write_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
379
|
+
:rtype: float
|
|
380
|
+
"""
|
|
381
|
+
return self._filesystem_write_rate
|
|
382
|
+
|
|
383
|
+
@filesystem_write_rate.setter
|
|
384
|
+
def filesystem_write_rate(self, filesystem_write_rate: 'float'):
|
|
385
|
+
"""Sets the filesystem_write_rate of this V1GroupNodeMetrics.
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
:param filesystem_write_rate: The filesystem_write_rate of this V1GroupNodeMetrics. # noqa: E501
|
|
389
|
+
:type: float
|
|
390
|
+
"""
|
|
391
|
+
|
|
392
|
+
self._filesystem_write_rate = filesystem_write_rate
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
def gpu_sm_active(self) -> 'float':
|
|
396
|
+
"""Gets the gpu_sm_active of this V1GroupNodeMetrics. # noqa: E501
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
:return: The gpu_sm_active of this V1GroupNodeMetrics. # noqa: E501
|
|
400
|
+
:rtype: float
|
|
401
|
+
"""
|
|
402
|
+
return self._gpu_sm_active
|
|
403
|
+
|
|
404
|
+
@gpu_sm_active.setter
|
|
405
|
+
def gpu_sm_active(self, gpu_sm_active: 'float'):
|
|
406
|
+
"""Sets the gpu_sm_active of this V1GroupNodeMetrics.
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
:param gpu_sm_active: The gpu_sm_active of this V1GroupNodeMetrics. # noqa: E501
|
|
410
|
+
:type: float
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
self._gpu_sm_active = gpu_sm_active
|
|
414
|
+
|
|
415
|
+
@property
|
|
416
|
+
def gpu_sm_occupancy(self) -> 'float':
|
|
417
|
+
"""Gets the gpu_sm_occupancy of this V1GroupNodeMetrics. # noqa: E501
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
:return: The gpu_sm_occupancy of this V1GroupNodeMetrics. # noqa: E501
|
|
421
|
+
:rtype: float
|
|
422
|
+
"""
|
|
423
|
+
return self._gpu_sm_occupancy
|
|
424
|
+
|
|
425
|
+
@gpu_sm_occupancy.setter
|
|
426
|
+
def gpu_sm_occupancy(self, gpu_sm_occupancy: 'float'):
|
|
427
|
+
"""Sets the gpu_sm_occupancy of this V1GroupNodeMetrics.
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
:param gpu_sm_occupancy: The gpu_sm_occupancy of this V1GroupNodeMetrics. # noqa: E501
|
|
431
|
+
:type: float
|
|
432
|
+
"""
|
|
433
|
+
|
|
434
|
+
self._gpu_sm_occupancy = gpu_sm_occupancy
|
|
435
|
+
|
|
436
|
+
@property
|
|
437
|
+
def gpus_energy_avg(self) -> 'float':
|
|
438
|
+
"""Gets the gpus_energy_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
:return: The gpus_energy_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
442
|
+
:rtype: float
|
|
443
|
+
"""
|
|
444
|
+
return self._gpus_energy_avg
|
|
445
|
+
|
|
446
|
+
@gpus_energy_avg.setter
|
|
447
|
+
def gpus_energy_avg(self, gpus_energy_avg: 'float'):
|
|
448
|
+
"""Sets the gpus_energy_avg of this V1GroupNodeMetrics.
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
:param gpus_energy_avg: The gpus_energy_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
452
|
+
:type: float
|
|
453
|
+
"""
|
|
454
|
+
|
|
455
|
+
self._gpus_energy_avg = gpus_energy_avg
|
|
456
|
+
|
|
457
|
+
@property
|
|
458
|
+
def gpus_energy_avg_running(self) -> 'float':
|
|
459
|
+
"""Gets the gpus_energy_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
:return: The gpus_energy_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
463
|
+
:rtype: float
|
|
464
|
+
"""
|
|
465
|
+
return self._gpus_energy_avg_running
|
|
466
|
+
|
|
467
|
+
@gpus_energy_avg_running.setter
|
|
468
|
+
def gpus_energy_avg_running(self, gpus_energy_avg_running: 'float'):
|
|
469
|
+
"""Sets the gpus_energy_avg_running of this V1GroupNodeMetrics.
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
:param gpus_energy_avg_running: The gpus_energy_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
473
|
+
:type: float
|
|
474
|
+
"""
|
|
475
|
+
|
|
476
|
+
self._gpus_energy_avg_running = gpus_energy_avg_running
|
|
477
|
+
|
|
478
|
+
@property
|
|
479
|
+
def gpus_energy_total(self) -> 'float':
|
|
480
|
+
"""Gets the gpus_energy_total of this V1GroupNodeMetrics. # noqa: E501
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
:return: The gpus_energy_total of this V1GroupNodeMetrics. # noqa: E501
|
|
484
|
+
:rtype: float
|
|
485
|
+
"""
|
|
486
|
+
return self._gpus_energy_total
|
|
487
|
+
|
|
488
|
+
@gpus_energy_total.setter
|
|
489
|
+
def gpus_energy_total(self, gpus_energy_total: 'float'):
|
|
490
|
+
"""Sets the gpus_energy_total of this V1GroupNodeMetrics.
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
:param gpus_energy_total: The gpus_energy_total of this V1GroupNodeMetrics. # noqa: E501
|
|
494
|
+
:type: float
|
|
495
|
+
"""
|
|
496
|
+
|
|
497
|
+
self._gpus_energy_total = gpus_energy_total
|
|
498
|
+
|
|
499
|
+
@property
|
|
500
|
+
def gpus_temp_avg(self) -> 'float':
|
|
501
|
+
"""Gets the gpus_temp_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
:return: The gpus_temp_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
505
|
+
:rtype: float
|
|
506
|
+
"""
|
|
507
|
+
return self._gpus_temp_avg
|
|
508
|
+
|
|
509
|
+
@gpus_temp_avg.setter
|
|
510
|
+
def gpus_temp_avg(self, gpus_temp_avg: 'float'):
|
|
511
|
+
"""Sets the gpus_temp_avg of this V1GroupNodeMetrics.
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
:param gpus_temp_avg: The gpus_temp_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
515
|
+
:type: float
|
|
516
|
+
"""
|
|
517
|
+
|
|
518
|
+
self._gpus_temp_avg = gpus_temp_avg
|
|
519
|
+
|
|
520
|
+
@property
|
|
521
|
+
def gpus_temp_avg_running(self) -> 'float':
|
|
522
|
+
"""Gets the gpus_temp_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
:return: The gpus_temp_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
526
|
+
:rtype: float
|
|
527
|
+
"""
|
|
528
|
+
return self._gpus_temp_avg_running
|
|
529
|
+
|
|
530
|
+
@gpus_temp_avg_running.setter
|
|
531
|
+
def gpus_temp_avg_running(self, gpus_temp_avg_running: 'float'):
|
|
532
|
+
"""Sets the gpus_temp_avg_running of this V1GroupNodeMetrics.
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
:param gpus_temp_avg_running: The gpus_temp_avg_running of this V1GroupNodeMetrics. # noqa: E501
|
|
536
|
+
:type: float
|
|
537
|
+
"""
|
|
538
|
+
|
|
539
|
+
self._gpus_temp_avg_running = gpus_temp_avg_running
|
|
540
|
+
|
|
541
|
+
@property
|
|
542
|
+
def gpus_util(self) -> 'float':
|
|
543
|
+
"""Gets the gpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
:return: The gpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
547
|
+
:rtype: float
|
|
548
|
+
"""
|
|
549
|
+
return self._gpus_util
|
|
550
|
+
|
|
551
|
+
@gpus_util.setter
|
|
552
|
+
def gpus_util(self, gpus_util: 'float'):
|
|
553
|
+
"""Sets the gpus_util of this V1GroupNodeMetrics.
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
:param gpus_util: The gpus_util of this V1GroupNodeMetrics. # noqa: E501
|
|
557
|
+
:type: float
|
|
558
|
+
"""
|
|
559
|
+
|
|
560
|
+
self._gpus_util = gpus_util
|
|
561
|
+
|
|
562
|
+
@property
|
|
563
|
+
def gpus_util_over_allocable(self) -> 'float':
|
|
564
|
+
"""Gets the gpus_util_over_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
:return: The gpus_util_over_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
568
|
+
:rtype: float
|
|
569
|
+
"""
|
|
570
|
+
return self._gpus_util_over_allocable
|
|
571
|
+
|
|
572
|
+
@gpus_util_over_allocable.setter
|
|
573
|
+
def gpus_util_over_allocable(self, gpus_util_over_allocable: 'float'):
|
|
574
|
+
"""Sets the gpus_util_over_allocable of this V1GroupNodeMetrics.
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
:param gpus_util_over_allocable: The gpus_util_over_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
578
|
+
:type: float
|
|
579
|
+
"""
|
|
580
|
+
|
|
581
|
+
self._gpus_util_over_allocable = gpus_util_over_allocable
|
|
582
|
+
|
|
583
|
+
@property
|
|
584
|
+
def gpus_util_over_requested(self) -> 'float':
|
|
585
|
+
"""Gets the gpus_util_over_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
:return: The gpus_util_over_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
589
|
+
:rtype: float
|
|
590
|
+
"""
|
|
591
|
+
return self._gpus_util_over_requested
|
|
592
|
+
|
|
593
|
+
@gpus_util_over_requested.setter
|
|
594
|
+
def gpus_util_over_requested(self, gpus_util_over_requested: 'float'):
|
|
595
|
+
"""Sets the gpus_util_over_requested of this V1GroupNodeMetrics.
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
:param gpus_util_over_requested: The gpus_util_over_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
599
|
+
:type: float
|
|
600
|
+
"""
|
|
601
|
+
|
|
602
|
+
self._gpus_util_over_requested = gpus_util_over_requested
|
|
603
|
+
|
|
604
|
+
@property
|
|
605
|
+
def id(self) -> 'str':
|
|
606
|
+
"""Gets the id of this V1GroupNodeMetrics. # noqa: E501
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
:return: The id of this V1GroupNodeMetrics. # noqa: E501
|
|
610
|
+
:rtype: str
|
|
611
|
+
"""
|
|
612
|
+
return self._id
|
|
613
|
+
|
|
614
|
+
@id.setter
|
|
615
|
+
def id(self, id: 'str'):
|
|
616
|
+
"""Sets the id of this V1GroupNodeMetrics.
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
:param id: The id of this V1GroupNodeMetrics. # noqa: E501
|
|
620
|
+
:type: str
|
|
621
|
+
"""
|
|
622
|
+
|
|
623
|
+
self._id = id
|
|
624
|
+
|
|
625
|
+
@property
|
|
626
|
+
def max_gpu_temp_recorded(self) -> 'int':
|
|
627
|
+
"""Gets the max_gpu_temp_recorded of this V1GroupNodeMetrics. # noqa: E501
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
:return: The max_gpu_temp_recorded of this V1GroupNodeMetrics. # noqa: E501
|
|
631
|
+
:rtype: int
|
|
632
|
+
"""
|
|
633
|
+
return self._max_gpu_temp_recorded
|
|
634
|
+
|
|
635
|
+
@max_gpu_temp_recorded.setter
|
|
636
|
+
def max_gpu_temp_recorded(self, max_gpu_temp_recorded: 'int'):
|
|
637
|
+
"""Sets the max_gpu_temp_recorded of this V1GroupNodeMetrics.
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
:param max_gpu_temp_recorded: The max_gpu_temp_recorded of this V1GroupNodeMetrics. # noqa: E501
|
|
641
|
+
:type: int
|
|
642
|
+
"""
|
|
643
|
+
|
|
644
|
+
self._max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
645
|
+
|
|
646
|
+
@property
|
|
647
|
+
def max_power_per_gpu(self) -> 'int':
|
|
648
|
+
"""Gets the max_power_per_gpu of this V1GroupNodeMetrics. # noqa: E501
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
:return: The max_power_per_gpu of this V1GroupNodeMetrics. # noqa: E501
|
|
652
|
+
:rtype: int
|
|
653
|
+
"""
|
|
654
|
+
return self._max_power_per_gpu
|
|
655
|
+
|
|
656
|
+
@max_power_per_gpu.setter
|
|
657
|
+
def max_power_per_gpu(self, max_power_per_gpu: 'int'):
|
|
658
|
+
"""Sets the max_power_per_gpu of this V1GroupNodeMetrics.
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
:param max_power_per_gpu: The max_power_per_gpu of this V1GroupNodeMetrics. # noqa: E501
|
|
662
|
+
:type: int
|
|
663
|
+
"""
|
|
664
|
+
|
|
665
|
+
self._max_power_per_gpu = max_power_per_gpu
|
|
666
|
+
|
|
667
|
+
@property
|
|
668
|
+
def num_cpus(self) -> 'int':
|
|
669
|
+
"""Gets the num_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
:return: The num_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
673
|
+
:rtype: int
|
|
674
|
+
"""
|
|
675
|
+
return self._num_cpus
|
|
676
|
+
|
|
677
|
+
@num_cpus.setter
|
|
678
|
+
def num_cpus(self, num_cpus: 'int'):
|
|
679
|
+
"""Sets the num_cpus of this V1GroupNodeMetrics.
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
:param num_cpus: The num_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
683
|
+
:type: int
|
|
684
|
+
"""
|
|
685
|
+
|
|
686
|
+
self._num_cpus = num_cpus
|
|
687
|
+
|
|
688
|
+
@property
|
|
689
|
+
def num_gpus(self) -> 'int':
|
|
690
|
+
"""Gets the num_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
:return: The num_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
694
|
+
:rtype: int
|
|
695
|
+
"""
|
|
696
|
+
return self._num_gpus
|
|
697
|
+
|
|
698
|
+
@num_gpus.setter
|
|
699
|
+
def num_gpus(self, num_gpus: 'int'):
|
|
700
|
+
"""Sets the num_gpus of this V1GroupNodeMetrics.
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
:param num_gpus: The num_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
704
|
+
:type: int
|
|
705
|
+
"""
|
|
706
|
+
|
|
707
|
+
self._num_gpus = num_gpus
|
|
708
|
+
|
|
709
|
+
@property
|
|
710
|
+
def num_gpus_allocable(self) -> 'int':
|
|
711
|
+
"""Gets the num_gpus_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
:return: The num_gpus_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
715
|
+
:rtype: int
|
|
716
|
+
"""
|
|
717
|
+
return self._num_gpus_allocable
|
|
718
|
+
|
|
719
|
+
@num_gpus_allocable.setter
|
|
720
|
+
def num_gpus_allocable(self, num_gpus_allocable: 'int'):
|
|
721
|
+
"""Sets the num_gpus_allocable of this V1GroupNodeMetrics.
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
:param num_gpus_allocable: The num_gpus_allocable of this V1GroupNodeMetrics. # noqa: E501
|
|
725
|
+
:type: int
|
|
726
|
+
"""
|
|
727
|
+
|
|
728
|
+
self._num_gpus_allocable = num_gpus_allocable
|
|
729
|
+
|
|
730
|
+
@property
|
|
731
|
+
def num_limit_cpus(self) -> 'int':
|
|
732
|
+
"""Gets the num_limit_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
:return: The num_limit_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
736
|
+
:rtype: int
|
|
737
|
+
"""
|
|
738
|
+
return self._num_limit_cpus
|
|
739
|
+
|
|
740
|
+
@num_limit_cpus.setter
|
|
741
|
+
def num_limit_cpus(self, num_limit_cpus: 'int'):
|
|
742
|
+
"""Sets the num_limit_cpus of this V1GroupNodeMetrics.
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
:param num_limit_cpus: The num_limit_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
746
|
+
:type: int
|
|
747
|
+
"""
|
|
748
|
+
|
|
749
|
+
self._num_limit_cpus = num_limit_cpus
|
|
750
|
+
|
|
751
|
+
@property
|
|
752
|
+
def num_limit_gpus(self) -> 'int':
|
|
753
|
+
"""Gets the num_limit_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
:return: The num_limit_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
757
|
+
:rtype: int
|
|
758
|
+
"""
|
|
759
|
+
return self._num_limit_gpus
|
|
760
|
+
|
|
761
|
+
@num_limit_gpus.setter
|
|
762
|
+
def num_limit_gpus(self, num_limit_gpus: 'int'):
|
|
763
|
+
"""Sets the num_limit_gpus of this V1GroupNodeMetrics.
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
:param num_limit_gpus: The num_limit_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
767
|
+
:type: int
|
|
768
|
+
"""
|
|
769
|
+
|
|
770
|
+
self._num_limit_gpus = num_limit_gpus
|
|
771
|
+
|
|
772
|
+
@property
|
|
773
|
+
def num_nodes(self) -> 'int':
|
|
774
|
+
"""Gets the num_nodes of this V1GroupNodeMetrics. # noqa: E501
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
:return: The num_nodes of this V1GroupNodeMetrics. # noqa: E501
|
|
778
|
+
:rtype: int
|
|
779
|
+
"""
|
|
780
|
+
return self._num_nodes
|
|
781
|
+
|
|
782
|
+
@num_nodes.setter
|
|
783
|
+
def num_nodes(self, num_nodes: 'int'):
|
|
784
|
+
"""Sets the num_nodes of this V1GroupNodeMetrics.
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
:param num_nodes: The num_nodes of this V1GroupNodeMetrics. # noqa: E501
|
|
788
|
+
:type: int
|
|
789
|
+
"""
|
|
790
|
+
|
|
791
|
+
self._num_nodes = num_nodes
|
|
792
|
+
|
|
793
|
+
@property
|
|
794
|
+
def num_requested_cpus(self) -> 'int':
|
|
795
|
+
"""Gets the num_requested_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
:return: The num_requested_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
799
|
+
:rtype: int
|
|
800
|
+
"""
|
|
801
|
+
return self._num_requested_cpus
|
|
802
|
+
|
|
803
|
+
@num_requested_cpus.setter
|
|
804
|
+
def num_requested_cpus(self, num_requested_cpus: 'int'):
|
|
805
|
+
"""Sets the num_requested_cpus of this V1GroupNodeMetrics.
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
:param num_requested_cpus: The num_requested_cpus of this V1GroupNodeMetrics. # noqa: E501
|
|
809
|
+
:type: int
|
|
810
|
+
"""
|
|
811
|
+
|
|
812
|
+
self._num_requested_cpus = num_requested_cpus
|
|
813
|
+
|
|
814
|
+
@property
|
|
815
|
+
def num_requested_gpus(self) -> 'int':
|
|
816
|
+
"""Gets the num_requested_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
:return: The num_requested_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
820
|
+
:rtype: int
|
|
821
|
+
"""
|
|
822
|
+
return self._num_requested_gpus
|
|
823
|
+
|
|
824
|
+
@num_requested_gpus.setter
|
|
825
|
+
def num_requested_gpus(self, num_requested_gpus: 'int'):
|
|
826
|
+
"""Sets the num_requested_gpus of this V1GroupNodeMetrics.
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
:param num_requested_gpus: The num_requested_gpus of this V1GroupNodeMetrics. # noqa: E501
|
|
830
|
+
:type: int
|
|
831
|
+
"""
|
|
832
|
+
|
|
833
|
+
self._num_requested_gpus = num_requested_gpus
|
|
834
|
+
|
|
835
|
+
@property
|
|
836
|
+
def nvlink_rx_gib_avg(self) -> 'float':
|
|
837
|
+
"""Gets the nvlink_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
:return: The nvlink_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
841
|
+
:rtype: float
|
|
842
|
+
"""
|
|
843
|
+
return self._nvlink_rx_gib_avg
|
|
844
|
+
|
|
845
|
+
@nvlink_rx_gib_avg.setter
|
|
846
|
+
def nvlink_rx_gib_avg(self, nvlink_rx_gib_avg: 'float'):
|
|
847
|
+
"""Sets the nvlink_rx_gib_avg of this V1GroupNodeMetrics.
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
:param nvlink_rx_gib_avg: The nvlink_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
851
|
+
:type: float
|
|
852
|
+
"""
|
|
853
|
+
|
|
854
|
+
self._nvlink_rx_gib_avg = nvlink_rx_gib_avg
|
|
855
|
+
|
|
856
|
+
@property
|
|
857
|
+
def nvlink_tx_gib_avg(self) -> 'float':
|
|
858
|
+
"""Gets the nvlink_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
:return: The nvlink_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
862
|
+
:rtype: float
|
|
863
|
+
"""
|
|
864
|
+
return self._nvlink_tx_gib_avg
|
|
865
|
+
|
|
866
|
+
@nvlink_tx_gib_avg.setter
|
|
867
|
+
def nvlink_tx_gib_avg(self, nvlink_tx_gib_avg: 'float'):
|
|
868
|
+
"""Sets the nvlink_tx_gib_avg of this V1GroupNodeMetrics.
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
:param nvlink_tx_gib_avg: The nvlink_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
872
|
+
:type: float
|
|
873
|
+
"""
|
|
874
|
+
|
|
875
|
+
self._nvlink_tx_gib_avg = nvlink_tx_gib_avg
|
|
876
|
+
|
|
877
|
+
@property
|
|
878
|
+
def pcie_rx_gib_avg(self) -> 'float':
|
|
879
|
+
"""Gets the pcie_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
:return: The pcie_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
883
|
+
:rtype: float
|
|
884
|
+
"""
|
|
885
|
+
return self._pcie_rx_gib_avg
|
|
886
|
+
|
|
887
|
+
@pcie_rx_gib_avg.setter
|
|
888
|
+
def pcie_rx_gib_avg(self, pcie_rx_gib_avg: 'float'):
|
|
889
|
+
"""Sets the pcie_rx_gib_avg of this V1GroupNodeMetrics.
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
:param pcie_rx_gib_avg: The pcie_rx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
893
|
+
:type: float
|
|
894
|
+
"""
|
|
895
|
+
|
|
896
|
+
self._pcie_rx_gib_avg = pcie_rx_gib_avg
|
|
897
|
+
|
|
898
|
+
@property
|
|
899
|
+
def pcie_tx_gib_avg(self) -> 'float':
|
|
900
|
+
"""Gets the pcie_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
:return: The pcie_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
904
|
+
:rtype: float
|
|
905
|
+
"""
|
|
906
|
+
return self._pcie_tx_gib_avg
|
|
907
|
+
|
|
908
|
+
@pcie_tx_gib_avg.setter
|
|
909
|
+
def pcie_tx_gib_avg(self, pcie_tx_gib_avg: 'float'):
|
|
910
|
+
"""Sets the pcie_tx_gib_avg of this V1GroupNodeMetrics.
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
:param pcie_tx_gib_avg: The pcie_tx_gib_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
914
|
+
:type: float
|
|
915
|
+
"""
|
|
916
|
+
|
|
917
|
+
self._pcie_tx_gib_avg = pcie_tx_gib_avg
|
|
918
|
+
|
|
919
|
+
@property
|
|
920
|
+
def ram_limit(self) -> 'str':
|
|
921
|
+
"""Gets the ram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
:return: The ram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
925
|
+
:rtype: str
|
|
926
|
+
"""
|
|
927
|
+
return self._ram_limit
|
|
928
|
+
|
|
929
|
+
@ram_limit.setter
|
|
930
|
+
def ram_limit(self, ram_limit: 'str'):
|
|
931
|
+
"""Sets the ram_limit of this V1GroupNodeMetrics.
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
:param ram_limit: The ram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
935
|
+
:type: str
|
|
936
|
+
"""
|
|
937
|
+
|
|
938
|
+
self._ram_limit = ram_limit
|
|
939
|
+
|
|
940
|
+
@property
|
|
941
|
+
def ram_requested(self) -> 'str':
|
|
942
|
+
"""Gets the ram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
:return: The ram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
946
|
+
:rtype: str
|
|
947
|
+
"""
|
|
948
|
+
return self._ram_requested
|
|
949
|
+
|
|
950
|
+
@ram_requested.setter
|
|
951
|
+
def ram_requested(self, ram_requested: 'str'):
|
|
952
|
+
"""Sets the ram_requested of this V1GroupNodeMetrics.
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
:param ram_requested: The ram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
956
|
+
:type: str
|
|
957
|
+
"""
|
|
958
|
+
|
|
959
|
+
self._ram_requested = ram_requested
|
|
960
|
+
|
|
961
|
+
@property
|
|
962
|
+
def ram_total(self) -> 'str':
|
|
963
|
+
"""Gets the ram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
:return: The ram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
967
|
+
:rtype: str
|
|
968
|
+
"""
|
|
969
|
+
return self._ram_total
|
|
970
|
+
|
|
971
|
+
@ram_total.setter
|
|
972
|
+
def ram_total(self, ram_total: 'str'):
|
|
973
|
+
"""Sets the ram_total of this V1GroupNodeMetrics.
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
:param ram_total: The ram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
977
|
+
:type: str
|
|
978
|
+
"""
|
|
979
|
+
|
|
980
|
+
self._ram_total = ram_total
|
|
981
|
+
|
|
982
|
+
@property
|
|
983
|
+
def ram_util(self) -> 'float':
|
|
984
|
+
"""Gets the ram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
:return: The ram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
988
|
+
:rtype: float
|
|
989
|
+
"""
|
|
990
|
+
return self._ram_util
|
|
991
|
+
|
|
992
|
+
@ram_util.setter
|
|
993
|
+
def ram_util(self, ram_util: 'float'):
|
|
994
|
+
"""Sets the ram_util of this V1GroupNodeMetrics.
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
:param ram_util: The ram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
998
|
+
:type: float
|
|
999
|
+
"""
|
|
1000
|
+
|
|
1001
|
+
self._ram_util = ram_util
|
|
1002
|
+
|
|
1003
|
+
@property
|
|
1004
|
+
def timestamp(self) -> 'datetime':
|
|
1005
|
+
"""Gets the timestamp of this V1GroupNodeMetrics. # noqa: E501
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
:return: The timestamp of this V1GroupNodeMetrics. # noqa: E501
|
|
1009
|
+
:rtype: datetime
|
|
1010
|
+
"""
|
|
1011
|
+
return self._timestamp
|
|
1012
|
+
|
|
1013
|
+
@timestamp.setter
|
|
1014
|
+
def timestamp(self, timestamp: 'datetime'):
|
|
1015
|
+
"""Sets the timestamp of this V1GroupNodeMetrics.
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
:param timestamp: The timestamp of this V1GroupNodeMetrics. # noqa: E501
|
|
1019
|
+
:type: datetime
|
|
1020
|
+
"""
|
|
1021
|
+
|
|
1022
|
+
self._timestamp = timestamp
|
|
1023
|
+
|
|
1024
|
+
@property
|
|
1025
|
+
def vram_limit(self) -> 'int':
|
|
1026
|
+
"""Gets the vram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
:return: The vram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
1030
|
+
:rtype: int
|
|
1031
|
+
"""
|
|
1032
|
+
return self._vram_limit
|
|
1033
|
+
|
|
1034
|
+
@vram_limit.setter
|
|
1035
|
+
def vram_limit(self, vram_limit: 'int'):
|
|
1036
|
+
"""Sets the vram_limit of this V1GroupNodeMetrics.
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
:param vram_limit: The vram_limit of this V1GroupNodeMetrics. # noqa: E501
|
|
1040
|
+
:type: int
|
|
1041
|
+
"""
|
|
1042
|
+
|
|
1043
|
+
self._vram_limit = vram_limit
|
|
1044
|
+
|
|
1045
|
+
@property
|
|
1046
|
+
def vram_read_write_util(self) -> 'float':
|
|
1047
|
+
"""Gets the vram_read_write_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
:return: The vram_read_write_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1051
|
+
:rtype: float
|
|
1052
|
+
"""
|
|
1053
|
+
return self._vram_read_write_util
|
|
1054
|
+
|
|
1055
|
+
@vram_read_write_util.setter
|
|
1056
|
+
def vram_read_write_util(self, vram_read_write_util: 'float'):
|
|
1057
|
+
"""Sets the vram_read_write_util of this V1GroupNodeMetrics.
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
:param vram_read_write_util: The vram_read_write_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1061
|
+
:type: float
|
|
1062
|
+
"""
|
|
1063
|
+
|
|
1064
|
+
self._vram_read_write_util = vram_read_write_util
|
|
1065
|
+
|
|
1066
|
+
@property
|
|
1067
|
+
def vram_requested(self) -> 'int':
|
|
1068
|
+
"""Gets the vram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
:return: The vram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
1072
|
+
:rtype: int
|
|
1073
|
+
"""
|
|
1074
|
+
return self._vram_requested
|
|
1075
|
+
|
|
1076
|
+
@vram_requested.setter
|
|
1077
|
+
def vram_requested(self, vram_requested: 'int'):
|
|
1078
|
+
"""Sets the vram_requested of this V1GroupNodeMetrics.
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
:param vram_requested: The vram_requested of this V1GroupNodeMetrics. # noqa: E501
|
|
1082
|
+
:type: int
|
|
1083
|
+
"""
|
|
1084
|
+
|
|
1085
|
+
self._vram_requested = vram_requested
|
|
1086
|
+
|
|
1087
|
+
@property
|
|
1088
|
+
def vram_total(self) -> 'int':
|
|
1089
|
+
"""Gets the vram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
:return: The vram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1093
|
+
:rtype: int
|
|
1094
|
+
"""
|
|
1095
|
+
return self._vram_total
|
|
1096
|
+
|
|
1097
|
+
@vram_total.setter
|
|
1098
|
+
def vram_total(self, vram_total: 'int'):
|
|
1099
|
+
"""Sets the vram_total of this V1GroupNodeMetrics.
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
:param vram_total: The vram_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1103
|
+
:type: int
|
|
1104
|
+
"""
|
|
1105
|
+
|
|
1106
|
+
self._vram_total = vram_total
|
|
1107
|
+
|
|
1108
|
+
@property
|
|
1109
|
+
def vram_used_avg(self) -> 'int':
|
|
1110
|
+
"""Gets the vram_used_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
:return: The vram_used_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
1114
|
+
:rtype: int
|
|
1115
|
+
"""
|
|
1116
|
+
return self._vram_used_avg
|
|
1117
|
+
|
|
1118
|
+
@vram_used_avg.setter
|
|
1119
|
+
def vram_used_avg(self, vram_used_avg: 'int'):
|
|
1120
|
+
"""Sets the vram_used_avg of this V1GroupNodeMetrics.
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
:param vram_used_avg: The vram_used_avg of this V1GroupNodeMetrics. # noqa: E501
|
|
1124
|
+
:type: int
|
|
1125
|
+
"""
|
|
1126
|
+
|
|
1127
|
+
self._vram_used_avg = vram_used_avg
|
|
1128
|
+
|
|
1129
|
+
@property
|
|
1130
|
+
def vram_used_total(self) -> 'int':
|
|
1131
|
+
"""Gets the vram_used_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
:return: The vram_used_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1135
|
+
:rtype: int
|
|
1136
|
+
"""
|
|
1137
|
+
return self._vram_used_total
|
|
1138
|
+
|
|
1139
|
+
@vram_used_total.setter
|
|
1140
|
+
def vram_used_total(self, vram_used_total: 'int'):
|
|
1141
|
+
"""Sets the vram_used_total of this V1GroupNodeMetrics.
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
:param vram_used_total: The vram_used_total of this V1GroupNodeMetrics. # noqa: E501
|
|
1145
|
+
:type: int
|
|
1146
|
+
"""
|
|
1147
|
+
|
|
1148
|
+
self._vram_used_total = vram_used_total
|
|
1149
|
+
|
|
1150
|
+
@property
|
|
1151
|
+
def vram_util(self) -> 'float':
|
|
1152
|
+
"""Gets the vram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
:return: The vram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1156
|
+
:rtype: float
|
|
1157
|
+
"""
|
|
1158
|
+
return self._vram_util
|
|
1159
|
+
|
|
1160
|
+
@vram_util.setter
|
|
1161
|
+
def vram_util(self, vram_util: 'float'):
|
|
1162
|
+
"""Sets the vram_util of this V1GroupNodeMetrics.
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
:param vram_util: The vram_util of this V1GroupNodeMetrics. # noqa: E501
|
|
1166
|
+
:type: float
|
|
1167
|
+
"""
|
|
1168
|
+
|
|
1169
|
+
self._vram_util = vram_util
|
|
1170
|
+
|
|
1171
|
+
def to_dict(self) -> dict:
|
|
1172
|
+
"""Returns the model properties as a dict"""
|
|
1173
|
+
result = {}
|
|
1174
|
+
|
|
1175
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
1176
|
+
value = getattr(self, attr)
|
|
1177
|
+
if isinstance(value, list):
|
|
1178
|
+
result[attr] = list(map(
|
|
1179
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
1180
|
+
value
|
|
1181
|
+
))
|
|
1182
|
+
elif hasattr(value, "to_dict"):
|
|
1183
|
+
result[attr] = value.to_dict()
|
|
1184
|
+
elif isinstance(value, dict):
|
|
1185
|
+
result[attr] = dict(map(
|
|
1186
|
+
lambda item: (item[0], item[1].to_dict())
|
|
1187
|
+
if hasattr(item[1], "to_dict") else item,
|
|
1188
|
+
value.items()
|
|
1189
|
+
))
|
|
1190
|
+
else:
|
|
1191
|
+
result[attr] = value
|
|
1192
|
+
if issubclass(V1GroupNodeMetrics, dict):
|
|
1193
|
+
for key, value in self.items():
|
|
1194
|
+
result[key] = value
|
|
1195
|
+
|
|
1196
|
+
return result
|
|
1197
|
+
|
|
1198
|
+
def to_str(self) -> str:
|
|
1199
|
+
"""Returns the string representation of the model"""
|
|
1200
|
+
return pprint.pformat(self.to_dict())
|
|
1201
|
+
|
|
1202
|
+
def __repr__(self) -> str:
|
|
1203
|
+
"""For `print` and `pprint`"""
|
|
1204
|
+
return self.to_str()
|
|
1205
|
+
|
|
1206
|
+
def __eq__(self, other: 'V1GroupNodeMetrics') -> bool:
|
|
1207
|
+
"""Returns true if both objects are equal"""
|
|
1208
|
+
if not isinstance(other, V1GroupNodeMetrics):
|
|
1209
|
+
return False
|
|
1210
|
+
|
|
1211
|
+
return self.__dict__ == other.__dict__
|
|
1212
|
+
|
|
1213
|
+
def __ne__(self, other: 'V1GroupNodeMetrics') -> bool:
|
|
1214
|
+
"""Returns true if both objects are not equal"""
|
|
1215
|
+
return not self == other
|