lightning-sdk 0.2.17__py3-none-any.whl → 0.2.19__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.
Files changed (48) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/deployment_api.py +2 -0
  3. lightning_sdk/api/llm_api.py +3 -2
  4. lightning_sdk/deployment/deployment.py +2 -0
  5. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
  6. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  7. lightning_sdk/lightning_cloud/openapi/api/blog_posts_service_api.py +533 -0
  8. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +113 -0
  9. lightning_sdk/lightning_cloud/openapi/models/__init__.py +7 -0
  10. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +253 -0
  11. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
  12. lightning_sdk/lightning_cloud/openapi/models/id_transfer_body.py +123 -0
  13. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +157 -157
  14. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  15. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +331 -0
  16. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_state.py +1 -0
  19. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +253 -0
  20. lightning_sdk/lightning_cloud/openapi/models/v1_daily_usage.py +81 -3
  21. lightning_sdk/lightning_cloud/openapi/models/v1_delete_blog_post_response.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/v1_get_organization_storage_metadata_response.py +79 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +133 -3
  25. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +41 -15
  27. lightning_sdk/lightning_cloud/openapi/models/v1_list_blog_posts_response.py +175 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +157 -157
  30. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +41 -15
  32. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +79 -27
  35. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +2 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_cloud_space_response.py +97 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +79 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +223 -67
  40. lightning_sdk/llm/llm.py +0 -2
  41. lightning_sdk/serve.py +1 -0
  42. lightning_sdk/services/license.py +87 -22
  43. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/METADATA +1 -1
  44. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/RECORD +48 -40
  45. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/LICENSE +0 -0
  46. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/WHEEL +0 -0
  47. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/entry_points.txt +0 -0
  48. {lightning_sdk-0.2.17.dist-info → lightning_sdk-0.2.19.dist-info}/top_level.txt +0 -0
@@ -41,6 +41,7 @@ class V1UserFeatures(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'accurate_billing': 'bool',
44
45
  'affiliate_links': 'bool',
45
46
  'agents_v2': 'bool',
46
47
  'ai_hub_monetization': 'bool',
@@ -49,7 +50,7 @@ class V1UserFeatures(object):
49
50
  'auto_top_up': 'bool',
50
51
  'auto_top_up_teamspace': 'bool',
51
52
  'b2c_experience': 'bool',
52
- 'big_default_cpus': 'bool',
53
+ 'blog_route': 'bool',
53
54
  'byoc_litcr': 'bool',
54
55
  'cap_add': 'list[str]',
55
56
  'cap_drop': 'list[str]',
@@ -78,14 +79,13 @@ class V1UserFeatures(object):
78
79
  'featured_studios_admin': 'bool',
79
80
  'filestore': 'bool',
80
81
  'gcs_folders': 'bool',
81
- 'inactive_notify_delete': 'bool',
82
82
  'instant_capacity_reservation': 'bool',
83
83
  'job_artifacts_v2': 'bool',
84
84
  'lambda_labs': 'bool',
85
+ 'lambda_labs_studios': 'bool',
85
86
  'landing_studios': 'bool',
86
87
  'lightning_cloud': 'bool',
87
88
  'lit_logger': 'bool',
88
- 'manage_storage_costs': 'bool',
89
89
  'marketplace': 'bool',
90
90
  'mmt_fault_tolerance': 'bool',
91
91
  'mmt_strategy_selector': 'bool',
@@ -93,6 +93,8 @@ class V1UserFeatures(object):
93
93
  'multicloud_saas': 'bool',
94
94
  'multiple_studio_versions': 'bool',
95
95
  'nebius': 'bool',
96
+ 'nebius_cpu_studios': 'bool',
97
+ 'nebius_gpu_studios': 'bool',
96
98
  'neocloud_studios': 'bool',
97
99
  'nerf_fs_nonpaying': 'bool',
98
100
  'org_level_member_permissions': 'bool',
@@ -112,6 +114,7 @@ class V1UserFeatures(object):
112
114
  'project_selector': 'bool',
113
115
  'publish_pipelines': 'bool',
114
116
  'r2_data_connections': 'bool',
117
+ 'reserved_machines_tab': 'bool',
115
118
  'restartable_jobs': 'bool',
116
119
  'runnable_public_studio_page': 'bool',
117
120
  'security_docs': 'bool',
@@ -121,19 +124,23 @@ class V1UserFeatures(object):
121
124
  'slurm': 'bool',
122
125
  'slurm_machine_selector': 'bool',
123
126
  'stop_ide_container_on_shutdown': 'bool',
127
+ 'storage_overuse_deletion': 'bool',
124
128
  'studio_config': 'bool',
125
129
  'studio_version_visibility': 'bool',
126
130
  'studios_dashboard': 'bool',
127
131
  'studios_dashboard_system_metrics': 'bool',
128
132
  'teamspace_storage_tab': 'bool',
129
133
  'trainium2': 'bool',
134
+ 'transfer_studios': 'bool',
130
135
  'use_rclone_mounts_only': 'bool',
131
136
  'voltage_park': 'bool',
137
+ 'voltage_park_studios': 'bool',
132
138
  'vultr': 'bool',
133
139
  'weka': 'bool'
134
140
  }
