-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Massive overhaul of the docs and learning materials
- Loading branch information
1 parent
809e0ed
commit 97bc27f
Showing
30 changed files
with
550 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# .dstack.yml | ||
|
||
With `dstack`, you can define what you want to run as YAML configuration files | ||
and run them using the `dstack run` command. | ||
|
||
!!! info "Filename" | ||
Configuration files must have a name ending with `.dstack.yml` (e.g., `.dstack.yml` or `dev.dstack.yml` are both acceptable). | ||
Configuration files can be placed either in the project's root directory or in any nested folder. | ||
|
||
Configurations can be of three types: `dev-environment`, `task`, and `service`. | ||
|
||
Below, you'll find the complete reference detailing all available properties for each type of configuration. | ||
|
||
## dev-environment | ||
|
||
This configuration type allows you to provision a [dev environment](../guides/dev-environments.md) with the required cloud resources, | ||
code, and environment. | ||
|
||
#SCHEMA# dstack._internal.core.models.configurations.DevEnvironmentConfiguration | ||
overrides: | ||
show_root_heading: false | ||
type: | ||
required: true | ||
|
||
## task | ||
|
||
This configuration type allows you to run [tasks](../guides/tasks.md) like training scripts, batch jobs, or web apps. | ||
|
||
#SCHEMA# dstack._internal.core.models.configurations.TaskConfiguration | ||
overrides: | ||
show_root_heading: false | ||
type: | ||
required: true | ||
|
||
## service | ||
|
||
This configuration type allows you to deploy models or web apps as [services](../guides/services.md). | ||
|
||
#SCHEMA# dstack._internal.core.models.configurations.ServiceConfiguration | ||
overrides: | ||
show_root_heading: false | ||
type: | ||
required: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
template: learn.html | ||
title: Learning materials | ||
hide: | ||
- path | ||
- navigation | ||
- toc | ||
- footer | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
template: learn.html | ||
title: Learning center | ||
title: Learning materials | ||
hide: | ||
- navigation | ||
- toc | ||
|
Oops, something went wrong.