dstack 0.19.18__py3-none-any.whl → 0.19.20__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.

Potentially problematic release.


This version of dstack might be problematic. Click here for more details.

Files changed (74) hide show
  1. dstack/_internal/cli/services/configurators/fleet.py +99 -1
  2. dstack/_internal/cli/services/profile.py +1 -1
  3. dstack/_internal/core/backends/cloudrift/api_client.py +13 -1
  4. dstack/_internal/core/backends/oci/resources.py +5 -5
  5. dstack/_internal/core/compatibility/runs.py +12 -1
  6. dstack/_internal/core/compatibility/volumes.py +2 -0
  7. dstack/_internal/core/models/common.py +38 -2
  8. dstack/_internal/core/models/configurations.py +9 -1
  9. dstack/_internal/core/models/fleets.py +2 -1
  10. dstack/_internal/core/models/profiles.py +8 -5
  11. dstack/_internal/core/models/resources.py +15 -8
  12. dstack/_internal/core/models/runs.py +41 -138
  13. dstack/_internal/core/models/volumes.py +14 -0
  14. dstack/_internal/core/services/diff.py +30 -10
  15. dstack/_internal/core/services/ssh/attach.py +2 -0
  16. dstack/_internal/server/app.py +17 -9
  17. dstack/_internal/server/background/__init__.py +5 -3
  18. dstack/_internal/server/background/tasks/process_gateways.py +46 -28
  19. dstack/_internal/server/background/tasks/process_idle_volumes.py +139 -0
  20. dstack/_internal/server/background/tasks/process_submitted_jobs.py +2 -0
  21. dstack/_internal/server/migrations/versions/35e90e1b0d3e_add_rolling_deployment_fields.py +6 -6
  22. dstack/_internal/server/migrations/versions/d5863798bf41_add_volumemodel_last_job_processed_at.py +40 -0
  23. dstack/_internal/server/models.py +1 -0
  24. dstack/_internal/server/routers/backends.py +23 -16
  25. dstack/_internal/server/routers/files.py +7 -6
  26. dstack/_internal/server/routers/fleets.py +47 -36
  27. dstack/_internal/server/routers/gateways.py +27 -18
  28. dstack/_internal/server/routers/instances.py +18 -13
  29. dstack/_internal/server/routers/logs.py +7 -3
  30. dstack/_internal/server/routers/metrics.py +14 -8
  31. dstack/_internal/server/routers/projects.py +33 -22
  32. dstack/_internal/server/routers/repos.py +7 -6
  33. dstack/_internal/server/routers/runs.py +49 -28
  34. dstack/_internal/server/routers/secrets.py +20 -15
  35. dstack/_internal/server/routers/server.py +7 -4
  36. dstack/_internal/server/routers/users.py +22 -19
  37. dstack/_internal/server/routers/volumes.py +34 -25
  38. dstack/_internal/server/schemas/logs.py +3 -11
  39. dstack/_internal/server/schemas/runs.py +17 -5
  40. dstack/_internal/server/services/fleets.py +354 -72
  41. dstack/_internal/server/services/gateways/__init__.py +13 -4
  42. dstack/_internal/server/services/gateways/client.py +5 -3
  43. dstack/_internal/server/services/instances.py +8 -0
  44. dstack/_internal/server/services/jobs/__init__.py +45 -0
  45. dstack/_internal/server/services/jobs/configurators/base.py +7 -0
  46. dstack/_internal/server/services/locking.py +3 -1
  47. dstack/_internal/server/services/logging.py +4 -2
  48. dstack/_internal/server/services/logs/__init__.py +15 -2
  49. dstack/_internal/server/services/logs/aws.py +47 -7
  50. dstack/_internal/server/services/logs/filelog.py +148 -32
  51. dstack/_internal/server/services/logs/gcp.py +3 -5
  52. dstack/_internal/server/services/prometheus/custom_metrics.py +20 -0
  53. dstack/_internal/server/services/proxy/repo.py +4 -1
  54. dstack/_internal/server/services/runs.py +115 -32
  55. dstack/_internal/server/services/services/__init__.py +2 -1
  56. dstack/_internal/server/services/users.py +3 -1
  57. dstack/_internal/server/services/volumes.py +13 -0
  58. dstack/_internal/server/settings.py +7 -2
  59. dstack/_internal/server/statics/index.html +1 -1
  60. dstack/_internal/server/statics/{main-d1ac2e8c38ed5f08a114.js → main-39a767528976f8078166.js} +11 -30
  61. dstack/_internal/server/statics/{main-d1ac2e8c38ed5f08a114.js.map → main-39a767528976f8078166.js.map} +1 -1
  62. dstack/_internal/server/statics/{main-d58fc0460cb0eae7cb5c.css → main-8f9ee218d3eb45989682.css} +2 -2
  63. dstack/_internal/server/testing/common.py +41 -5
  64. dstack/_internal/server/utils/routers.py +31 -8
  65. dstack/_internal/utils/common.py +10 -21
  66. dstack/_internal/utils/json_utils.py +54 -0
  67. dstack/api/_public/runs.py +13 -2
  68. dstack/api/server/_runs.py +12 -2
  69. dstack/version.py +1 -1
  70. {dstack-0.19.18.dist-info → dstack-0.19.20.dist-info}/METADATA +7 -5
  71. {dstack-0.19.18.dist-info → dstack-0.19.20.dist-info}/RECORD +74 -71
  72. {dstack-0.19.18.dist-info → dstack-0.19.20.dist-info}/WHEEL +0 -0
  73. {dstack-0.19.18.dist-info → dstack-0.19.20.dist-info}/entry_points.txt +0 -0
  74. {dstack-0.19.18.dist-info → dstack-0.19.20.dist-info}/licenses/LICENSE.md +0 -0