135
141
 
136
142
  attribute_map = {
143
+ 'accurate_billing': 'accurateBilling',
137
144
  'affiliate_links': 'affiliateLinks',
138
145
  'agents_v2': 'agentsV2',
139
146
  'ai_hub_monetization': 'aiHubMonetization',
@@ -142,7 +149,7 @@ class V1UserFeatures(object):
142
149
  'auto_top_up': 'autoTopUp',
143
150
  'auto_top_up_teamspace': 'autoTopUpTeamspace',
144
151
  'b2c_experience': 'b2cExperience',
145
- 'big_default_cpus': 'bigDefaultCpus',
152
+ 'blog_route': 'blogRoute',
146
153
  'byoc_litcr': 'byocLitcr',
147
154
  'cap_add': 'capAdd',
148
155
  'cap_drop': 'capDrop',
@@ -171,14 +178,13 @@ class V1UserFeatures(object):
171
178
  'featured_studios_admin': 'featuredStudiosAdmin',
172
179
  'filestore': 'filestore',
173
180
  'gcs_folders': 'gcsFolders',
174
- 'inactive_notify_delete': 'inactiveNotifyDelete',
175
181
  'instant_capacity_reservation': 'instantCapacityReservation',
176
182
  'job_artifacts_v2': 'jobArtifactsV2',
177
183
  'lambda_labs': 'lambdaLabs',
184
+ 'lambda_labs_studios': 'lambdaLabsStudios',
178
185
  'landing_studios': 'landingStudios',
179
186
  'lightning_cloud': 'lightningCloud',
180
187
  'lit_logger': 'litLogger',
181
- 'manage_storage_costs': 'manageStorageCosts',
182
188
  'marketplace': 'marketplace',
183
189
  'mmt_fault_tolerance': 'mmtFaultTolerance',
184
190
  'mmt_strategy_selector': 'mmtStrategySelector',
@@ -186,6 +192,8 @@ class V1UserFeatures(object):
186
192
  'multicloud_saas': 'multicloudSaas',
187
193
  'multiple_studio_versions': 'multipleStudioVersions',
188
194
  'nebius': 'nebius',
195
+ 'nebius_cpu_studios': 'nebiusCpuStudios',
196
+ 'nebius_gpu_studios': 'nebiusGpuStudios',
189
197
  'neocloud_studios': 'neocloudStudios',
190
198
  'nerf_fs_nonpaying': 'nerfFsNonpaying',
191
199
  'org_level_member_permissions': 'orgLevelMemberPermissions',
@@ -205,6 +213,7 @@ class V1UserFeatures(object):
205
213
  'project_selector': 'projectSelector',
206
214
  'publish_pipelines': 'publishPipelines',
207
215
  'r2_data_connections': 'r2DataConnections',
216
+ 'reserved_machines_tab': 'reservedMachinesTab',
208
217
  'restartable_jobs': 'restartableJobs',
209
218
  'runnable_public_studio_page': 'runnablePublicStudioPage',
210
219
  'security_docs': 'securityDocs',
@@ -214,20 +223,24 @@ class V1UserFeatures(object):
214
223
  'slurm': 'slurm',
215
224
  'slurm_machine_selector': 'slurmMachineSelector',
216
225
  'stop_ide_container_on_shutdown': 'stopIdeContainerOnShutdown',
226
+ 'storage_overuse_deletion': 'storageOveruseDeletion',
217
227
  'studio_config': 'studioConfig',
218
228
  'studio_version_visibility': 'studioVersionVisibility',
219
229
  'studios_dashboard': 'studiosDashboard',
220
230
  'studios_dashboard_system_metrics': 'studiosDashboardSystemMetrics',
221
231
  'teamspace_storage_tab': 'teamspaceStorageTab',
222
232
  'trainium2': 'trainium2',
233
+ 'transfer_studios': 'transferStudios',
223
234
  'use_rclone_mounts_only': 'useRcloneMountsOnly',
224
235
  'voltage_park': 'voltagePark',
236
+ 'voltage_park_studios': 'voltageParkStudios',
225
237
  'vultr': 'vultr',
226
238
  'weka': 'weka'
227
239
  }
