Skip to content

Commit

Permalink
Introduce the Providers page (#1653)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschmidt85 authored Sep 2, 2024
1 parent b318697 commit a740a0a
Show file tree
Hide file tree
Showing 21 changed files with 471 additions and 315 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@

</div>

`dstack` is a lightweight alternative to Kubernetes, designed specifically for managing the development, training, and
deployment of AI models at any scale.
`dstack` is a lightweight alternative to Kubernetes built for AI. It simplifies container orchestration for AI across
in the cloud and on-prem, accelerating the development, training, and deployment of AI models at any scale.

`dstack` is easy to use with any cloud provider (AWS, GCP, Azure, OCI, Lambda, TensorDock, Vast.ai, RunPod, etc.) or
any on-prem clusters.

If you already use Kubernetes, `dstack` can be used with it.
`dstack` supports [on-prem](https://dstack.ai/docs/concepts/fleets#on-prem) servers and natively integrates with a variety of [providers](https://dstack.ai/providers).

#### Accelerators

Expand All @@ -45,7 +42,7 @@ create the [`~/.dstack/server/config.yml`](https://dstack.ai/docs/reference/serv

### 2. Start the server

Once the `~/.dstack/server/config.yml` file is configured, proceed to start the server:
Once backends are configured, proceed to start the server:

<div class="termy">

Expand Down Expand Up @@ -116,7 +113,7 @@ For additional information and examples, see the following links:

* [Docs](https://dstack.ai/docs)
* [Examples](https://dstack.ai/examples)
* [Changelog](https://github.com/dstackai/dstack/releases)
* [Providers](https://dstack.ai/providers)
* [Discord](https://discord.gg/u8SmfwPpMd)

## Contributing
Expand Down
3 changes: 1 addition & 2 deletions docs/assets/images/kubernetes-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/images/oci-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/images/ssh-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 59 additions & 20 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@media screen and (min-width: 76.1875em) {
.md-header {
backdrop-filter: blur(5px);
background-color: rgba(255, 255, 255, 0.6);
background-color: rgba(255, 255, 255, 0);
border-bottom: 0.5px dotted rgba(0, 0, 0, 0.4);
padding-bottom: 2px;
}

[dir=ltr] .md-header__source {
Expand Down Expand Up @@ -188,7 +190,7 @@
margin-left: 1px !important;
font-weight: 700;
font-size: 20px;
padding-top: 2px;
/*padding-top: 2px;*/
}

@media screen and (min-width: 76.1875em) {
Expand Down Expand Up @@ -246,10 +248,10 @@
}

.md-nav--secondary {
border: 1px solid black;
border: 0.5px dotted black;
padding: 20px 5px;
margin-top: 20px;
border-radius: 12px;
border-radius: 3px;
}

.md-nav--secondary .md-nav__title {
Expand Down Expand Up @@ -375,7 +377,7 @@
/*}*/

.md-nav__link {
margin-top: .6em;
margin-top: .5em;
}

.md-nav__link:hover {
Expand Down Expand Up @@ -462,7 +464,7 @@ h4.doc-heading {
}

.md-typeset .highlight pre > code:before, .md-typeset div[editor-title] pre > code:before {
content: '';
content: '';
position: absolute;
top: 15px;
left: 15px;
Expand All @@ -475,7 +477,7 @@ h4.doc-heading {
/*-webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;*/
/* box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;*/
-webkit-box-shadow: 20px 0 0 #f4c025, 40px 0 0 #3ec930;
box-shadow: 20px 0 0 #f4c025, 40px 0 0 #3ec930;
box-shadow: 20px 0 0 #f4c025, 40px 0 0 #3ec930;
}

@media screen and (min-width: 60em) {
Expand Down Expand Up @@ -690,6 +692,10 @@ body {
opacity: 1;
}

.md-main__inner {
margin-top: 1.25em;
}

.md-sidebar__inner {
margin: 0 0 30px;
}
Expand All @@ -700,6 +706,17 @@ body {
display: none;
}

.md-sidebar--primary .md-nav__item--section.md-nav__item .md-nav__link {
margin-left: 2px;
}

.md-sidebar--primary .md-nav__item--section.md-nav__item .md-nav__link--active {
border-left: 2px solid var(--md-typeset-a-color);
color: inherit;
margin-left: -2px;
border-image: linear-gradient(8deg, #0048ff, #ce00ff, #ce00ff, #ce00ff) 10;
}

.md-sidebar--primary .md-nav__item--section.md-nav__item .md-nav__link {
display: flex;
}
Expand All @@ -709,12 +726,14 @@ body {
}

.md-nav__item--section > .md-nav__link {
text-transform: uppercase;
/*text-transform: uppercase;*/
display: inline-block;
font-size: 0.75rem;
font-weight: 800;
font-size: 17px;
font-weight: 700;
line-height: 1.4rem;
letter-spacing: -0.5px;
position: relative;
left: -11px;
}

.md-nav__item--section>.md-nav__link[for] {
Expand Down Expand Up @@ -765,7 +784,7 @@ body {

.md-sidebar--primary .md-nav__link {
padding: 3px 15px 4px;
margin-top: 5px;
margin-top: 4px;
}

.md-sidebar--secondary .md-nav__link {
Expand All @@ -791,6 +810,7 @@ body {
.md-sidebar--secondary .md-nav__item .md-nav__link--active {
border-left: 2px solid var(--md-typeset-a-color);
color: inherit;
border-image: linear-gradient(8deg, #0048ff, #ce00ff, #ce00ff, #ce00ff) 10;
}

.md-nav__item .md-nav__link--active, .md-nav__item .md-nav__link--active:hover {
Expand Down Expand Up @@ -1034,7 +1054,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
background: -webkit-linear-gradient(45deg, rgba(0, 42, 255, 0.025), rgb(0 114 255 / 0.25%), rgba(0, 42, 255, 0.0125));
z-index: 1;
border-radius: 12px;
border: 1px solid rgba(0,0,0,.25);
border: 0.5px solid rgba(0,0,0, 0.5);
overflow: unset;
}

Expand Down Expand Up @@ -1133,10 +1153,27 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
border-bottom: none;
}

.md-tabs{
overflow: visible;
contain: none;
}

.md-tabs__item--active .md-tabs__link:after {
position: absolute;
background: -webkit-linear-gradient(100deg, #0048ff, #ce00ff);
content: "";
width: 100%;
z-index: 1000;
height: 1.5px;
bottom: -2px;
border-radius: 2px;
}

.md-tabs[hidden] .md-tabs__link {
opacity: inherit;
transform: inherit;
transition: inherit;
position: relative;
}

.md-tabs[hidden] {
Expand All @@ -1149,13 +1186,15 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {

[dir=ltr] .md-tabs__list {
display: flex;
overflow: visible;
contain: none;
}

.md-tabs__item {
display: flex;
height: 2.9rem;
height: 2.8rem;
padding-left: 0;
padding-right: 20px;
padding-right: 22px;
}

.md-tabs__item:nth-child(1) {
Expand All @@ -1174,7 +1213,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
visibility: hidden;
width: 35px;
display: inline-block;
margin-top: 18px;
margin-top: 15px;
}

.md-tabs__item:nth-child(n+6) .md-tabs__link:before {
Expand All @@ -1184,7 +1223,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
visibility: visible;
}

.md-tabs__item:nth-child(5) .md-tabs__link:after, .md-tabs__item:nth-child(8) .md-tabs__link:after {
.md-tabs__item:nth-child(8) .md-tabs__link:after {
content: url('data:image/svg+xml,<svg fill="black" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 16 16"><polygon points="5 4.31 5 5.69 9.33 5.69 2.51 12.51 3.49 13.49 10.31 6.67 10.31 11 11.69 11 11.69 4.31 5 4.31" data-v-e1bdab2c=""></polygon></svg>');
line-height: 14px;
margin-left: 4px;
Expand Down Expand Up @@ -1243,11 +1282,11 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
}

.md-tabs__link {
font-size: 0.95rem;
font-size: 0.9rem;
font-weight: 600;
color: black;
letter-spacing: -0.5px;
margin-top: 7px;
margin-top: 2px;
line-height: 24px;
}

Expand Down Expand Up @@ -1302,7 +1341,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {

@media screen and (min-width: 76.25em) {
.md-search .md-search__inner {
padding-top: 0.58rem;
/*padding-top: 0.58rem;*/
margin-right: 0.8rem;
}

Expand Down Expand Up @@ -1514,7 +1553,7 @@ div[editor-title] code .editor-title {

.md-ellipsis, .md-ellipsis .md-typeset {
white-space: normal;
font-size: 98%;
/*font-size: 98%;*/
}

.md-header__topic .md-ellipsis {
Expand Down
Loading

0 comments on commit a740a0a

Please sign in to comment.