@@ -24,6 +24,7 @@ from dstack._internal.core.models.instances import (
24
24
  )
25
25
  from dstack._internal.core.models.profiles import (
26
26
  CreationPolicy,
27
+ RetryEvent,
27
28
  )
28
29
  from dstack._internal.core.models.repos.virtual import DEFAULT_VIRTUAL_REPO_ID, VirtualRunRepoData
29
30
  from dstack._internal.core.models.runs import (
@@ -105,6 +106,8 @@ async def list_user_runs(
105
106
  repo_id: Optional[str],
106
107
  username: Optional[str],
107
108
  only_active: bool,
109
+ include_jobs: bool,
110
+ job_submissions_limit: Optional[int],
108
111
  prev_submitted_at: Optional[datetime],
109
112
  prev_run_id: Optional[uuid.UUID],
110
113
  limit: int,
@@ -148,7 +151,14 @@ async def list_user_runs(
148
151
  runs = []
149
152
  for r in run_models:
150
153
  try:
151
- runs.append(run_model_to_run(r, return_in_api=True))
154
+ runs.append(
155
+ run_model_to_run(
156
+ r,
157
+ return_in_api=True,
158
+ include_jobs=include_jobs,
159
+ job_submissions_limit=job_submissions_limit,
160
+ )
161
+ )
152
162
  except pydantic.ValidationError:
153
163
  pass
154
164
  if len(run_models) > len(runs):
@@ -652,51 +662,33 @@ async def delete_runs(
652
662
 
653
663
  def run_model_to_run(
654
664
  run_model: RunModel,
655
- include_job_submissions: bool = True,
665
+ include_jobs: bool = True,
666
+ job_submissions_limit: Optional[int] = None,
656
667
  return_in_api: bool = False,
657
668
  include_sensitive: bool = False,
658
669
  ) -> Run:
659
670
  jobs: List[Job] = []
660
- run_jobs = sorted(run_model.jobs, key=lambda j: (j.replica_num, j.job_num, j.submission_num))
661
- for replica_num, replica_submissions in itertools.groupby(
662
- run_jobs, key=lambda j: j.replica_num
663
- ):
664
- for job_num, job_submissions in itertools.groupby(
665
- replica_submissions, key=lambda j: j.job_num
666
- ):
667
- submissions = []
668
- job_model = None
669
- for job_model in job_submissions:
670
- if include_job_submissions:
671
- job_submission = job_model_to_job_submission(job_model)
672
- if return_in_api:
673
- # Set default non-None values for 0.18 backward-compatibility
674
- # Remove in 0.19
675
- if job_submission.job_provisioning_data is not None:
676
- if job_submission.job_provisioning_data.hostname is None:
677
- job_submission.job_provisioning_data.hostname = ""
678
- if job_submission.job_provisioning_data.ssh_port is None:
679
- job_submission.job_provisioning_data.ssh_port = 22
680
- submissions.append(job_submission)
681
- if job_model is not None:
682
- # Use the spec from the latest submission. Submissions can have different specs
683
- job_spec = JobSpec.__response__.parse_raw(job_model.job_spec_data)
684
- if not include_sensitive:
685
- _remove_job_spec_sensitive_info(job_spec)
686
- jobs.append(Job(job_spec=job_spec, job_submissions=submissions))
671
+ if include_jobs:
672
+ jobs = _get_run_jobs_with_submissions(
673
+ run_model=run_model,
674
+ job_submissions_limit=job_submissions_limit,
675
+ return_in_api=return_in_api,
676
+ include_sensitive=include_sensitive,
677
+ )
687
678
 
688
679
  run_spec = RunSpec.__response__.parse_raw(run_model.run_spec)
689
680
 
690
681
  latest_job_submission = None
691
- if include_job_submissions:
682
+ if len(jobs) > 0 and len(jobs[0].job_submissions) > 0:
692
683
  # TODO(egor-s): does it make sense with replicas and multi-node?
693
- if jobs:
694
- latest_job_submission = jobs[0].job_submissions[-1]
684
+ latest_job_submission = jobs[0].job_submissions[-1]
695
685
 
696
686
  service_spec = None
697
687
  if run_model.service_spec is not None:
698
688
  service_spec = ServiceSpec.__response__.parse_raw(run_model.service_spec)
699
689
 
690
+ status_message = _get_run_status_message(run_model)
691
+ error = _get_run_error(run_model)
700
692
  run = Run(
701
693
  id=run_model.id,
702
694
  project_name=run_model.project.name,
@@ -704,18 +696,107 @@ def run_model_to_run(
704
696
  submitted_at=run_model.submitted_at.replace(tzinfo=timezone.utc),
705
697
  last_processed_at=run_model.last_processed_at.replace(tzinfo=timezone.utc),
706
698
  status=run_model.status,
699
+ status_message=status_message,
707
700
  termination_reason=run_model.termination_reason,
708
701
  run_spec=run_spec,
709
702
  jobs=jobs,
710
703
  latest_job_submission=latest_job_submission,
711
704
  service=service_spec,
712
705
  deployment_num=run_model.deployment_num,
706
+ error=error,
713
707
  deleted=run_model.deleted,
714
708
  )
715
709
  run.cost = _get_run_cost(run)
716
710
  return run
717
711
 
718
712
 
713
+ def _get_run_jobs_with_submissions(
714
+ run_model: RunModel,
715
+ job_submissions_limit: Optional[int],
716
+ return_in_api: bool = False,
717
+ include_sensitive: bool = False,
718
+ ) -> List[Job]:
719
+ jobs: List[Job] = []
720
+ run_jobs = sorted(run_model.jobs, key=lambda j: (j.replica_num, j.job_num, j.submission_num))
721
+ for replica_num, replica_submissions in itertools.groupby(
722
+ run_jobs, key=lambda j: j.replica_num
723
+ ):
724
+ for job_num, job_models in itertools.groupby(replica_submissions, key=lambda j: j.job_num):
725
+ submissions = []
726
+ job_model = None
727
+ if job_submissions_limit is not None:
728
+ if job_submissions_limit == 0:
729
+ # Take latest job submission to return its job_spec
730
+ job_models = list(job_models)[-1:]
731
+ else:
732
+ job_models = list(job_models)[-job_submissions_limit:]
733
+ for job_model in job_models:
734
+ if job_submissions_limit != 0:
735
+ job_submission = job_model_to_job_submission(job_model)
736
+ if return_in_api:
737
+ # Set default non-None values for 0.18 backward-compatibility
738
+ # Remove in 0.19
739
+ if job_submission.job_provisioning_data is not None:
740
+ if job_submission.job_provisioning_data.hostname is None:
741
+ job_submission.job_provisioning_data.hostname = ""
742
+ if job_submission.job_provisioning_data.ssh_port is None:
743
+ job_submission.job_provisioning_data.ssh_port = 22
744
+ submissions.append(job_submission)
745
+ if job_model is not None:
746
+ # Use the spec from the latest submission. Submissions can have different specs
747
+ job_spec = JobSpec.__response__.parse_raw(job_model.job_spec_data)
748
+ if not include_sensitive:
749
+ _remove_job_spec_sensitive_info(job_spec)
750
+ jobs.append(Job(job_spec=job_spec, job_submissions=submissions))
751
+ return jobs
752
+
753
+
754
+ def _get_run_status_message(run_model: RunModel) -> str:
755
+ if len(run_model.jobs) == 0:
756
+ return run_model.status.value
757
+
758
+ sorted_job_models = sorted(
759
+ run_model.jobs, key=lambda j: (j.replica_num, j.job_num, j.submission_num)
760
+ )
761
+ job_models_grouped_by_job = list(
762
+ list(jm)
763
+ for _, jm in itertools.groupby(sorted_job_models, key=lambda j: (j.replica_num, j.job_num))
764
+ )
765
+
766
+ if all(job_models[-1].status == JobStatus.PULLING for job_models in job_models_grouped_by_job):
767
+ # Show `pulling`` if last job submission of all jobs is pulling
768
+ return "pulling"
769
+
770
+ if run_model.status in [RunStatus.SUBMITTED, RunStatus.PENDING]:
771
+ # Show `retrying` if any job caused the run to retry
772
+ for job_models in job_models_grouped_by_job:
773
+ last_job_spec = JobSpec.__response__.parse_raw(job_models[-1].job_spec_data)
774
+ retry_on_events = last_job_spec.retry.on_events if last_job_spec.retry else []
775
+ last_job_termination_reason = _get_last_job_termination_reason(job_models)
776
+ if (
777
+ last_job_termination_reason
778
+ == JobTerminationReason.FAILED_TO_START_DUE_TO_NO_CAPACITY
779
+ and RetryEvent.NO_CAPACITY in retry_on_events
780
+ ):
781
+ # TODO: Show `retrying` for other retry events
782
+ return "retrying"
783
+
784
+ return run_model.status.value
785
+
786
+
787
+ def _get_last_job_termination_reason(job_models: List[JobModel]) -> Optional[JobTerminationReason]:
788
+ for job_model in reversed(job_models):
789
+ if job_model.termination_reason is not None:
790
+ return job_model.termination_reason
791
+ return None
792
+
793
+
794
+ def _get_run_error(run_model: RunModel) -> Optional[str]:
795
+ if run_model.termination_reason is None:
796
+ return None
797
+ return run_model.termination_reason.to_error()
798
+
799
+
719
800
  async def _get_pool_offers(
720
801
  session: AsyncSession,
721
802
  project: ProjectModel,
@@ -914,6 +995,8 @@ _TYPE_SPECIFIC_CONF_UPDATABLE_FIELDS = {
914
995
  "replicas",
915
996
  "scaling",
916
997
  # rolling deployment
998
+ # NOTE: keep this list in sync with the "Rolling deployment" section in services.md
999
+ "port",
917
1000
  "resources",
918
1001
  "volumes",
919
1002
  "docker",
@@ -22,7 +22,7 @@ from dstack._internal.core.errors import (
22
22
  from dstack._internal.core.models.configurations import SERVICE_HTTPS_DEFAULT, ServiceConfiguration
23
23
  from dstack._internal.core.models.gateways import GatewayConfiguration, GatewayStatus
24
24
  from dstack._internal.core.models.instances import SSHConnectionParams
25
- from dstack._internal.core.models.runs import Run, RunSpec, ServiceModelSpec, ServiceSpec
25
+ from dstack._internal.core.models.runs import JobSpec, Run, RunSpec, ServiceModelSpec, ServiceSpec
26
26
  from dstack._internal.server import settings
27
27
  from dstack._internal.server.models import GatewayModel, JobModel, ProjectModel, RunModel
28
28
  from dstack._internal.server.services.gateways import (
@@ -179,6 +179,7 @@ async def register_replica(
179
179
  async with conn.client() as client:
180
180
  await client.register_replica(
181
181
  run=run,
182
+ job_spec=JobSpec.__response__.parse_raw(job_model.job_spec_data),
182
183
  job_submission=job_submission,
183
184
  ssh_head_proxy=ssh_head_proxy,
184
185
  ssh_head_proxy_private_key=ssh_head_proxy_private_key,
@@ -44,7 +44,9 @@ async def list_users_for_user(
44
44
  session: AsyncSession,
45
45
  user: UserModel,
46
46
  ) -> List[User]:
47
- return await list_all_users(session=session)
47
+ if user.global_role == GlobalRole.ADMIN:
48
+ return await list_all_users(session=session)
49
+ return [user_model_to_user(user)]
48
50
 
49
51
 
50
52
  async def list_all_users(
@@ -401,6 +401,19 @@ def _validate_volume_configuration(configuration: VolumeConfiguration):
401
401
  if configuration.name is not None:
402
402
  validate_dstack_resource_name(configuration.name)
403
403
 
404
+ if configuration.volume_id is not None and configuration.auto_cleanup_duration is not None:
405
+ if (
406
+ isinstance(configuration.auto_cleanup_duration, int)
407
+ and configuration.auto_cleanup_duration > 0
408
+ ) or (
409
+ isinstance(configuration.auto_cleanup_duration, str)
410
+ and configuration.auto_cleanup_duration not in ("off", "-1")
411
+ ):
412
+ raise ServerClientError(
413
+ "External volumes (with volume_id) do not support auto_cleanup_duration. "
414
+ "Auto-cleanup only works for volumes created and managed by dstack."
415
+ )
416
+
404
417
 
405
418
  async def _delete_volume(session: AsyncSession, project: ProjectModel, volume_model: VolumeModel):
406
419
  volume = volume_model_to_volume(volume_model)
@@ -42,6 +42,11 @@ SERVER_BACKGROUND_PROCESSING_FACTOR = int(
42
42
  os.getenv("DSTACK_SERVER_BACKGROUND_PROCESSING_FACTOR", 1)
43
43
  )
44
44
 
45
+ SERVER_BACKGROUND_PROCESSING_DISABLED = (
46
+ os.getenv("DSTACK_SERVER_BACKGROUND_PROCESSING_DISABLED") is not None
47
+ )
48
+ SERVER_BACKGROUND_PROCESSING_ENABLED = not SERVER_BACKGROUND_PROCESSING_DISABLED
49
+
45
50
  SERVER_EXECUTOR_MAX_WORKERS = int(os.getenv("DSTACK_SERVER_EXECUTOR_MAX_WORKERS", 128))
46
51
 
47
52
  MAX_OFFERS_TRIED = int(os.getenv("DSTACK_SERVER_MAX_OFFERS_TRIED", 25))
@@ -113,5 +118,5 @@ SERVER_PROFILING_ENABLED = os.getenv("DSTACK_SERVER_PROFILING_ENABLED") is not N
113
118
 
114
119
  UPDATE_DEFAULT_PROJECT = os.getenv("DSTACK_UPDATE_DEFAULT_PROJECT") is not None
115
120
  DO_NOT_UPDATE_DEFAULT_PROJECT = os.getenv("DSTACK_DO_NOT_UPDATE_DEFAULT_PROJECT") is not None
116
- SKIP_GATEWAY_UPDATE = os.getenv("DSTACK_SKIP_GATEWAY_UPDATE", None) is not None
117
- ENABLE_PROMETHEUS_METRICS = os.getenv("DSTACK_ENABLE_PROMETHEUS_METRICS", None) is not None
121
+ SKIP_GATEWAY_UPDATE = os.getenv("DSTACK_SKIP_GATEWAY_UPDATE") is not None
122
+ ENABLE_PROMETHEUS_METRICS = os.getenv("DSTACK_ENABLE_PROMETHEUS_METRICS") is not None
@@ -1,3 +1,3 @@
1
1
  <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>dstack</title><meta name="description" content="Get GPUs at the best prices and availability from a wide range of providers. No cloud account of your own is required.
2
2
  "/><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet"><meta name="og:title" content="dstack"><meta name="og:type" content="article"><meta name="og:image" content="/splash_thumbnail.png"><meta name="og:description" content="Get GPUs at the best prices and availability from a wide range of providers. No cloud account of your own is required.
3
- "><link rel="icon" type="image/x-icon" href="/assets/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="48x48" href="/assets/favicon-48x48.png"><link rel="manifest" href="/assets/manifest.webmanifest"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#fff"><meta name="application-name" content="dstackai"><link rel="apple-touch-icon" sizes="57x57" href="/assets/apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/assets/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/assets/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/assets/apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/assets/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/assets/apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/assets/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="167x167" href="/assets/apple-touch-icon-167x167.png"><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="1024x1024" href="/assets/apple-touch-icon-1024x1024.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="dstackai"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-640x1136.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1136x640.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-750x1334.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1334x750.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1125x2436.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2436x1125.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1170x2532.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2532x1170.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1179x2556.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2556x1179.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-828x1792.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1792x828.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1242x2688.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2688x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1242x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2208x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1284x2778.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2778x1284.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1290x2796.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2796x1290.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1488x2266.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2266x1488.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1536x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2048x1536.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1620x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2160x1620.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1640x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2160x1640.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1668x2388.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2388x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1668x2224.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2224x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-2048x2732.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2732x2048.png"><meta name="msapplication-TileColor" content="#fff"><meta name="msapplication-TileImage" content="/assets/mstile-144x144.png"><meta name="msapplication-config" content="/assets/browserconfig.xml"><link rel="yandex-tableau-widget" href="/assets/yandex-browser-manifest.json"><script defer="defer" src="/main-d1ac2e8c38ed5f08a114.js"></script><link href="/main-d58fc0460cb0eae7cb5c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="b-page-header" id="header"></div><div id="root"></div></body></html>
3
+ "><link rel="icon" type="image/x-icon" href="/assets/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="48x48" href="/assets/favicon-48x48.png"><link rel="manifest" href="/assets/manifest.webmanifest"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#fff"><meta name="application-name" content="dstackai"><link rel="apple-touch-icon" sizes="57x57" href="/assets/apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="/assets/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="/assets/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="/assets/apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="/assets/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="/assets/apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="/assets/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="167x167" href="/assets/apple-touch-icon-167x167.png"><link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="1024x1024" href="/assets/apple-touch-icon-1024x1024.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="dstackai"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-640x1136.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1136x640.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-750x1334.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1334x750.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1125x2436.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2436x1125.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1170x2532.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2532x1170.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1179x2556.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2556x1179.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-828x1792.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-1792x828.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1242x2688.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2688x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1242x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2208x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1284x2778.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2778x1284.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1290x2796.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2796x1290.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1488x2266.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2266x1488.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1536x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2048x1536.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1620x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2160x1620.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1640x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2160x1640.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1668x2388.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2388x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-1668x2224.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2224x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/assets/apple-touch-startup-image-2048x2732.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/assets/apple-touch-startup-image-2732x2048.png"><meta name="msapplication-TileColor" content="#fff"><meta name="msapplication-TileImage" content="/assets/mstile-144x144.png"><meta name="msapplication-config" content="/assets/browserconfig.xml"><link rel="yandex-tableau-widget" href="/assets/yandex-browser-manifest.json"><script defer="defer" src="/main-39a767528976f8078166.js"></script><link href="/main-8f9ee218d3eb45989682.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="b-page-header" id="header"></div><div id="root"></div></body></html>