Skip to content

Commit a2b13a0

Browse files
[Examples] Renamed some example groups for better extensibility (#2641)
- [x] Renamed `Distributed training` to `Clusters` - [x] Renamed `Deployment` to `Inference` - [x] Renamed `Monitoring` to `Metrics`. - [x] Added redirects
1 parent 10ed8e7 commit a2b13a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+104
-172
lines changed

docs/assets/stylesheets/extra.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ body {
790790
display: flex;
791791
}
792792

793+
/* Comment to siwtch to sections in sidebar */
793794
.md-sidebar__inner > .md-nav--primary > .md-nav__list:not(.md-post__meta) > .md-nav__item > .md-nav > .md-nav__list > .md-nav__item:not(.md-nav__item--section) {
794795
display: none;
795796
}
@@ -861,7 +862,7 @@ body {
861862
}
862863

863864
.md-sidebar--primary .md-nav__link, .md-sidebar--post .md-nav__link {
864-
padding: 5px 15px 5px;
865+
padding: 5px 15px 4px;
865866
margin-top: 0;
866867
}
867868

docs/blog/posts/amd-on-runpod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ you can now specify an AMD GPU under `resources`. Below are a few examples.
4242
Here's an example of a [service](../../docs/concepts/services.md) that deploys
4343
Llama 3.1 70B in FP16 using [TGI :material-arrow-top-right-thin:{ .external }](https://huggingface.co/docs/text-generation-inference/en/installation_amd){:target="_blank"}.
4444

45-
<div editor-title="examples/deployment/tgi/amd/service.dstack.yml">
45+
<div editor-title="examples/inference/tgi/amd/service.dstack.yml">
4646

4747
```yaml
4848
type: service

docs/blog/posts/beyond-kubernetes-2024-recap-and-whats-ahead.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ efficient manner.
110110

111111
### NVIDIA
112112

113-
NVIDIA remains the top accelerator supported by `dstack`. Recently, we introduced a [NIM example](../../examples/deployment/nim/index.md)
113+
NVIDIA remains the top accelerator supported by `dstack`. Recently, we introduced a [NIM example](../../examples/inference/nim/index.md)
114114
for model deployment, and we continue to enhance support for the rest of NVIDIA's ecosystem.
115115

116116
### AMD

docs/blog/posts/dstack-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ image: https://dstack.ai/static-assets/static-assets/images/dstack-stats-v2.png
77
categories:
88
- AMD
99
- NVIDIA
10-
- Monitoring
10+
- Metrics
1111
---
1212

1313
# Monitoring essential GPU metrics via CLI

docs/blog/posts/metrics-ui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "TBA"
55
slug: metrics-ui
66
image: https://dstack.ai/static-assets/static-assets/images/dstack-metrics-ui-v3-min.png
77
categories:
8-
- Monitoring
8+
- Metrics
99
- AMD
1010
- NVIDIA
1111
---
@@ -55,6 +55,6 @@ For persistent storage and long-term access to metrics, we still recommend setti
5555
metrics from `dstack`.
5656

5757
!!! info "What's next?"
58-
1. See [Monitoring](../../docs/guides/monitoring.md)
58+
1. See [Metrics](../../docs/guides/metrics.md)
5959
2. Check [dev environments](../../docs/concepts/dev-environments.md), [tasks](../../docs/concepts/tasks.md), [services](../../docs/concepts/services.md), and [fleets](../../docs/concepts/fleets.md)
6060
3. Join [Discord :material-arrow-top-right-thin:{ .external }](https://discord.gg/u8SmfwPpMd){:target="_blank"}

docs/blog/posts/mpi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ as well as use MPI for other tasks.
101101
102102
!!! info "What's next?"
103103
1. Learn more about [dev environments](../../docs/concepts/dev-environments.md), [tasks](../../docs/concepts/tasks.md), [services](../../docs/concepts/services.md), and [fleets](../../docs/concepts/fleets.md)
104-
2. Check the [NCCL tests](../../examples/distributed-training/nccl-tests/index.md) example
104+
2. Check the [NCCL tests](../../examples/clusters/nccl-tests/index.md) example
105105
2. Join [Discord :material-arrow-top-right-thin:{ .external }](https://discord.gg/u8SmfwPpMd){:target="_blank"}

docs/blog/posts/prometheus.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "TBA"
55
slug: prometheus
66
image: https://dstack.ai/static-assets/static-assets/images/dstack-prometheus-v3.png
77
categories:
8-
- Monitoring
8+
- Metrics
99
- NVIDIA
1010
---
1111

@@ -46,7 +46,7 @@ Overall, `dstack` collects three groups of metrics:
4646
| **Runs** | Run metrics include run counters for each user in each project. |
4747
| **Jobs** | A run consists of one or more jobs, each mapped to a container. Job metrics offer insights into execution time, cost, GPU model, NVIDIA DCGM telemetry, and more. |
4848

49-
For a full list of available metrics and labels, check out [Monitoring](../../docs/guides/monitoring.md).
49+
For a full list of available metrics and labels, check out [Metrics](../../docs/guides/metrics.md).
5050

5151
??? info "NVIDIA"
5252
NVIDIA DCGM metrics are automatically collected for `aws`, `azure`, `gcp`, and `oci` backends,
@@ -60,7 +60,7 @@ For a full list of available metrics and labels, check out [Monitoring](../../do
6060
only accessible through the UI and the [`dstack metrics`](dstack-metrics.md) CLI.
6161

6262
!!! info "What's next?"
63-
1. See [Metrics](../../docs/guides/monitoring.md)
63+
1. See [Metrics](../../docs/guides/metrics.md)
6464
1. Check [dev environments](../../docs/concepts/dev-environments.md),
6565
[tasks](../../docs/concepts/tasks.md), [services](../../docs/concepts/services.md),
6666
and [fleets](../../docs/concepts/fleets.md)

docs/blog/posts/tpu-on-gcp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ and [vLLM :material-arrow-top-right-thin:{ .external }](https://github.com/vllm-
5050

5151
=== "Optimum TPU"
5252

53-
<div editor-title="examples/deployment/optimum-tpu/service.dstack.yml">
53+
<div editor-title="examples/inference/optimum-tpu/service.dstack.yml">
5454

5555
```yaml
5656
type: service
@@ -83,7 +83,7 @@ and [vLLM :material-arrow-top-right-thin:{ .external }](https://github.com/vllm-
8383
the official Docker image can be used instead of `dstackai/optimum-tpu:llama31`.
8484

8585
=== "vLLM"
86-
<div editor-title="examples/deployment/vllm/service-tpu.dstack.yml">
86+
<div editor-title="examples/inference/vllm/service-tpu.dstack.yml">
8787

8888
```yaml
8989
type: service

docs/changelog/index.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docs/concepts/gateways.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ To delete a gateway, pass the gateway configuration to [`dstack delete`](../refe
7171
<div class="termy">
7272

7373
```shell
74-
$ dstack delete -f examples/deployment/gateway.dstack.yml
74+
$ dstack delete -f examples/inference/gateway.dstack.yml
7575
```
7676

7777
</div>

0 commit comments

Comments
 (0)