228
240
 
229
- def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, auto_top_up: 'bool' =None, auto_top_up_teamspace: 'bool' =None, b2c_experience: 'bool' =None, big_default_cpus: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, cloudy_vibe_code: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, concurrent_gpu_limit: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_requests_tab: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, down_switch_machine: 'bool' =None, drive_v2: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, gcs_folders: 'bool' =None, inactive_notify_delete: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, landing_studios: 'bool' =None, lightning_cloud: 'bool' =None, lit_logger: 'bool' =None, manage_storage_costs: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_folders: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, nebius: 'bool' =None, neocloud_studios: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, paygo_free_storage_limit_check: 'bool' =None, pipelines: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, r2_data_connections: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, seoul_aws_region: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, studios_dashboard_system_metrics: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, use_rclone_mounts_only: 'bool' =None, voltage_park: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None): # noqa: E501
241
+ def __init__(self, accurate_billing: 'bool' =None, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, auto_top_up: 'bool' =None, auto_top_up_teamspace: 'bool' =None, b2c_experience: 'bool' =None, blog_route: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, cloudy_vibe_code: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, concurrent_gpu_limit: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_requests_tab: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, down_switch_machine: 'bool' =None, drive_v2: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, gcs_folders: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, lambda_labs_studios: 'bool' =None, landing_studios: 'bool' =None, lightning_cloud: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_folders: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, nebius: 'bool' =None, nebius_cpu_studios: 'bool' =None, nebius_gpu_studios: 'bool' =None, neocloud_studios: 'bool' =None, nerf_fs_nonpaying: 'bool' =None, org_level_member_permissions: 'bool' =None, org_usage_limits: 'bool' =None, paygo_free_storage_limit_check: 'bool' =None, pipelines: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, product_license: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, r2_data_connections: 'bool' =None, reserved_machines_tab: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, seoul_aws_region: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, storage_overuse_deletion: 'bool' =None, studio_config: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, studios_dashboard_system_metrics: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, transfer_studios: 'bool' =None, use_rclone_mounts_only: 'bool' =None, voltage_park: 'bool' =None, voltage_park_studios: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None): # noqa: E501
230
242
  """V1UserFeatures - a model defined in Swagger""" # noqa: E501
243
+ self._accurate_billing = None
231
244
  self._affiliate_links = None
232
245
  self._agents_v2 = None
233
246
  self._ai_hub_monetization = None
@@ -236,7 +249,7 @@ class V1UserFeatures(object):
236
249
  self._auto_top_up = None
237
250
  self._auto_top_up_teamspace = None
238
251
  self._b2c_experience = None
239
- self._big_default_cpus = None
252
+ self._blog_route = None
240
253
  self._byoc_litcr = None
241
254
  self._cap_add = None
242
255
  self._cap_drop = None
@@ -265,14 +278,13 @@ class V1UserFeatures(object):
265
278
  self._featured_studios_admin = None
266
279
  self._filestore = None
267
280
  self._gcs_folders = None
268
- self._inactive_notify_delete = None
269
281
  self._instant_capacity_reservation = None
