anyscale 0.26.23__py3-none-any.whl → 0.26.25__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.
- anyscale/_private/anyscale_client/anyscale_client.py +1 -1
- anyscale/_private/docgen/__main__.py +0 -8
- anyscale/_private/docgen/models.md +39 -182
- anyscale/_private/workload/workload_config.py +1 -1
- anyscale/client/README.md +2 -35
- anyscale/client/openapi_client/__init__.py +2 -21
- anyscale/client/openapi_client/api/default_api.py +275 -1868
- anyscale/client/openapi_client/models/__init__.py +2 -21
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
- anyscale/client/openapi_client/models/cloud_deployment.py +2 -2
- anyscale/client/openapi_client/models/cloud_deployment_compute_config.py +291 -0
- anyscale/client/openapi_client/models/cloud_deployment_selector.py +206 -0
- anyscale/client/openapi_client/models/cloud_providers.py +2 -1
- anyscale/client/openapi_client/models/compute_template_config.py +61 -34
- anyscale/client/openapi_client/models/create_cluster_compute_config.py +59 -31
- anyscale/client/openapi_client/models/create_compute_template_config.py +61 -34
- anyscale/client/openapi_client/models/create_workspace_from_template.py +3 -2
- anyscale/client/openapi_client/models/decorated_compute_template_config.py +61 -34
- anyscale/client/openapi_client/models/decorated_session.py +31 -3
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +31 -3
- anyscale/cluster_compute.py +4 -4
- anyscale/commands/anyscale_api/sessions_commands.py +1 -70
- anyscale/commands/cloud_commands.py +5 -4
- anyscale/commands/image_commands.py +2 -2
- anyscale/commands/job_commands.py +1 -1
- anyscale/commands/service_commands.py +1 -1
- anyscale/commands/workspace_commands_v2.py +1 -1
- anyscale/connect_utils/prepare_cluster.py +1 -3
- anyscale/controllers/cloud_controller.py +12 -6
- anyscale/controllers/cloud_functional_verification_controller.py +2 -2
- anyscale/image/commands.py +1 -1
- anyscale/sdk/anyscale_client/__init__.py +2 -15
- anyscale/sdk/anyscale_client/api/default_api.py +1270 -2871
- anyscale/sdk/anyscale_client/models/__init__.py +2 -15
- anyscale/sdk/anyscale_client/models/cloud_deployment_compute_config.py +291 -0
- anyscale/sdk/anyscale_client/models/cloud_deployment_selector.py +206 -0
- anyscale/sdk/anyscale_client/models/cloud_providers.py +2 -1
- anyscale/sdk/anyscale_client/models/cluster_compute_config.py +61 -34
- anyscale/sdk/anyscale_client/models/cluster_services_urls.py +29 -1
- anyscale/sdk/anyscale_client/models/compute_template_config.py +61 -34
- anyscale/sdk/anyscale_client/models/create_cluster_compute_config.py +59 -31
- anyscale/sdk/anyscale_client/models/session.py +31 -3
- anyscale/shared_anyscale_utils/utils/id_gen.py +3 -1
- anyscale/version.py +1 -1
- anyscale/workspace/models.py +1 -1
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/METADATA +1 -1
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/RECORD +52 -84
- anyscale/client/openapi_client/models/bank_account_information.py +0 -239
- anyscale/client/openapi_client/models/billing_information.py +0 -181
- anyscale/client/openapi_client/models/credit_card_information.py +0 -268
- anyscale/client/openapi_client/models/decoratedunifiedjob_response.py +0 -121
- anyscale/client/openapi_client/models/invoice.py +0 -413
- anyscale/client/openapi_client/models/invoice_list_response.py +0 -147
- anyscale/client/openapi_client/models/invoice_status.py +0 -102
- anyscale/client/openapi_client/models/invoices_query.py +0 -150
- anyscale/client/openapi_client/models/log_stream.py +0 -151
- anyscale/client/openapi_client/models/logstream_response.py +0 -121
- anyscale/client/openapi_client/models/miniproject_list_response.py +0 -147
- anyscale/client/openapi_client/models/organization_project_collaborator.py +0 -175
- anyscale/client/openapi_client/models/organization_project_collaborator_value.py +0 -148
- anyscale/client/openapi_client/models/organizationprojectcollaborator_list_response.py +0 -147
- anyscale/client/openapi_client/models/product_type.py +0 -100
- anyscale/client/openapi_client/models/service_usage.py +0 -353
- anyscale/client/openapi_client/models/templatized_compute_configs.py +0 -202
- anyscale/client/openapi_client/models/templatized_decorated_application_templates.py +0 -202
- anyscale/client/openapi_client/models/templatizedcomputeconfigs_response.py +0 -121
- anyscale/client/openapi_client/models/templatizeddecoratedapplicationtemplates_response.py +0 -121
- anyscale/client/openapi_client/models/write_session.py +0 -147
- anyscale/sdk/anyscale_client/models/build_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/build_log_response.py +0 -123
- anyscale/sdk/anyscale_client/models/buildlogresponse_response.py +0 -121
- anyscale/sdk/anyscale_client/models/compute_template_query.py +0 -316
- anyscale/sdk/anyscale_client/models/computetemplate_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/create_build.py +0 -263
- anyscale/sdk/anyscale_client/models/create_compute_template.py +0 -229
- anyscale/sdk/anyscale_client/models/create_compute_template_config.py +0 -464
- anyscale/sdk/anyscale_client/models/session_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/sessions_query.py +0 -206
- anyscale/sdk/anyscale_client/models/start_session_options.py +0 -206
- anyscale/sdk/anyscale_client/models/terminate_session_options.py +0 -206
- anyscale/sdk/anyscale_client/models/update_compute_template.py +0 -146
- anyscale/sdk/anyscale_client/models/update_compute_template_config.py +0 -464
- anyscale/sdk/anyscale_client/models/update_session.py +0 -150
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/LICENSE +0 -0
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/NOTICE +0 -0
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/WHEEL +0 -0
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.23.dist-info → anyscale-0.26.25.dist-info}/top_level.txt +0 -0
@@ -60,6 +60,7 @@ class Session(object):
|
|
60
60
|
'train_metrics_dashboard_url': 'str',
|
61
61
|
'serve_metrics_dashboard_url': 'str',
|
62
62
|
'serve_deployment_metrics_dashboard_url': 'str',
|
63
|
+
'serve_llm_metrics_dashboard_url': 'str',
|
63
64
|
'persistent_metrics_url': 'str',
|
64
65
|
'connect_url': 'str',
|
65
66
|
'jupyter_notebook_url': 'str',
|
@@ -114,6 +115,7 @@ class Session(object):
|
|
114
115
|
'train_metrics_dashboard_url': 'train_metrics_dashboard_url',
|
115
116
|
'serve_metrics_dashboard_url': 'serve_metrics_dashboard_url',
|
116
117
|
'serve_deployment_metrics_dashboard_url': 'serve_deployment_metrics_dashboard_url',
|
118
|
+
'serve_llm_metrics_dashboard_url': 'serve_llm_metrics_dashboard_url',
|
117
119
|
'persistent_metrics_url': 'persistent_metrics_url',
|
118
120
|
'connect_url': 'connect_url',
|
119
121
|
'jupyter_notebook_url': 'jupyter_notebook_url',
|
@@ -140,7 +142,7 @@ class Session(object):
|
|
140
142
|
'ray_dashboard_snapshot_last_reported_at': 'ray_dashboard_snapshot_last_reported_at'
|
141
143
|
}
|
142
144
|
|
143
|
-
def __init__(self, name=None, project_id=None, cloud_id=None, cluster_config=None, build_id=None, compute_template_id=None, idle_timeout=120, uses_app_config=False, allow_public_internet_traffic=False, user_service_access=None, user_service_token=None, ha_job_id=None, id=None, state=None, pending_state=None, state_data=None, status=None, status_details=None, creator_id=None, created_at=None, archived_at=None, webterminal_auth_url=None, metrics_dashboard_url=None, data_metrics_dashboard_url=None, train_metrics_dashboard_url=None, serve_metrics_dashboard_url=None, serve_deployment_metrics_dashboard_url=None, persistent_metrics_url=None, connect_url=None, jupyter_notebook_url=None, ray_dashboard_url=None, access_token=None, service_proxy_url=None, tensorboard_available=None, cluster_config_last_modified_at=None, host_name=None, head_node_ip=None, ssh_authorized_keys=None, ssh_private_key=None, anyscaled_config=None, anyscaled_config_generated_at=None, default_build_id=None, idle_timeout_last_activity_at=None, ray_version=None, ray_version_last_updated_at=None, user_service_url=None, ray_component_activities_last_reported_at=None, activity_details=None, maximum_uptime_will_terminate_cluster_at=None, idle_termination_status=None, ray_dashboard_snapshot_last_reported_at=None, local_vars_configuration=None): # noqa: E501
|
145
|
+
def __init__(self, name=None, project_id=None, cloud_id=None, cluster_config=None, build_id=None, compute_template_id=None, idle_timeout=120, uses_app_config=False, allow_public_internet_traffic=False, user_service_access=None, user_service_token=None, ha_job_id=None, id=None, state=None, pending_state=None, state_data=None, status=None, status_details=None, creator_id=None, created_at=None, archived_at=None, webterminal_auth_url=None, metrics_dashboard_url=None, data_metrics_dashboard_url=None, train_metrics_dashboard_url=None, serve_metrics_dashboard_url=None, serve_deployment_metrics_dashboard_url=None, serve_llm_metrics_dashboard_url=None, persistent_metrics_url=None, connect_url=None, jupyter_notebook_url=None, ray_dashboard_url=None, access_token=None, service_proxy_url=None, tensorboard_available=None, cluster_config_last_modified_at=None, host_name=None, head_node_ip=None, ssh_authorized_keys=None, ssh_private_key=None, anyscaled_config=None, anyscaled_config_generated_at=None, default_build_id=None, idle_timeout_last_activity_at=None, ray_version=None, ray_version_last_updated_at=None, user_service_url=None, ray_component_activities_last_reported_at=None, activity_details=None, maximum_uptime_will_terminate_cluster_at=None, idle_termination_status=None, ray_dashboard_snapshot_last_reported_at=None, local_vars_configuration=None): # noqa: E501
|
144
146
|
"""Session - a model defined in OpenAPI""" # noqa: E501
|
145
147
|
if local_vars_configuration is None:
|
146
148
|
local_vars_configuration = Configuration()
|
@@ -173,6 +175,7 @@ class Session(object):
|
|
173
175
|
self._train_metrics_dashboard_url = None
|
174
176
|
self._serve_metrics_dashboard_url = None
|
175
177
|
self._serve_deployment_metrics_dashboard_url = None
|
178
|
+
self._serve_llm_metrics_dashboard_url = None
|
176
179
|
self._persistent_metrics_url = None
|
177
180
|
self._connect_url = None
|
178
181
|
self._jupyter_notebook_url = None
|
@@ -245,6 +248,8 @@ class Session(object):
|
|
245
248
|
self.serve_metrics_dashboard_url = serve_metrics_dashboard_url
|
246
249
|
if serve_deployment_metrics_dashboard_url is not None:
|
247
250
|
self.serve_deployment_metrics_dashboard_url = serve_deployment_metrics_dashboard_url
|
251
|
+
if serve_llm_metrics_dashboard_url is not None:
|
252
|
+
self.serve_llm_metrics_dashboard_url = serve_llm_metrics_dashboard_url
|
248
253
|
if persistent_metrics_url is not None:
|
249
254
|
self.persistent_metrics_url = persistent_metrics_url
|
250
255
|
if connect_url is not None:
|
@@ -926,6 +931,29 @@ class Session(object):
|
|
926
931
|
|
927
932
|
self._serve_deployment_metrics_dashboard_url = serve_deployment_metrics_dashboard_url
|
928
933
|
|
934
|
+
@property
|
935
|
+
def serve_llm_metrics_dashboard_url(self):
|
936
|
+
"""Gets the serve_llm_metrics_dashboard_url of this Session. # noqa: E501
|
937
|
+
|
938
|
+
URL for Serve LLM Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
939
|
+
|
940
|
+
:return: The serve_llm_metrics_dashboard_url of this Session. # noqa: E501
|
941
|
+
:rtype: str
|
942
|
+
"""
|
943
|
+
return self._serve_llm_metrics_dashboard_url
|
944
|
+
|
945
|
+
@serve_llm_metrics_dashboard_url.setter
|
946
|
+
def serve_llm_metrics_dashboard_url(self, serve_llm_metrics_dashboard_url):
|
947
|
+
"""Sets the serve_llm_metrics_dashboard_url of this Session.
|
948
|
+
|
949
|
+
URL for Serve LLM Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. # noqa: E501
|
950
|
+
|
951
|
+
:param serve_llm_metrics_dashboard_url: The serve_llm_metrics_dashboard_url of this Session. # noqa: E501
|
952
|
+
:type: str
|
953
|
+
"""
|
954
|
+
|
955
|
+
self._serve_llm_metrics_dashboard_url = serve_llm_metrics_dashboard_url
|
956
|
+
|
929
957
|
@property
|
930
958
|
def persistent_metrics_url(self):
|
931
959
|
"""Gets the persistent_metrics_url of this Session. # noqa: E501
|
@@ -1022,7 +1050,7 @@ class Session(object):
|
|
1022
1050
|
def access_token(self):
|
1023
1051
|
"""Gets the access_token of this Session. # noqa: E501
|
1024
1052
|
|
1025
|
-
|
1053
|
+
[DEPRECATED] Call GET /api/v2/authentication/{cluster_id}/cluster_access_token to get this. # noqa: E501
|
1026
1054
|
|
1027
1055
|
:return: The access_token of this Session. # noqa: E501
|
1028
1056
|
:rtype: str
|
@@ -1033,7 +1061,7 @@ class Session(object):
|
|
1033
1061
|
def access_token(self, access_token):
|
1034
1062
|
"""Sets the access_token of this Session.
|
1035
1063
|
|
1036
|
-
|
1064
|
+
[DEPRECATED] Call GET /api/v2/authentication/{cluster_id}/cluster_access_token to get this. # noqa: E501
|
1037
1065
|
|
1038
1066
|
:param access_token: The access_token of this Session. # noqa: E501
|
1039
1067
|
:type: str
|
@@ -17,7 +17,6 @@ class IDTypes(Enum):
|
|
17
17
|
clouds = "cld"
|
18
18
|
cloud_resources = "cldrsrc"
|
19
19
|
cloud_resources_gcp = "cldrsrcgcp"
|
20
|
-
cluster_service_accounts = "csa"
|
21
20
|
permissions_projects = "ppr"
|
22
21
|
permissions_sessions = "pse"
|
23
22
|
permissions_snapshots = "psn"
|
@@ -115,6 +114,9 @@ class IDTypes(Enum):
|
|
115
114
|
resource_alerts = "rsa"
|
116
115
|
aggregated_instance_usage = "aiu"
|
117
116
|
readonly_collaborators = "rc"
|
117
|
+
machine_pools = "mp"
|
118
|
+
machines = "m"
|
119
|
+
cluster_log_cloud_resources = "clcr"
|
118
120
|
|
119
121
|
|
120
122
|
_default_id_length: int = 26
|
anyscale/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.26.
|
1
|
+
__version__ = "0.26.25"
|
anyscale/workspace/models.py
CHANGED
@@ -174,7 +174,7 @@ requirements: /tmp/requirements.txt
|
|
174
174
|
ray_version: Optional[str] = field(
|
175
175
|
default=None,
|
176
176
|
metadata={
|
177
|
-
"docstring": "The Ray version (X.Y.Z) specified for this image specified by either an image URI or a containerfile. If
|
177
|
+
"docstring": "The Ray version (X.Y.Z) specified for this image specified by either an image URI or a containerfile. If you don't specify a Ray version, Anyscale defaults to the latest Ray version available at the time of the Anyscale CLI/SDK release."
|
178
178
|
},
|
179
179
|
)
|
180
180
|
|