-
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathmain.html
More file actions
174 lines (162 loc) · 8.12 KB
/
main.html
File metadata and controls
174 lines (162 loc) · 8.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{% extends "base.html" %}
{% block container %}
<div class="md-content" data-md-component="content">
{% if "navigation.path" in features %}
{% include "path.html" %}
{% endif %}
<article class="md-content__inner md-typeset">
{% block content %}
{% include "partials/content.html" %}
{% if page.previous_page or page.next_page %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "footer" in page.meta.hide %}
{% endif %}
<nav class="md-footer__inner md-grid" aria-label="{{ lang.t('footer') }}" {{ hidden }}>
{% if page.previous_page %}
{% set direction = lang.t("footer.previous") %}
<a href="{{ page.previous_page.url | url }}" class="md-footer__link md-footer__link--prev" aria-label="{{ direction }}: {{ page.previous_page.title | e }}">
<div class="md-footer__button md-icon">
{% set icon = config.theme.icon.previous or "material/arrow-left" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</div>
<div class="md-footer__title">
<span class="md-footer__direction">
{{ direction }}
</span>
<div class="md-ellipsis">
{{ page.previous_page.title }}
</div>
</div>
</a>
{% endif %}
{% if page.next_page %}
{% set direction = lang.t("footer.next") %}
<a href="{{ page.next_page.url | url }}" class="md-footer__link md-footer__link--next" aria-label="{{ direction }}: {{ page.next_page.title | e }}">
<div class="md-footer__title">
<span class="md-footer__direction">
{{ direction }}
</span>
<div class="md-ellipsis">
{{ page.next_page.title }}
</div>
</div>
<div class="md-footer__button md-icon">
{% set icon = config.theme.icon.next or "material/arrow-right" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</div>
</a>
{% endif %}
</nav>
{% endif %}
{% endblock %}
</article>
</div>
{% endblock %}
{% block header %}
{% include "header-2.html" %}
{% endblock %}
{% block scripts %}
<script src="/assets/javascripts/termynal.js" data-termynal-container="#termynal"></script>
<script async src="https://tally.so/widgets/embed.js"></script>
{{ super() }}
<script src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="1c028b8e-609e-40e3-b792-f3939a461850"
data-project-name="dstack"
data-project-color="rgba(0, 0, 0, 0.87)"
data-font-size-lg="0.78rem"
data-button-width="3.6rem"
data-button-height="3.6rem"
data-button-text-font-weight="400"
data-button-image-width="18"
data-button-image-height="18"
data-modal-image="/assets/images/dstack-logo-notext.svg"
data-modal-title="Ask me anything"
data-button-text-shadow="none"
data-button-box-shadow="none"
data-button-text-font-family='metro-web, Metro, -apple-system, "system-ui", "Segoe UI", Roboto'
data-project-logo="/assets/images/kapa.svg"
data-modal-disclaimer="This is a custom LLM for dstack with access to Documentation, API references and GitHub issues. This feature is experimental - Give it a try!"
data-user-analytics-fingerprint-enabled="true"
async></script>
{% endblock %}
{% block announce %}
Support dstack with a ⭐ on
<a href="https://github.com/dstackai/dstack" target="_blank">GitHub</a>
{% endblock %}
{% block footer %}
<footer class="tx-footer">
<div class="md-main__inner md-grid">
<div class="tx-footer__left-side">
<div class="tx-footer__copyright">
{% include "partials/copyright.html" %}
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
</div>
</div>
<div class="tx-footer__right-side">
<!--<div class="tx-footer__section">
<div class="tx-footer__section-title">Contact</div>
<a href="mailto:hello@dstack.ai" class="tx-footer__section-link">hello@dstack.ai</a>
<!–<a class="tx-footer__section-link" href="javascript:void(0)" onclick="$crisp.push(['do', 'chat:show'])">Open chat</a>–>
</div>-->
<div class="tx-footer__section">
<div class="tx-footer__section-title">Resources</div>
<a href="/docs" class="tx-footer__section-link">Documentation</a>
<a href="/blog" class="tx-footer__section-link">Blog</a>
<a href="https://github.com/dstackai/dstack/releases" target="_blank" class="tx-footer__section-link external">Releases</a>
</div>
<div class="tx-footer__section">
<div class="tx-footer__section-title">Examples</div>
<a href="/examples#fine-tuning" class="tx-footer__section-link">Fine-tuning</a>
<a href="/examples#clusters" class="tx-footer__section-link">Clusters</a>
<a href="/examples#inference" class="tx-footer__section-link">Inference</a>
<a href="/examples#accelerators" class="tx-footer__section-link">Accelerators</a>
<a href="/examples#llms" class="tx-footer__section-link">LLMs</a>
<a href="/examples#misc" class="tx-footer__section-link">Misc</a>
</div>
<div class="tx-footer__section">
<div class="tx-footer__section-title">Community</div>
<a href="https://github.com/dstackai/dstack/" target="_blank" class="tx-footer__section-link external">GitHub</a>
<a href="https://discord.gg/u8SmfwPpMd" target="_blank" class="tx-footer__section-link external">Discord</a>
<a href="https://github.com/dstackai/dstack/blob/master/CONTRIBUTING.md" target="_blank" class="tx-footer__section-link external">Contributing</a>
<!--<a href="/developers#ambassador-program" class="tx-footer__section-link">Ambassador program</a>-->
</div>
<div class="tx-footer__section">
<div class="tx-footer__section-title">Company</div>
<a href="https://calendly.com/dstackai/discovery-call" target="_blank" class="tx-footer__section-link external">Talk to an expert</a>
<a href="/partners" class="tx-footer__section-link">Partners</a>
<a href="/terms" class="tx-footer__section-link">Terms</a>
<a href="/privacy" class="tx-footer__section-link">Privacy</a>
<!--<a href="https://dstackai.notion.site/Jobs-at-dstack-ff01a450c3174904b70c36124f2d8f4b" target="_blank" class="tx-footer__section-link external">Careers</a>-->
</div>
</div>
</div>
</footer>
{% endblock %}
{% block site_nav %}
{% if nav %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
{% endif %}
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" {{ hidden }}>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
</div>
</div>
</div>
{% endif %}
{% if "toc.integrate" not in features %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "toc" in page.meta.hide %}
{% endif %}
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" {{ hidden }}>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "toc.html" %}
</div>
</div>
</div>
{% endif %}
{% endblock %}