270
282
  self._job_artifacts_v2 = None
271
283
  self._lambda_labs = None
284
+ self._lambda_labs_studios = None
272
285
  self._landing_studios = None
273
286
  self._lightning_cloud = None
274
287
  self._lit_logger = None
275
- self._manage_storage_costs = None
276
288
  self._marketplace = None
277
289
  self._mmt_fault_tolerance = None
278
290
  self._mmt_strategy_selector = None
@@ -280,6 +292,8 @@ class V1UserFeatures(object):
280
292
  self._multicloud_saas = None
281
293
  self._multiple_studio_versions = None
282
294
  self._nebius = None
295
+ self._nebius_cpu_studios = None
296
+ self._nebius_gpu_studios = None
283
297
  self._neocloud_studios = None
284
298
  self._nerf_fs_nonpaying = None
285
299
  self._org_level_member_permissions = None
@@ -299,6 +313,7 @@ class V1UserFeatures(object):
299
313
  self._project_selector = None
300
314
  self._publish_pipelines = None
301
315
  self._r2_data_connections = None
316
+ self._reserved_machines_tab = None
302
317
  self._restartable_jobs = None
303
318
  self._runnable_public_studio_page = None
304
319
  self._security_docs = None
@@ -308,17 +323,22 @@ class V1UserFeatures(object):
308
323
  self._slurm = None
309
324
  self._slurm_machine_selector = None
310
325
  self._stop_ide_container_on_shutdown = None
326
+ self._storage_overuse_deletion = None
311
327
  self._studio_config = None
312
328
  self._studio_version_visibility = None
313
329
  self._studios_dashboard = None
314
330
  self._studios_dashboard_system_metrics = None
315
331
  self._teamspace_storage_tab = None
316
332
  self._trainium2 = None
333
+ self._transfer_studios = None
317
334
  self._use_rclone_mounts_only = None
318
335
  self._voltage_park = None
336
+ self._voltage_park_studios = None
319
337
  self._vultr = None
320
338
  self._weka = None
321
339
  self.discriminator = None
340
+ if accurate_billing is not None:
341
+ self.accurate_billing = accurate_billing
322
342
  if affiliate_links is not None:
323
343
  self.affiliate_links = affiliate_links
324
344
  if agents_v2 is not None:
@@ -335,8 +355,8 @@ class V1UserFeatures(object):
335
355
  self.auto_top_up_teamspace = auto_top_up_teamspace
336
356
  if b2c_experience is not None:
337
357
  self.b2c_experience = b2c_experience
338
- if big_default_cpus is not None:
339
- self.big_default_cpus = big_default_cpus
358
+ if blog_route is not None:
359
+ self.blog_route = blog_route
340
360
  if byoc_litcr is not None:
341
361
  self.byoc_litcr = byoc_litcr
342
362
  if cap_add is not None:
@@ -393,22 +413,20 @@ class V1UserFeatures(object):
393
413
  self.filestore = filestore
394
414
  if gcs_folders is not None:
395
415
  self.gcs_folders = gcs_folders
396
- if inactive_notify_delete is not None:
397
- self.inactive_notify_delete = inactive_notify_delete
398
416
  if instant_capacity_reservation is not None:
399
417
  self.instant_capacity_reservation = instant_capacity_reservation
400
418
  if job_artifacts_v2 is not None:
401
419
  self.job_artifacts_v2 = job_artifacts_v2
402
420
  if lambda_labs is not None:
403
421
  self.lambda_labs = lambda_labs
422
+ if lambda_labs_studios is not None:
423
+ self.lambda_labs_studios = lambda_labs_studios
404
424
  if landing_studios is not None:
405
425
  self.landing_studios = landing_studios
406
426
  if lightning_cloud is not None:
407
427
  self.lightning_cloud = lightning_cloud
408
428
  if lit_logger is not None:
409
429
  self.lit_logger = lit_logger
410
- if manage_storage_costs is not None:
411
- self.manage_storage_costs = manage_storage_costs
412
430
  if marketplace is not None:
413
431
  self.marketplace = marketplace
414
432
  if mmt_fault_tolerance is not None:
