lightning-sdk 2025.8.6rc2__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 +13 -7
- lightning_sdk/__version__.py +3 -0
- lightning_sdk/agents.py +2 -1
- lightning_sdk/ai_hub.py +2 -1
- lightning_sdk/api/__init__.py +2 -0
- lightning_sdk/api/base_studio_api.py +13 -9
- lightning_sdk/api/cloud_account_api.py +31 -10
- lightning_sdk/api/deployment_api.py +27 -1
- lightning_sdk/api/job_api.py +16 -12
- lightning_sdk/api/license_api.py +26 -59
- lightning_sdk/api/llm_api.py +25 -2
- lightning_sdk/api/mmt_api.py +5 -2
- lightning_sdk/api/studio_api.py +252 -55
- lightning_sdk/api/teamspace_api.py +106 -30
- lightning_sdk/api/user_api.py +56 -2
- lightning_sdk/api/utils.py +108 -18
- lightning_sdk/base_studio.py +51 -27
- 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 +71 -71
- lightning_sdk/cli/groups.py +56 -0
- lightning_sdk/cli/job/__init__.py +7 -0
- lightning_sdk/cli/{clusters_menu.py → legacy/clusters_menu.py} +9 -6
- lightning_sdk/cli/{configure.py → legacy/configure.py} +2 -2
- lightning_sdk/cli/{connect.py → legacy/connect.py} +2 -2
- lightning_sdk/cli/{create.py → legacy/create.py} +12 -14
- lightning_sdk/cli/{delete.py → legacy/delete.py} +5 -5
- lightning_sdk/cli/legacy/deploy/__init__.py +0 -0
- lightning_sdk/cli/{deploy → legacy/deploy}/_auth.py +5 -6
- lightning_sdk/cli/{deploy → legacy/deploy}/devbox.py +8 -2
- lightning_sdk/cli/{deploy → legacy/deploy}/serve.py +19 -8
- lightning_sdk/cli/{download.py → legacy/download.py} +14 -15
- lightning_sdk/cli/legacy/entrypoint.py +110 -0
- lightning_sdk/cli/{generate.py → legacy/generate.py} +1 -1
- lightning_sdk/cli/{inspection.py → legacy/inspection.py} +1 -1
- 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} +1 -1
- lightning_sdk/cli/{list.py → legacy/list.py} +12 -13
- lightning_sdk/cli/{mmts_menu.py → legacy/mmts_menu.py} +1 -1
- lightning_sdk/cli/{open.py → legacy/open.py} +4 -4
- lightning_sdk/cli/{start.py → legacy/start.py} +1 -0
- lightning_sdk/cli/{stop.py → legacy/stop.py} +1 -1
- lightning_sdk/cli/{switch.py → legacy/switch.py} +1 -0
- lightning_sdk/cli/{teamspace_menu.py → legacy/teamspace_menu.py} +1 -1
- lightning_sdk/cli/{upload.py → legacy/upload.py} +7 -8
- 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/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 +2 -0
- lightning_sdk/deployment/deployment.py +17 -2
- lightning_sdk/helpers.py +56 -37
- lightning_sdk/job/base.py +21 -6
- lightning_sdk/job/job.py +13 -0
- lightning_sdk/job/v1.py +11 -0
- lightning_sdk/job/v2.py +12 -0
- lightning_sdk/lightning_cloud/login.py +320 -10
- lightning_sdk/lightning_cloud/openapi/__init__.py +113 -3
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +3 -0
- lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +713 -75
- lightning_sdk/lightning_cloud/openapi/api/auth_service_api.py +376 -0
- lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +191 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +420 -0
- lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +0 -97
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +420 -0
- lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +101 -0
- lightning_sdk/lightning_cloud/openapi/api/incidents_service_api.py +1058 -0
- lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +121 -0
- lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +1742 -94
- lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +145 -0
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +4 -4
- lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +108 -108
- lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +105 -0
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +347 -0
- lightning_sdk/lightning_cloud/openapi/api/sdk_command_history_service_api.py +141 -0
- lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +761 -1
- lightning_sdk/lightning_cloud/openapi/configuration.py +3 -19
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +110 -3
- lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_kubernetestemplates_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +131 -1
- lightning_sdk/lightning_cloud/openapi/models/create.py +27 -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/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +105 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +3 -81
- 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_sleepconfig_body.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +53 -1
- 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/job_id_reportroutingtelemetry_body.py +123 -0
- 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/message_id_actions_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/messages_message_id_body.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
- 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/orgs_id_body.py +53 -1
- 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 +79 -1
- 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/update1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_abort_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_aggregated_pod_metrics.py +799 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_ai_pod_v1.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_session_daily_aggregated.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +0 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cancel_running_cloud_space_instance_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_transfer_metadata.py +147 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +3 -29
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.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 +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_container_metrics.py +21 -21
- lightning_sdk/lightning_cloud/openapi/models/v1_create_incident_request.py +305 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_license_request.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_machine_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_model_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +79 -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_daily_model_metrics.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +53 -1
- 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_machine_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_metric.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_firewall_rule.py +175 -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_transfer_estimate_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_latest_model_metrics_response.py +123 -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_temp_bucket_credentials_response.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
- 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_guest_user.py +201 -0
- 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_job.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- 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 +107 -3
- 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 +29 -3
- 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_list_aggregated_pod_metrics_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_conversation_message_actions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_metrics_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_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_product_licenses_response.py → v1_list_license_response.py} +16 -16
- lightning_sdk/lightning_cloud/openapi/models/v1_list_machines_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_platform_notifications_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_storage_transfers_response.py +123 -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_request.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_market_price.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_model_metrics.py +175 -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 +29 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_node_metrics.py +361 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_notification_type.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pause_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_platform_notification.py +279 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pod_metrics.py +335 -23
- lightning_sdk/lightning_cloud/openapi/models/v1_project.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_cluster_binding.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_project_tab.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/{v1_product_license_check_response.py → v1_purchase_annual_upsell_request.py} +23 -23
- 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_render_kubernetes_template_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_report_deployment_routing_telemetry_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_required_balance_reason.py +107 -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 +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_resume_storage_transfer_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_routing_telemetry.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -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 +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -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_storage_asset.py +133 -3
- 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_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_update_cloud_space_instance_config_request.py +3 -81
- lightning_sdk/lightning_cloud/openapi/models/v1_update_project_tab_order_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +41 -15
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +444 -600
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_license_response.py +123 -0
- 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 +29 -3
- lightning_sdk/lightning_cloud/rest_client.py +48 -45
- lightning_sdk/lightning_cloud/utils/data_connection.py +51 -1
- lightning_sdk/llm/llm.py +175 -56
- lightning_sdk/llm/public_assistants.py +44 -7
- lightning_sdk/machine.py +21 -2
- lightning_sdk/mmt/base.py +7 -0
- lightning_sdk/mmt/mmt.py +11 -3
- lightning_sdk/mmt/v1.py +3 -1
- lightning_sdk/mmt/v2.py +4 -0
- lightning_sdk/owner.py +2 -1
- lightning_sdk/pipeline/steps.py +6 -0
- lightning_sdk/plugin.py +6 -1
- lightning_sdk/studio.py +294 -53
- lightning_sdk/teamspace.py +167 -7
- 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 +82 -7
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/METADATA +2 -1
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/RECORD +328 -169
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/entry_points.txt +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +0 -435
- lightning_sdk/services/license.py +0 -363
- /lightning_sdk/cli/{deploy → legacy}/__init__.py +0 -0
- /lightning_sdk/cli/{ai_hub.py → legacy/ai_hub.py} +0 -0
- /lightning_sdk/cli/{docker_cli.py → legacy/docker_cli.py} +0 -0
- /lightning_sdk/cli/{exceptions.py → legacy/exceptions.py} +0 -0
- /lightning_sdk/cli/{run.py → legacy/run.py} +0 -0
- /lightning_sdk/cli/{studios_menu.py → legacy/studios_menu.py} +0 -0
- /lightning_sdk/cli/{coloring.py → utils/coloring.py} +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/LICENSE +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/WHEEL +0 -0
- {lightning_sdk-2025.8.6rc2.dist-info → lightning_sdk-2025.11.5.dist-info}/top_level.txt +0 -0
|
@@ -44,40 +44,79 @@ class V1NodeMetrics(object):
|
|
|
44
44
|
'cpu_capacity_cores': 'float',
|
|
45
45
|
'cpu_util': 'float',
|
|
46
46
|
'filesystem': 'dict(str, V1FilesystemMetrics)',
|
|
47
|
+
'max_gpu_temp_recorded': 'float',
|
|
48
|
+
'max_power_per_gpu': 'float',
|
|
49
|
+
'mem_total': 'str',
|
|
50
|
+
'mem_util': 'float',
|
|
47
51
|
'node_name': 'str',
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
+
'num_unschedulable_gpus': 'int',
|
|
53
|
+
'nvlink_rx_gib': 'dict(str, float)',
|
|
54
|
+
'nvlink_tx_gib': 'dict(str, float)',
|
|
55
|
+
'pcie_rx_gib': 'dict(str, float)',
|
|
56
|
+
'pcie_tx_gib': 'dict(str, float)',
|
|
57
|
+
'per_gpu_errors': 'dict(str, int)',
|
|
58
|
+
'per_gpu_mem_free': 'dict(str, int)',
|
|
59
|
+
'per_gpu_mem_used': 'dict(str, int)',
|
|
60
|
+
'per_gpu_power_usage_watts': 'dict(str, int)',
|
|
61
|
+
'per_gpu_sm_active': 'dict(str, float)',
|
|
62
|
+
'per_gpu_sm_occupancy': 'dict(str, float)',
|
|
63
|
+
'per_gpu_temperature_c': 'dict(str, int)',
|
|
52
64
|
'per_gpu_util': 'dict(str, float)',
|
|
53
|
-
'timestamp': 'datetime'
|
|
65
|
+
'timestamp': 'datetime',
|
|
66
|
+
'unschedulable': 'bool'
|
|
54
67
|
}
|
|
55
68
|
|
|
56
69
|
attribute_map = {
|
|
57
70
|
'cpu_capacity_cores': 'cpuCapacityCores',
|
|
58
71
|
'cpu_util': 'cpuUtil',
|
|
59
72
|
'filesystem': 'filesystem',
|
|
73
|
+
'max_gpu_temp_recorded': 'maxGpuTempRecorded',
|
|
74
|
+
'max_power_per_gpu': 'maxPowerPerGpu',
|
|
75
|
+
'mem_total': 'memTotal',
|
|
76
|
+
'mem_util': 'memUtil',
|
|
60
77
|
'node_name': 'nodeName',
|
|
78
|
+
'num_unschedulable_gpus': 'numUnschedulableGpus',
|
|
79
|
+
'nvlink_rx_gib': 'nvlinkRxGib',
|
|
80
|
+
'nvlink_tx_gib': 'nvlinkTxGib',
|
|
81
|
+
'pcie_rx_gib': 'pcieRxGib',
|
|
82
|
+
'pcie_tx_gib': 'pcieTxGib',
|
|
83
|
+
'per_gpu_errors': 'perGpuErrors',
|
|
61
84
|
'per_gpu_mem_free': 'perGpuMemFree',
|
|
62
85
|
'per_gpu_mem_used': 'perGpuMemUsed',
|
|
63
86
|
'per_gpu_power_usage_watts': 'perGpuPowerUsageWatts',
|
|
87
|
+
'per_gpu_sm_active': 'perGpuSmActive',
|
|
88
|
+
'per_gpu_sm_occupancy': 'perGpuSmOccupancy',
|
|
64
89
|
'per_gpu_temperature_c': 'perGpuTemperatureC',
|
|
65
90
|
'per_gpu_util': 'perGpuUtil',
|
|
66
|
-
'timestamp': 'timestamp'
|
|
91
|
+
'timestamp': 'timestamp',
|
|
92
|
+
'unschedulable': 'unschedulable'
|
|
67
93
|
}
|
|
68
94
|
|
|
69
|
-
def __init__(self, cpu_capacity_cores: 'float' =None, cpu_util: 'float' =None, filesystem: 'dict(str, V1FilesystemMetrics)' =None, node_name: 'str' =None,
|
|
95
|
+
def __init__(self, cpu_capacity_cores: 'float' =None, cpu_util: 'float' =None, filesystem: 'dict(str, V1FilesystemMetrics)' =None, max_gpu_temp_recorded: 'float' =None, max_power_per_gpu: 'float' =None, mem_total: 'str' =None, mem_util: 'float' =None, node_name: 'str' =None, num_unschedulable_gpus: 'int' =None, nvlink_rx_gib: 'dict(str, float)' =None, nvlink_tx_gib: 'dict(str, float)' =None, pcie_rx_gib: 'dict(str, float)' =None, pcie_tx_gib: 'dict(str, float)' =None, per_gpu_errors: 'dict(str, int)' =None, per_gpu_mem_free: 'dict(str, int)' =None, per_gpu_mem_used: 'dict(str, int)' =None, per_gpu_power_usage_watts: 'dict(str, int)' =None, per_gpu_sm_active: 'dict(str, float)' =None, per_gpu_sm_occupancy: 'dict(str, float)' =None, per_gpu_temperature_c: 'dict(str, int)' =None, per_gpu_util: 'dict(str, float)' =None, timestamp: 'datetime' =None, unschedulable: 'bool' =None): # noqa: E501
|
|
70
96
|
"""V1NodeMetrics - a model defined in Swagger""" # noqa: E501
|
|
71
97
|
self._cpu_capacity_cores = None
|
|
72
98
|
self._cpu_util = None
|
|
73
99
|
self._filesystem = None
|
|
100
|
+
self._max_gpu_temp_recorded = None
|
|
101
|
+
self._max_power_per_gpu = None
|
|
102
|
+
self._mem_total = None
|
|
103
|
+
self._mem_util = None
|
|
74
104
|
self._node_name = None
|
|
105
|
+
self._num_unschedulable_gpus = None
|
|
106
|
+
self._nvlink_rx_gib = None
|
|
107
|
+
self._nvlink_tx_gib = None
|
|
108
|
+
self._pcie_rx_gib = None
|
|
109
|
+
self._pcie_tx_gib = None
|
|
110
|
+
self._per_gpu_errors = None
|
|
75
111
|
self._per_gpu_mem_free = None
|
|
76
112
|
self._per_gpu_mem_used = None
|
|
77
113
|
self._per_gpu_power_usage_watts = None
|
|
114
|
+
self._per_gpu_sm_active = None
|
|
115
|
+
self._per_gpu_sm_occupancy = None
|
|
78
116
|
self._per_gpu_temperature_c = None
|
|
79
117
|
self._per_gpu_util = None
|
|
80
118
|
self._timestamp = None
|
|
119
|
+
self._unschedulable = None
|
|
81
120
|
self.discriminator = None
|
|
82
121
|
if cpu_capacity_cores is not None:
|
|
83
122
|
self.cpu_capacity_cores = cpu_capacity_cores
|
|
@@ -85,20 +124,46 @@ class V1NodeMetrics(object):
|
|
|
85
124
|
self.cpu_util = cpu_util
|
|
86
125
|
if filesystem is not None:
|
|
87
126
|
self.filesystem = filesystem
|
|
127
|
+
if max_gpu_temp_recorded is not None:
|
|
128
|
+
self.max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
129
|
+
if max_power_per_gpu is not None:
|
|
130
|
+
self.max_power_per_gpu = max_power_per_gpu
|
|
131
|
+
if mem_total is not None:
|
|
132
|
+
self.mem_total = mem_total
|
|
133
|
+
if mem_util is not None:
|
|
134
|
+
self.mem_util = mem_util
|
|
88
135
|
if node_name is not None:
|
|
89
136
|
self.node_name = node_name
|
|
137
|
+
if num_unschedulable_gpus is not None:
|
|
138
|
+
self.num_unschedulable_gpus = num_unschedulable_gpus
|
|
139
|
+
if nvlink_rx_gib is not None:
|
|
140
|
+
self.nvlink_rx_gib = nvlink_rx_gib
|
|
141
|
+
if nvlink_tx_gib is not None:
|
|
142
|
+
self.nvlink_tx_gib = nvlink_tx_gib
|
|
143
|
+
if pcie_rx_gib is not None:
|
|
144
|
+
self.pcie_rx_gib = pcie_rx_gib
|
|
145
|
+
if pcie_tx_gib is not None:
|
|
146
|
+
self.pcie_tx_gib = pcie_tx_gib
|
|
147
|
+
if per_gpu_errors is not None:
|
|
148
|
+
self.per_gpu_errors = per_gpu_errors
|
|
90
149
|
if per_gpu_mem_free is not None:
|
|
91
150
|
self.per_gpu_mem_free = per_gpu_mem_free
|
|
92
151
|
if per_gpu_mem_used is not None:
|
|
93
152
|
self.per_gpu_mem_used = per_gpu_mem_used
|
|
94
153
|
if per_gpu_power_usage_watts is not None:
|
|
95
154
|
self.per_gpu_power_usage_watts = per_gpu_power_usage_watts
|
|
155
|
+
if per_gpu_sm_active is not None:
|
|
156
|
+
self.per_gpu_sm_active = per_gpu_sm_active
|
|
157
|
+
if per_gpu_sm_occupancy is not None:
|
|
158
|
+
self.per_gpu_sm_occupancy = per_gpu_sm_occupancy
|
|
96
159
|
if per_gpu_temperature_c is not None:
|
|
97
160
|
self.per_gpu_temperature_c = per_gpu_temperature_c
|
|
98
161
|
if per_gpu_util is not None:
|
|
99
162
|
self.per_gpu_util = per_gpu_util
|
|
100
163
|
if timestamp is not None:
|
|
101
164
|
self.timestamp = timestamp
|
|
165
|
+
if unschedulable is not None:
|
|
166
|
+
self.unschedulable = unschedulable
|
|
102
167
|
|
|
103
168
|
@property
|
|
104
169
|
def cpu_capacity_cores(self) -> 'float':
|
|
@@ -163,6 +228,90 @@ class V1NodeMetrics(object):
|
|
|
163
228
|
|
|
164
229
|
self._filesystem = filesystem
|
|
165
230
|
|
|
231
|
+
@property
|
|
232
|
+
def max_gpu_temp_recorded(self) -> 'float':
|
|
233
|
+
"""Gets the max_gpu_temp_recorded of this V1NodeMetrics. # noqa: E501
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:return: The max_gpu_temp_recorded of this V1NodeMetrics. # noqa: E501
|
|
237
|
+
:rtype: float
|
|
238
|
+
"""
|
|
239
|
+
return self._max_gpu_temp_recorded
|
|
240
|
+
|
|
241
|
+
@max_gpu_temp_recorded.setter
|
|
242
|
+
def max_gpu_temp_recorded(self, max_gpu_temp_recorded: 'float'):
|
|
243
|
+
"""Sets the max_gpu_temp_recorded of this V1NodeMetrics.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
:param max_gpu_temp_recorded: The max_gpu_temp_recorded of this V1NodeMetrics. # noqa: E501
|
|
247
|
+
:type: float
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
self._max_gpu_temp_recorded = max_gpu_temp_recorded
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def max_power_per_gpu(self) -> 'float':
|
|
254
|
+
"""Gets the max_power_per_gpu of this V1NodeMetrics. # noqa: E501
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:return: The max_power_per_gpu of this V1NodeMetrics. # noqa: E501
|
|
258
|
+
:rtype: float
|
|
259
|
+
"""
|
|
260
|
+
return self._max_power_per_gpu
|
|
261
|
+
|
|
262
|
+
@max_power_per_gpu.setter
|
|
263
|
+
def max_power_per_gpu(self, max_power_per_gpu: 'float'):
|
|
264
|
+
"""Sets the max_power_per_gpu of this V1NodeMetrics.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param max_power_per_gpu: The max_power_per_gpu of this V1NodeMetrics. # noqa: E501
|
|
268
|
+
:type: float
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
self._max_power_per_gpu = max_power_per_gpu
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def mem_total(self) -> 'str':
|
|
275
|
+
"""Gets the mem_total of this V1NodeMetrics. # noqa: E501
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:return: The mem_total of this V1NodeMetrics. # noqa: E501
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._mem_total
|
|
282
|
+
|
|
283
|
+
@mem_total.setter
|
|
284
|
+
def mem_total(self, mem_total: 'str'):
|
|
285
|
+
"""Sets the mem_total of this V1NodeMetrics.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param mem_total: The mem_total of this V1NodeMetrics. # noqa: E501
|
|
289
|
+
:type: str
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self._mem_total = mem_total
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def mem_util(self) -> 'float':
|
|
296
|
+
"""Gets the mem_util of this V1NodeMetrics. # noqa: E501
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
:return: The mem_util of this V1NodeMetrics. # noqa: E501
|
|
300
|
+
:rtype: float
|
|
301
|
+
"""
|
|
302
|
+
return self._mem_util
|
|
303
|
+
|
|
304
|
+
@mem_util.setter
|
|
305
|
+
def mem_util(self, mem_util: 'float'):
|
|
306
|
+
"""Sets the mem_util of this V1NodeMetrics.
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:param mem_util: The mem_util of this V1NodeMetrics. # noqa: E501
|
|
310
|
+
:type: float
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
self._mem_util = mem_util
|
|
314
|
+
|
|
166
315
|
@property
|
|
167
316
|
def node_name(self) -> 'str':
|
|
168
317
|
"""Gets the node_name of this V1NodeMetrics. # noqa: E501
|
|
@@ -185,85 +334,253 @@ class V1NodeMetrics(object):
|
|
|
185
334
|
self._node_name = node_name
|
|
186
335
|
|
|
187
336
|
@property
|
|
188
|
-
def
|
|
337
|
+
def num_unschedulable_gpus(self) -> 'int':
|
|
338
|
+
"""Gets the num_unschedulable_gpus of this V1NodeMetrics. # noqa: E501
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
:return: The num_unschedulable_gpus of this V1NodeMetrics. # noqa: E501
|
|
342
|
+
:rtype: int
|
|
343
|
+
"""
|
|
344
|
+
return self._num_unschedulable_gpus
|
|
345
|
+
|
|
346
|
+
@num_unschedulable_gpus.setter
|
|
347
|
+
def num_unschedulable_gpus(self, num_unschedulable_gpus: 'int'):
|
|
348
|
+
"""Sets the num_unschedulable_gpus of this V1NodeMetrics.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:param num_unschedulable_gpus: The num_unschedulable_gpus of this V1NodeMetrics. # noqa: E501
|
|
352
|
+
:type: int
|
|
353
|
+
"""
|
|
354
|
+
|
|
355
|
+
self._num_unschedulable_gpus = num_unschedulable_gpus
|
|
356
|
+
|
|
357
|
+
@property
|
|
358
|
+
def nvlink_rx_gib(self) -> 'dict(str, float)':
|
|
359
|
+
"""Gets the nvlink_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
:return: The nvlink_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
363
|
+
:rtype: dict(str, float)
|
|
364
|
+
"""
|
|
365
|
+
return self._nvlink_rx_gib
|
|
366
|
+
|
|
367
|
+
@nvlink_rx_gib.setter
|
|
368
|
+
def nvlink_rx_gib(self, nvlink_rx_gib: 'dict(str, float)'):
|
|
369
|
+
"""Sets the nvlink_rx_gib of this V1NodeMetrics.
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
:param nvlink_rx_gib: The nvlink_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
373
|
+
:type: dict(str, float)
|
|
374
|
+
"""
|
|
375
|
+
|
|
376
|
+
self._nvlink_rx_gib = nvlink_rx_gib
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
def nvlink_tx_gib(self) -> 'dict(str, float)':
|
|
380
|
+
"""Gets the nvlink_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
:return: The nvlink_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
384
|
+
:rtype: dict(str, float)
|
|
385
|
+
"""
|
|
386
|
+
return self._nvlink_tx_gib
|
|
387
|
+
|
|
388
|
+
@nvlink_tx_gib.setter
|
|
389
|
+
def nvlink_tx_gib(self, nvlink_tx_gib: 'dict(str, float)'):
|
|
390
|
+
"""Sets the nvlink_tx_gib of this V1NodeMetrics.
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
:param nvlink_tx_gib: The nvlink_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
394
|
+
:type: dict(str, float)
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
self._nvlink_tx_gib = nvlink_tx_gib
|
|
398
|
+
|
|
399
|
+
@property
|
|
400
|
+
def pcie_rx_gib(self) -> 'dict(str, float)':
|
|
401
|
+
"""Gets the pcie_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
:return: The pcie_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
405
|
+
:rtype: dict(str, float)
|
|
406
|
+
"""
|
|
407
|
+
return self._pcie_rx_gib
|
|
408
|
+
|
|
409
|
+
@pcie_rx_gib.setter
|
|
410
|
+
def pcie_rx_gib(self, pcie_rx_gib: 'dict(str, float)'):
|
|
411
|
+
"""Sets the pcie_rx_gib of this V1NodeMetrics.
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
:param pcie_rx_gib: The pcie_rx_gib of this V1NodeMetrics. # noqa: E501
|
|
415
|
+
:type: dict(str, float)
|
|
416
|
+
"""
|
|
417
|
+
|
|
418
|
+
self._pcie_rx_gib = pcie_rx_gib
|
|
419
|
+
|
|
420
|
+
@property
|
|
421
|
+
def pcie_tx_gib(self) -> 'dict(str, float)':
|
|
422
|
+
"""Gets the pcie_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
:return: The pcie_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
426
|
+
:rtype: dict(str, float)
|
|
427
|
+
"""
|
|
428
|
+
return self._pcie_tx_gib
|
|
429
|
+
|
|
430
|
+
@pcie_tx_gib.setter
|
|
431
|
+
def pcie_tx_gib(self, pcie_tx_gib: 'dict(str, float)'):
|
|
432
|
+
"""Sets the pcie_tx_gib of this V1NodeMetrics.
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
:param pcie_tx_gib: The pcie_tx_gib of this V1NodeMetrics. # noqa: E501
|
|
436
|
+
:type: dict(str, float)
|
|
437
|
+
"""
|
|
438
|
+
|
|
439
|
+
self._pcie_tx_gib = pcie_tx_gib
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
def per_gpu_errors(self) -> 'dict(str, int)':
|
|
443
|
+
"""Gets the per_gpu_errors of this V1NodeMetrics. # noqa: E501
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
:return: The per_gpu_errors of this V1NodeMetrics. # noqa: E501
|
|
447
|
+
:rtype: dict(str, int)
|
|
448
|
+
"""
|
|
449
|
+
return self._per_gpu_errors
|
|
450
|
+
|
|
451
|
+
@per_gpu_errors.setter
|
|
452
|
+
def per_gpu_errors(self, per_gpu_errors: 'dict(str, int)'):
|
|
453
|
+
"""Sets the per_gpu_errors of this V1NodeMetrics.
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
:param per_gpu_errors: The per_gpu_errors of this V1NodeMetrics. # noqa: E501
|
|
457
|
+
:type: dict(str, int)
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
self._per_gpu_errors = per_gpu_errors
|
|
461
|
+
|
|
462
|
+
@property
|
|
463
|
+
def per_gpu_mem_free(self) -> 'dict(str, int)':
|
|
189
464
|
"""Gets the per_gpu_mem_free of this V1NodeMetrics. # noqa: E501
|
|
190
465
|
|
|
191
466
|
|
|
192
467
|
:return: The per_gpu_mem_free of this V1NodeMetrics. # noqa: E501
|
|
193
|
-
:rtype: dict(str,
|
|
468
|
+
:rtype: dict(str, int)
|
|
194
469
|
"""
|
|
195
470
|
return self._per_gpu_mem_free
|
|
196
471
|
|
|
197
472
|
@per_gpu_mem_free.setter
|
|
198
|
-
def per_gpu_mem_free(self, per_gpu_mem_free: 'dict(str,
|
|
473
|
+
def per_gpu_mem_free(self, per_gpu_mem_free: 'dict(str, int)'):
|
|
199
474
|
"""Sets the per_gpu_mem_free of this V1NodeMetrics.
|
|
200
475
|
|
|
201
476
|
|
|
202
477
|
:param per_gpu_mem_free: The per_gpu_mem_free of this V1NodeMetrics. # noqa: E501
|
|
203
|
-
:type: dict(str,
|
|
478
|
+
:type: dict(str, int)
|
|
204
479
|
"""
|
|
205
480
|
|
|
206
481
|
self._per_gpu_mem_free = per_gpu_mem_free
|
|
207
482
|
|
|
208
483
|
@property
|
|
209
|
-
def per_gpu_mem_used(self) -> 'dict(str,
|
|
484
|
+
def per_gpu_mem_used(self) -> 'dict(str, int)':
|
|
210
485
|
"""Gets the per_gpu_mem_used of this V1NodeMetrics. # noqa: E501
|
|
211
486
|
|
|
212
487
|
|
|
213
488
|
:return: The per_gpu_mem_used of this V1NodeMetrics. # noqa: E501
|
|
214
|
-
:rtype: dict(str,
|
|
489
|
+
:rtype: dict(str, int)
|
|
215
490
|
"""
|
|
216
491
|
return self._per_gpu_mem_used
|
|
217
492
|
|
|
218
493
|
@per_gpu_mem_used.setter
|
|
219
|
-
def per_gpu_mem_used(self, per_gpu_mem_used: 'dict(str,
|
|
494
|
+
def per_gpu_mem_used(self, per_gpu_mem_used: 'dict(str, int)'):
|
|
220
495
|
"""Sets the per_gpu_mem_used of this V1NodeMetrics.
|
|
221
496
|
|
|
222
497
|
|
|
223
498
|
:param per_gpu_mem_used: The per_gpu_mem_used of this V1NodeMetrics. # noqa: E501
|
|
224
|
-
:type: dict(str,
|
|
499
|
+
:type: dict(str, int)
|
|
225
500
|
"""
|
|
226
501
|
|
|
227
502
|
self._per_gpu_mem_used = per_gpu_mem_used
|
|
228
503
|
|
|
229
504
|
@property
|
|
230
|
-
def per_gpu_power_usage_watts(self) -> 'dict(str,
|
|
505
|
+
def per_gpu_power_usage_watts(self) -> 'dict(str, int)':
|
|
231
506
|
"""Gets the per_gpu_power_usage_watts of this V1NodeMetrics. # noqa: E501
|
|
232
507
|
|
|
233
508
|
|
|
234
509
|
:return: The per_gpu_power_usage_watts of this V1NodeMetrics. # noqa: E501
|
|
235
|
-
:rtype: dict(str,
|
|
510
|
+
:rtype: dict(str, int)
|
|
236
511
|
"""
|
|
237
512
|
return self._per_gpu_power_usage_watts
|
|
238
513
|
|
|
239
514
|
@per_gpu_power_usage_watts.setter
|
|
240
|
-
def per_gpu_power_usage_watts(self, per_gpu_power_usage_watts: 'dict(str,
|
|
515
|
+
def per_gpu_power_usage_watts(self, per_gpu_power_usage_watts: 'dict(str, int)'):
|
|
241
516
|
"""Sets the per_gpu_power_usage_watts of this V1NodeMetrics.
|
|
242
517
|
|
|
243
518
|
|
|
244
519
|
:param per_gpu_power_usage_watts: The per_gpu_power_usage_watts of this V1NodeMetrics. # noqa: E501
|
|
245
|
-
:type: dict(str,
|
|
520
|
+
:type: dict(str, int)
|
|
246
521
|
"""
|
|
247
522
|
|
|
248
523
|
self._per_gpu_power_usage_watts = per_gpu_power_usage_watts
|
|
249
524
|
|
|
250
525
|
@property
|
|
251
|
-
def
|
|
526
|
+
def per_gpu_sm_active(self) -> 'dict(str, float)':
|
|
527
|
+
"""Gets the per_gpu_sm_active of this V1NodeMetrics. # noqa: E501
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
:return: The per_gpu_sm_active of this V1NodeMetrics. # noqa: E501
|
|
531
|
+
:rtype: dict(str, float)
|
|
532
|
+
"""
|
|
533
|
+
return self._per_gpu_sm_active
|
|
534
|
+
|
|
535
|
+
@per_gpu_sm_active.setter
|
|
536
|
+
def per_gpu_sm_active(self, per_gpu_sm_active: 'dict(str, float)'):
|
|
537
|
+
"""Sets the per_gpu_sm_active of this V1NodeMetrics.
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
:param per_gpu_sm_active: The per_gpu_sm_active of this V1NodeMetrics. # noqa: E501
|
|
541
|
+
:type: dict(str, float)
|
|
542
|
+
"""
|
|
543
|
+
|
|
544
|
+
self._per_gpu_sm_active = per_gpu_sm_active
|
|
545
|
+
|
|
546
|
+
@property
|
|
547
|
+
def per_gpu_sm_occupancy(self) -> 'dict(str, float)':
|
|
548
|
+
"""Gets the per_gpu_sm_occupancy of this V1NodeMetrics. # noqa: E501
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
:return: The per_gpu_sm_occupancy of this V1NodeMetrics. # noqa: E501
|
|
552
|
+
:rtype: dict(str, float)
|
|
553
|
+
"""
|
|
554
|
+
return self._per_gpu_sm_occupancy
|
|
555
|
+
|
|
556
|
+
@per_gpu_sm_occupancy.setter
|
|
557
|
+
def per_gpu_sm_occupancy(self, per_gpu_sm_occupancy: 'dict(str, float)'):
|
|
558
|
+
"""Sets the per_gpu_sm_occupancy of this V1NodeMetrics.
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
:param per_gpu_sm_occupancy: The per_gpu_sm_occupancy of this V1NodeMetrics. # noqa: E501
|
|
562
|
+
:type: dict(str, float)
|
|
563
|
+
"""
|
|
564
|
+
|
|
565
|
+
self._per_gpu_sm_occupancy = per_gpu_sm_occupancy
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def per_gpu_temperature_c(self) -> 'dict(str, int)':
|
|
252
569
|
"""Gets the per_gpu_temperature_c of this V1NodeMetrics. # noqa: E501
|
|
253
570
|
|
|
254
571
|
|
|
255
572
|
:return: The per_gpu_temperature_c of this V1NodeMetrics. # noqa: E501
|
|
256
|
-
:rtype: dict(str,
|
|
573
|
+
:rtype: dict(str, int)
|
|
257
574
|
"""
|
|
258
575
|
return self._per_gpu_temperature_c
|
|
259
576
|
|
|
260
577
|
@per_gpu_temperature_c.setter
|
|
261
|
-
def per_gpu_temperature_c(self, per_gpu_temperature_c: 'dict(str,
|
|
578
|
+
def per_gpu_temperature_c(self, per_gpu_temperature_c: 'dict(str, int)'):
|
|
262
579
|
"""Sets the per_gpu_temperature_c of this V1NodeMetrics.
|
|
263
580
|
|
|
264
581
|
|
|
265
582
|
:param per_gpu_temperature_c: The per_gpu_temperature_c of this V1NodeMetrics. # noqa: E501
|
|
266
|
-
:type: dict(str,
|
|
583
|
+
:type: dict(str, int)
|
|
267
584
|
"""
|
|
268
585
|
|
|
269
586
|
self._per_gpu_temperature_c = per_gpu_temperature_c
|
|
@@ -310,6 +627,27 @@ class V1NodeMetrics(object):
|
|
|
310
627
|
|
|
311
628
|
self._timestamp = timestamp
|
|
312
629
|
|
|
630
|
+
@property
|
|
631
|
+
def unschedulable(self) -> 'bool':
|
|
632
|
+
"""Gets the unschedulable of this V1NodeMetrics. # noqa: E501
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
:return: The unschedulable of this V1NodeMetrics. # noqa: E501
|
|
636
|
+
:rtype: bool
|
|
637
|
+
"""
|
|
638
|
+
return self._unschedulable
|
|
639
|
+
|
|
640
|
+
@unschedulable.setter
|
|
641
|
+
def unschedulable(self, unschedulable: 'bool'):
|
|
642
|
+
"""Sets the unschedulable of this V1NodeMetrics.
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
:param unschedulable: The unschedulable of this V1NodeMetrics. # noqa: E501
|
|
646
|
+
:type: bool
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
self._unschedulable = unschedulable
|
|
650
|
+
|
|
313
651
|
def to_dict(self) -> dict:
|
|
314
652
|
"""Returns the model properties as a dict"""
|
|
315
653
|
result = {}
|
|
@@ -41,6 +41,7 @@ class V1NotificationType(object):
|
|
|
41
41
|
LOW_FUNDS = "NOTIFICATION_TYPE_LOW_FUNDS"
|
|
42
42
|
LONG_WORKLOADS = "NOTIFICATION_TYPE_LONG_WORKLOADS"
|
|
43
43
|
DEPLOYMENT_ERROR = "NOTIFICATION_TYPE_DEPLOYMENT_ERROR"
|
|
44
|
+
REQUESTED_ACCESS = "NOTIFICATION_TYPE_REQUESTED_ACCESS"
|
|
44
45
|
"""
|
|
45
46
|
Attributes:
|
|
46
47
|
swagger_types (dict): The key is attribute name
|
|
@@ -43,6 +43,7 @@ class V1Organization(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'alerts_config': 'V1AlertsConfig',
|
|
45
45
|
'allow_budgeting': 'bool',
|
|
46
|
+
'allow_cloud_space_publish': 'bool',
|
|
46
47
|
'allow_credits_auto_replenish': 'bool',
|
|
47
48
|
'allow_external_project_duplication': 'bool',
|
|
48
49
|
'allow_guest': 'bool',
|
|
@@ -82,6 +83,7 @@ class V1Organization(object):
|
|
|
82
83
|
'preferred_cluster': 'str',
|
|
83
84
|
'preferred_deployment_provider': 'str',
|
|
84
85
|
'preferred_studio_provider': 'str',
|
|
86
|
+
'show_model_apis_tab': 'bool',
|
|
85
87
|
'start_studios_on_spot_instance': 'bool',
|
|
86
88
|
'storage_overuse_bytes': 'str',
|
|
87
89
|
'storage_overuse_deletion_at': 'datetime',
|
|
@@ -96,6 +98,7 @@ class V1Organization(object):
|
|
|
96
98
|
attribute_map = {
|
|
97
99
|
'alerts_config': 'alertsConfig',
|
|
98
100
|
'allow_budgeting': 'allowBudgeting',
|
|
101
|
+
'allow_cloud_space_publish': 'allowCloudSpacePublish',
|
|
99
102
|
'allow_credits_auto_replenish': 'allowCreditsAutoReplenish',
|
|
100
103
|
'allow_external_project_duplication': 'allowExternalProjectDuplication',
|
|
101
104
|
'allow_guest': 'allowGuest',
|
|
@@ -135,6 +138,7 @@ class V1Organization(object):
|
|
|
135
138
|
'preferred_cluster': 'preferredCluster',
|
|
136
139
|
'preferred_deployment_provider': 'preferredDeploymentProvider',
|
|
137
140
|
'preferred_studio_provider': 'preferredStudioProvider',
|
|
141
|
+
'show_model_apis_tab': 'showModelApisTab',
|
|
138
142
|
'start_studios_on_spot_instance': 'startStudiosOnSpotInstance',
|
|
139
143
|
'storage_overuse_bytes': 'storageOveruseBytes',
|
|
140
144
|
'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
|
|
@@ -146,10 +150,11 @@ class V1Organization(object):
|
|
|
146
150
|
'workload_max_run_duration': 'workloadMaxRunDuration'
|
|
147
151
|
}
|
|
148
152
|
|
|
149
|
-
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, default_project_id: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
153
|
+
def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_cloud_space_publish: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, default_project_id: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_nebius_saas: 'bool' =None, disallow_voltage_park_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, show_model_apis_tab: 'bool' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
|
|
150
154
|
"""V1Organization - a model defined in Swagger""" # noqa: E501
|
|
151
155
|
self._alerts_config = None
|
|
152
156
|
self._allow_budgeting = None
|
|
157
|
+
self._allow_cloud_space_publish = None
|
|
153
158
|
self._allow_credits_auto_replenish = None
|
|
154
159
|
self._allow_external_project_duplication = None
|
|
155
160
|
self._allow_guest = None
|
|
@@ -189,6 +194,7 @@ class V1Organization(object):
|
|
|
189
194
|
self._preferred_cluster = None
|
|
190
195
|
self._preferred_deployment_provider = None
|
|
191
196
|
self._preferred_studio_provider = None
|
|
197
|
+
self._show_model_apis_tab = None
|
|
192
198
|
self._start_studios_on_spot_instance = None
|
|
193
199
|
self._storage_overuse_bytes = None
|
|
194
200
|
self._storage_overuse_deletion_at = None
|
|
@@ -203,6 +209,8 @@ class V1Organization(object):
|
|
|
203
209
|
self.alerts_config = alerts_config
|
|
204
210
|
if allow_budgeting is not None:
|
|
205
211
|
self.allow_budgeting = allow_budgeting
|
|
212
|
+
if allow_cloud_space_publish is not None:
|
|
213
|
+
self.allow_cloud_space_publish = allow_cloud_space_publish
|
|
206
214
|
if allow_credits_auto_replenish is not None:
|
|
207
215
|
self.allow_credits_auto_replenish = allow_credits_auto_replenish
|
|
208
216
|
if allow_external_project_duplication is not None:
|
|
@@ -281,6 +289,8 @@ class V1Organization(object):
|
|
|
281
289
|
self.preferred_deployment_provider = preferred_deployment_provider
|
|
282
290
|
if preferred_studio_provider is not None:
|
|
283
291
|
self.preferred_studio_provider = preferred_studio_provider
|
|
292
|
+
if show_model_apis_tab is not None:
|
|
293
|
+
self.show_model_apis_tab = show_model_apis_tab
|
|
284
294
|
if start_studios_on_spot_instance is not None:
|
|
285
295
|
self.start_studios_on_spot_instance = start_studios_on_spot_instance
|
|
286
296
|
if storage_overuse_bytes is not None:
|
|
@@ -342,6 +352,27 @@ class V1Organization(object):
|
|
|
342
352
|
|
|
343
353
|
self._allow_budgeting = allow_budgeting
|
|
344
354
|
|
|
355
|
+
@property
|
|
356
|
+
def allow_cloud_space_publish(self) -> 'bool':
|
|
357
|
+
"""Gets the allow_cloud_space_publish of this V1Organization. # noqa: E501
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
:return: The allow_cloud_space_publish of this V1Organization. # noqa: E501
|
|
361
|
+
:rtype: bool
|
|
362
|
+
"""
|
|
363
|
+
return self._allow_cloud_space_publish
|
|
364
|
+
|
|
365
|
+
@allow_cloud_space_publish.setter
|
|
366
|
+
def allow_cloud_space_publish(self, allow_cloud_space_publish: 'bool'):
|
|
367
|
+
"""Sets the allow_cloud_space_publish of this V1Organization.
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
:param allow_cloud_space_publish: The allow_cloud_space_publish of this V1Organization. # noqa: E501
|
|
371
|
+
:type: bool
|
|
372
|
+
"""
|
|
373
|
+
|
|
374
|
+
self._allow_cloud_space_publish = allow_cloud_space_publish
|
|
375
|
+
|
|
345
376
|
@property
|
|
346
377
|
def allow_credits_auto_replenish(self) -> 'bool':
|
|
347
378
|
"""Gets the allow_credits_auto_replenish of this V1Organization. # noqa: E501
|
|
@@ -1163,6 +1194,27 @@ class V1Organization(object):
|
|
|
1163
1194
|
|
|
1164
1195
|
self._preferred_studio_provider = preferred_studio_provider
|
|
1165
1196
|
|
|
1197
|
+
@property
|
|
1198
|
+
def show_model_apis_tab(self) -> 'bool':
|
|
1199
|
+
"""Gets the show_model_apis_tab of this V1Organization. # noqa: E501
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
:return: The show_model_apis_tab of this V1Organization. # noqa: E501
|
|
1203
|
+
:rtype: bool
|
|
1204
|
+
"""
|
|
1205
|
+
return self._show_model_apis_tab
|
|
1206
|
+
|
|
1207
|
+
@show_model_apis_tab.setter
|
|
1208
|
+
def show_model_apis_tab(self, show_model_apis_tab: 'bool'):
|
|
1209
|
+
"""Sets the show_model_apis_tab of this V1Organization.
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
:param show_model_apis_tab: The show_model_apis_tab of this V1Organization. # noqa: E501
|
|
1213
|
+
:type: bool
|
|
1214
|
+
"""
|
|
1215
|
+
|
|
1216
|
+
self._show_model_apis_tab = show_model_apis_tab
|
|
1217
|
+
|
|
1166
1218
|
@property
|
|
1167
1219
|
def start_studios_on_spot_instance(self) -> 'bool':
|
|
1168
1220
|
"""Gets the start_studios_on_spot_instance of this V1Organization. # noqa: E501
|