From 914ba85c608023cb19ef53bb06965e2e2ea21e8f Mon Sep 17 00:00:00 2001 From: peterschmidt85 Date: Thu, 22 Feb 2024 11:18:12 +0100 Subject: [PATCH] - [Docs] Replaced `dstack Cloud` with `dstack Sky` --- docs/docs/concepts/services.md | 2 +- docs/docs/index.md | 2 +- docs/docs/quickstart.md | 4 ++-- docs/examples/infinity.md | 2 +- docs/examples/mixtral.md | 2 +- docs/examples/ollama.md | 2 +- docs/examples/sdxl.md | 2 +- docs/examples/tei.md | 2 +- docs/examples/tgi.md | 2 +- docs/examples/vllm.md | 2 +- docs/overrides/home.html | 8 ++++---- src/dstack/_internal/core/models/backends/base.py | 2 +- src/dstack/_internal/server/services/gateways/__init__.py | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/docs/concepts/services.md b/docs/docs/concepts/services.md index 73461cce7..c9d7ddd52 100644 --- a/docs/docs/concepts/services.md +++ b/docs/docs/concepts/services.md @@ -39,7 +39,7 @@ it's possible to offer the model via the OpenAI-compatible interface. In case your service has the [model mapping](#model-mapping) configured, `dstack` will automatically make your model available at `https://gateway.` via the OpenAI-compatible interface. - If you're using the cloud version of `dstack`, the gateway is set up for you. + If you're using [dstack Sky](https://sky.dstack.ai), the gateway is set up for you. ## Define a configuration diff --git a/docs/docs/index.md b/docs/docs/index.md index 916733003..65979d58f 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -13,7 +13,7 @@ as well as on-premises servers. ### How does it work? -1. [Install](installation/index.md) the open-source server and configure backends (or sign up with the cloud version) +1. [Install](installation/index.md) the open-source server and configure backends (or sign up with the dstack Sky) 2. Define configurations such as dev environments, tasks, and services. 3. Run configurations via the CLI or API. The `dstack` server automatically provisions cloud resources, handles containers, logs, network, and everything else. diff --git a/docs/docs/quickstart.md b/docs/docs/quickstart.md index faff29c22..d8b81eadf 100644 --- a/docs/docs/quickstart.md +++ b/docs/docs/quickstart.md @@ -3,9 +3,9 @@ ??? info "Set up the CLI" To use the open-source version, make sure to [install the server](installation/index.md) and configure backends. - To use the cloud version, install the CLI and run the `dstack config` command: + If you're using [dstack Sky](https://sky.dstack.ai), install the CLI and run the `dstack config` command: - ![](../../assets/images/dstack-cloud-config.png){ width=800 } + ![](../assets/images/dstack-cloud-config.png){ width=800 } Once the CLI is set up, follow the quickstart. diff --git a/docs/examples/infinity.md b/docs/examples/infinity.md index 63ff714d0..9922afa23 100644 --- a/docs/examples/infinity.md +++ b/docs/examples/infinity.md @@ -30,7 +30,7 @@ resources: !!! warning "Gateway" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you.
diff --git a/docs/examples/mixtral.md b/docs/examples/mixtral.md index 3a5ed3e8b..f8e694f61 100644 --- a/docs/examples/mixtral.md +++ b/docs/examples/mixtral.md @@ -103,7 +103,7 @@ Below are multiple variants: via vLLM (`fp16`), TGI (`fp16`), or TGI (`int4`). !!! warning "Prerequisites" Before running a service, make sure to set up a [gateway](../docs/concepts/services.md#set-up-a-gateway). - However, it's not required when using dstack Cloud, as it's set up automatically. + However, it's not required when using dstack Sky, as it's set up automatically. [//]: # ( Also, make sure to adjust the `--tensor-parallel-size` and `--num-shard` parameters in the YAML configuration to align) [//]: # ( with the number of GPUs used.) diff --git a/docs/examples/ollama.md b/docs/examples/ollama.md index 679db9365..833b02b4e 100644 --- a/docs/examples/ollama.md +++ b/docs/examples/ollama.md @@ -36,7 +36,7 @@ model: !!! warning "Gateway" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you.
diff --git a/docs/examples/sdxl.md b/docs/examples/sdxl.md index e63201828..d382eabc9 100644 --- a/docs/examples/sdxl.md +++ b/docs/examples/sdxl.md @@ -192,7 +192,7 @@ resources: !!! warning "NOTE:" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you. After the gateway is configured, go ahead run the service. diff --git a/docs/examples/tei.md b/docs/examples/tei.md index 845ccb2e2..1ae99785d 100644 --- a/docs/examples/tei.md +++ b/docs/examples/tei.md @@ -29,7 +29,7 @@ resources: !!! warning "Gateway" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you.
diff --git a/docs/examples/tgi.md b/docs/examples/tgi.md index d47cebce4..20df3000f 100644 --- a/docs/examples/tgi.md +++ b/docs/examples/tgi.md @@ -39,7 +39,7 @@ model: !!! warning "Gateway" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you.
diff --git a/docs/examples/vllm.md b/docs/examples/vllm.md index 0405259bc..977347d22 100644 --- a/docs/examples/vllm.md +++ b/docs/examples/vllm.md @@ -35,7 +35,7 @@ model: !!! warning "Gateway" Before running a service, ensure that you have configured a [gateway](../docs/concepts/services.md#set-up-a-gateway). - If you're using dstack Cloud, the default gateway is configured automatically for you. + If you're using [dstack Sky](https://sky.dstack.ai), the default gateway is configured automatically for you.
diff --git a/docs/overrides/home.html b/docs/overrides/home.html index 400e8bb0c..0d770a171 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -444,7 +444,7 @@

Get started in a minute

-
dstack Cloud
+
dstack Sky
Access GPUs from a wide range of providers, ensuring the best price and availability.
@@ -519,7 +519,7 @@

FAQ

- What is the difference between the open-source version and dstack Cloud? + What is the difference between the open-source version and dstack Sky?
@@ -532,9 +532,9 @@

FAQ

- dstack Cloud is a fully managed service that enables you to run workloads across multiple cloud + dstack Sky is a fully managed service that enables you to run workloads across multiple cloud providers, guaranteeing optimal GPU pricing and availability. You don't need individual - accounts with each provider – dstack Cloud manages everything for you. + accounts with each provider – dstack Sky manages everything for you.

diff --git a/src/dstack/_internal/core/models/backends/base.py b/src/dstack/_internal/core/models/backends/base.py index 47286e6ef..898b6e4ce 100644 --- a/src/dstack/_internal/core/models/backends/base.py +++ b/src/dstack/_internal/core/models/backends/base.py @@ -9,7 +9,7 @@ class BackendType(str, enum.Enum): Attributes: AWS (BackendType): Amazon Web Services AZURE (BackendType): Microsoft Azure - DSTACK (BackendType): dstack Cloud + DSTACK (BackendType): dstack Sky GCP (BackendType): Google Cloud Platform DATACRUNCH (BackendType): DataCrunch KUBERNETES (BackendType): Kubernetes diff --git a/src/dstack/_internal/server/services/gateways/__init__.py b/src/dstack/_internal/server/services/gateways/__init__.py index 18915131e..56c601c3d 100644 --- a/src/dstack/_internal/server/services/gateways/__init__.py +++ b/src/dstack/_internal/server/services/gateways/__init__.py @@ -192,7 +192,7 @@ async def set_gateway_wildcard_domain( if gateway is None: raise ResourceNotExistsError() if gateway.backend.type == BackendType.DSTACK: - raise ServerClientError("Custom domains for dstack Cloud gateway are not supported") + raise ServerClientError("Custom domains for dstack Sky gateway are not supported") await session.execute( update(GatewayModel) .where(