@@ -423,6 +441,10 @@ class V1UserFeatures(object):
423
441
  self.multiple_studio_versions = multiple_studio_versions
424
442
  if nebius is not None:
425
443
  self.nebius = nebius
444
+ if nebius_cpu_studios is not None:
445
+ self.nebius_cpu_studios = nebius_cpu_studios
446
+ if nebius_gpu_studios is not None:
447
+ self.nebius_gpu_studios = nebius_gpu_studios
426
448
  if neocloud_studios is not None:
427
449
  self.neocloud_studios = neocloud_studios
428
450
  if nerf_fs_nonpaying is not None:
@@ -461,6 +483,8 @@ class V1UserFeatures(object):
461
483
  self.publish_pipelines = publish_pipelines
462
484
  if r2_data_connections is not None:
463
485
  self.r2_data_connections = r2_data_connections
486
+ if reserved_machines_tab is not None:
487
+ self.reserved_machines_tab = reserved_machines_tab
464
488
  if restartable_jobs is not None:
465
489
  self.restartable_jobs = restartable_jobs
466
490
  if runnable_public_studio_page is not None:
@@ -479,6 +503,8 @@ class V1UserFeatures(object):
479
503
  self.slurm_machine_selector = slurm_machine_selector
480
504
  if stop_ide_container_on_shutdown is not None:
481
505
  self.stop_ide_container_on_shutdown = stop_ide_container_on_shutdown
506
+ if storage_overuse_deletion is not None:
507
+ self.storage_overuse_deletion = storage_overuse_deletion
482
508
  if studio_config is not None:
483
509
  self.studio_config = studio_config
484
510
  if studio_version_visibility is not None:
@@ -491,15 +517,40 @@ class V1UserFeatures(object):
491
517
  self.teamspace_storage_tab = teamspace_storage_tab
492
518
  if trainium2 is not None:
493
519
  self.trainium2 = trainium2
520
+ if transfer_studios is not None:
521
+ self.transfer_studios = transfer_studios
494
522
  if use_rclone_mounts_only is not None:
495
523
  self.use_rclone_mounts_only = use_rclone_mounts_only
496
524
  if voltage_park is not None:
497
525
  self.voltage_park = voltage_park
526
+ if voltage_park_studios is not None:
527
+ self.voltage_park_studios = voltage_park_studios
498
528
  if vultr is not None:
499
529
  self.vultr = vultr
500
530
  if weka is not None:
501
531
  self.weka = weka
502
532
 
533
+ @property
534
+ def accurate_billing(self) -> 'bool':
535
+ """Gets the accurate_billing of this V1UserFeatures. # noqa: E501
536
+
537
+
538
+ :return: The accurate_billing of this V1UserFeatures. # noqa: E501
539
+ :rtype: bool
540
+ """
541
+ return self._accurate_billing
542
+
543
+ @accurate_billing.setter
544
+ def accurate_billing(self, accurate_billing: 'bool'):
545
+ """Sets the accurate_billing of this V1UserFeatures.
546
+
547
+
548
+ :param accurate_billing: The accurate_billing of this V1UserFeatures. # noqa: E501
549
+ :type: bool
550
+ """
551
+
552
+ self._accurate_billing = accurate_billing
553
+
503
554
  @property
504
555
  def affiliate_links(self) -> 'bool':
505
556
  """Gets the affiliate_links of this V1UserFeatures. # noqa: E501
@@ -669,25 +720,25 @@ class V1UserFeatures(object):
669
720
  self._b2c_experience = b2c_experience
670
721
 
671
722
  @property
672
- def big_default_cpus(self) -> 'bool':
673
- """Gets the big_default_cpus of this V1UserFeatures. # noqa: E501
723
+ def blog_route(self) -> 'bool':
724
+ """Gets the blog_route of this V1UserFeatures. # noqa: E501
674
725
 
675
726
 
676
- :return: The big_default_cpus of this V1UserFeatures. # noqa: E501
727
+ :return: The blog_route of this V1UserFeatures. # noqa: E501
677
728
  :rtype: bool
678
729
  """
679
- return self._big_default_cpus
730
+ return self._blog_route
680
731
 
681
- @big_default_cpus.setter
682
- def big_default_cpus(self, big_default_cpus: 'bool'):
683
- """Sets the big_default_cpus of this V1UserFeatures.
732
+ @blog_route.setter
733
+ def blog_route(self, blog_route: 'bool'):
734
+ """Sets the blog_route of this V1UserFeatures.
684
735
 
685
736
 
686
- :param big_default_cpus: The big_default_cpus of this V1UserFeatures. # noqa: E501
737
+ :param blog_route: The blog_route of this V1UserFeatures. # noqa: E501
687
738
  :type: bool
688
739
  """
689
740
 
690
- self._big_default_cpus = big_default_cpus
741
+ self._blog_route = blog_route
691
742
 
692
743
  @property
693
744
  def byoc_litcr(self) -> 'bool':
@@ -1277,27 +1328,6 @@ class V1UserFeatures(object):
1277
1328
 
1278
1329
  self._gcs_folders = gcs_folders
1279
1330
 
1280
- @property
1281
- def inactive_notify_delete(self) -> 'bool':
1282
- """Gets the inactive_notify_delete of this V1UserFeatures. # noqa: E501
1283
-
1284
-
1285
- :return: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1286
- :rtype: bool
1287
- """
1288
- return self._inactive_notify_delete
1289
-
1290
- @inactive_notify_delete.setter
1291
- def inactive_notify_delete(self, inactive_notify_delete: 'bool'):
1292
- """Sets the inactive_notify_delete of this V1UserFeatures.
1293
-
1294
-
1295
- :param inactive_notify_delete: The inactive_notify_delete of this V1UserFeatures. # noqa: E501
1296
- :type: bool
1297
- """
1298
-
1299
- self._inactive_notify_delete = inactive_notify_delete
1300
-
1301
1331
  @property
1302
1332
  def instant_capacity_reservation(self) -> 'bool':
1303
1333
  """Gets the instant_capacity_reservation of this V1UserFeatures. # noqa: E501
@@ -1361,6 +1391,27 @@ class V1UserFeatures(object):
1361
1391
 
1362
1392
  self._lambda_labs = lambda_labs
1363
1393
 
1394
+ @property
1395
+ def lambda_labs_studios(self) -> 'bool':
1396
+ """Gets the lambda_labs_studios of this V1UserFeatures. # noqa: E501
1397
+
1398
+
1399
+ :return: The lambda_labs_studios of this V1UserFeatures. # noqa: E501
1400
+ :rtype: bool
1401
+ """
1402
+ return self._lambda_labs_studios
1403
+
1404
+ @lambda_labs_studios.setter
1405
+ def lambda_labs_studios(self, lambda_labs_studios: 'bool'):
1406
+ """Sets the lambda_labs_studios of this V1UserFeatures.
1407
+
1408
+
1409
+ :param lambda_labs_studios: The lambda_labs_studios of this V1UserFeatures. # noqa: E501
1410
+ :type: bool
1411
+ """
1412
+
1413
+ self._lambda_labs_studios = lambda_labs_studios
1414
+
1364
1415
  @property
1365
1416
  def landing_studios(self) -> 'bool':
1366
1417
  """Gets the landing_studios of this V1UserFeatures. # noqa: E501
@@ -1424,27 +1475,6 @@ class V1UserFeatures(object):
1424
1475
 
1425
1476
  self._lit_logger = lit_logger
1426
1477
 
1427
- @property
1428
- def manage_storage_costs(self) -> 'bool':
1429
- """Gets the manage_storage_costs of this V1UserFeatures. # noqa: E501
1430
-
1431
-
1432
- :return: The manage_storage_costs of this V1UserFeatures. # noqa: E501
1433
- :rtype: bool
1434
- """
1435
- return self._manage_storage_costs
1436
-
1437
- @manage_storage_costs.setter
1438
- def manage_storage_costs(self, manage_storage_costs: 'bool'):
1439
- """Sets the manage_storage_costs of this V1UserFeatures.
1440
-
1441
-
1442
- :param manage_storage_costs: The manage_storage_costs of this V1UserFeatures. # noqa: E501
1443
- :type: bool
1444
- """
1445
-
1446
- self._manage_storage_costs = manage_storage_costs
1447
-
1448
1478
  @property
1449
1479
  def marketplace(self) -> 'bool':
1450
1480
  """Gets the marketplace of this V1UserFeatures. # noqa: E501
@@ -1592,6 +1622,48 @@ class V1UserFeatures(object):
1592
1622
 
1593
1623
  self._nebius = nebius
1594
1624
 
1625
+ @property
1626
+ def nebius_cpu_studios(self) -> 'bool':
1627
+ """Gets the nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1628
+
1629
+
1630
+ :return: The nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1631
+ :rtype: bool
1632
+ """
1633
+ return self._nebius_cpu_studios
1634
+
1635
+ @nebius_cpu_studios.setter
1636
+ def nebius_cpu_studios(self, nebius_cpu_studios: 'bool'):
1637
+ """Sets the nebius_cpu_studios of this V1UserFeatures.
1638
+
1639
+
1640
+ :param nebius_cpu_studios: The nebius_cpu_studios of this V1UserFeatures. # noqa: E501
1641
+ :type: bool
1642
+ """
1643
+
1644
+ self._nebius_cpu_studios = nebius_cpu_studios
1645
+
1646
+ @property
1647
+ def nebius_gpu_studios(self) -> 'bool':
1648
+ """Gets the nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1649
+
1650
+
1651
+ :return: The nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1652
+ :rtype: bool
1653
+ """
1654
+ return self._nebius_gpu_studios
1655
+
1656
+ @nebius_gpu_studios.setter
1657
+ def nebius_gpu_studios(self, nebius_gpu_studios: 'bool'):
1658
+ """Sets the nebius_gpu_studios of this V1UserFeatures.
1659
+
1660
+
1661
+ :param nebius_gpu_studios: The nebius_gpu_studios of this V1UserFeatures. # noqa: E501
1662
+ :type: bool
1663
+ """
1664
+
1665
+ self._nebius_gpu_studios = nebius_gpu_studios
1666
+
1595
1667
  @property
1596
1668
  def neocloud_studios(self) -> 'bool':
1597
1669
  """Gets the neocloud_studios of this V1UserFeatures. # noqa: E501
@@ -1991,6 +2063,27 @@ class V1UserFeatures(object):
1991
2063
 
1992
2064
  self._r2_data_connections = r2_data_connections
1993
2065
 
2066
+ @property
2067
+ def reserved_machines_tab(self) -> 'bool':
2068
+ """Gets the reserved_machines_tab of this V1UserFeatures. # noqa: E501
2069
+
2070
+
2071
+ :return: The reserved_machines_tab of this V1UserFeatures. # noqa: E501
2072
+ :rtype: bool
2073
+ """
2074
+ return self._reserved_machines_tab
2075
+
2076
+ @reserved_machines_tab.setter
2077
+ def reserved_machines_tab(self, reserved_machines_tab: 'bool'):
2078
+ """Sets the reserved_machines_tab of this V1UserFeatures.
2079
+
2080
+
2081
+ :param reserved_machines_tab: The reserved_machines_tab of this V1UserFeatures. # noqa: E501
2082
+ :type: bool
2083
+ """
2084
+
2085
+ self._reserved_machines_tab = reserved_machines_tab
2086
+
1994
2087
  @property
1995
2088
  def restartable_jobs(self) -> 'bool':
1996
2089
  """Gets the restartable_jobs of this V1UserFeatures. # noqa: E501
@@ -2180,6 +2273,27 @@ class V1UserFeatures(object):
2180
2273
 
2181
2274
  self._stop_ide_container_on_shutdown = stop_ide_container_on_shutdown
2182
2275
 
2276
+ @property
2277
+ def storage_overuse_deletion(self) -> 'bool':
2278
+ """Gets the storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2279
+
2280
+
2281
+ :return: The storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2282
+ :rtype: bool
2283
+ """
2284
+ return self._storage_overuse_deletion
2285
+
2286
+ @storage_overuse_deletion.setter
2287
+ def storage_overuse_deletion(self, storage_overuse_deletion: 'bool'):
2288
+ """Sets the storage_overuse_deletion of this V1UserFeatures.
2289
+
2290
+
2291
+ :param storage_overuse_deletion: The storage_overuse_deletion of this V1UserFeatures. # noqa: E501
2292
+ :type: bool
2293
+ """
2294
+
2295
+ self._storage_overuse_deletion = storage_overuse_deletion
2296
+
2183
2297
  @property
2184
2298
  def studio_config(self) -> 'bool':
2185
2299
  """Gets the studio_config of this V1UserFeatures. # noqa: E501
@@ -2306,6 +2420,27 @@ class V1UserFeatures(object):
2306
2420
 
2307
2421
  self._trainium2 = trainium2
2308
2422
 
2423
+ @property
2424
+ def transfer_studios(self) -> 'bool':
2425
+ """Gets the transfer_studios of this V1UserFeatures. # noqa: E501
2426
+
2427
+
2428
+ :return: The transfer_studios of this V1UserFeatures. # noqa: E501
2429
+ :rtype: bool
2430
+ """
2431
+ return self._transfer_studios
2432
+
2433
+ @transfer_studios.setter
2434
+ def transfer_studios(self, transfer_studios: 'bool'):
2435
+ """Sets the transfer_studios of this V1UserFeatures.
2436
+
2437
+
2438
+ :param transfer_studios: The transfer_studios of this V1UserFeatures. # noqa: E501
2439
+ :type: bool
2440
+ """
2441
+
2442
+ self._transfer_studios = transfer_studios
2443
+
2309
2444
  @property
2310
2445
  def use_rclone_mounts_only(self) -> 'bool':
2311
2446
  """Gets the use_rclone_mounts_only of this V1UserFeatures. # noqa: E501
@@ -2348,6 +2483,27 @@ class V1UserFeatures(object):
2348
2483
 
2349
2484
  self._voltage_park = voltage_park
2350
2485
 
2486
+ @property
2487
+ def voltage_park_studios(self) -> 'bool':
2488
+ """Gets the voltage_park_studios of this V1UserFeatures. # noqa: E501
2489
+
2490
+
2491
+ :return: The voltage_park_studios of this V1UserFeatures. # noqa: E501
2492
+ :rtype: bool
2493
+ """
2494
+ return self._voltage_park_studios
2495
+
2496
+ @voltage_park_studios.setter
2497
+ def voltage_park_studios(self, voltage_park_studios: 'bool'):
2498
+ """Sets the voltage_park_studios of this V1UserFeatures.
2499
+
2500
+
2501
+ :param voltage_park_studios: The voltage_park_studios of this V1UserFeatures. # noqa: E501
2502
+ :type: bool
2503
+ """
2504
+
2505
+ self._voltage_park_studios = voltage_park_studios
2506
+
2351
2507
  @property
2352
2508
  def vultr(self) -> 'bool':
2353
2509
  """Gets the vultr of this V1UserFeatures. # noqa: E501
lightning_sdk/llm/llm.py CHANGED
@@ -184,7 +184,6 @@ class LLM:
184
184
  metadata: Optional[Dict[str, str]] = None,
185
185
  stream: bool = False,
186
186
  upload_local_images: bool = False,
187
- internal_conversation: bool = False,
188
187
  ) -> Union[str, Generator[str, None, None]]:
189
188
  if conversation and conversation not in self._conversations:
190
189
  self._get_conversations()
@@ -210,7 +209,6 @@ class LLM:
210
209
  metadata=metadata,
211
210
  name=conversation,
212
211
  stream=stream,
213
- internal_conversation=internal_conversation,
214
212
  )
215
213
  if not stream:
216
214
  if conversation and not conversation_id:
lightning_sdk/serve.py CHANGED
@@ -299,6 +299,7 @@ Update [underline]{os.path.abspath("Dockerfile")}[/underline] to add any additio
299
299
  ports=[port],
300
300
  include_credentials=include_credentials,
301
301
  cloudspace_id=cloudspace_id,
302
+ from_litserve=True,
302
303
  from_onboarding=from_onboarding,
303
304
  command="",
304
305
  )