forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
240 lines (206 loc) · 7.81 KB
/
index.html
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
---
layout: default
background-class: home-page-background
body-class: homepage
display-news-banner: true
---
<div class="jumbotron jumbotron-fluid on-dark-background">
<div class="container">
<h1><img src="{{ site.baseurl }}/assets/images/logo-white.svg" width="275px" alt="PyTorch logo"/><br />New Announcements</h1>
<p class="lead">Catch up on the latest technical insights and tools from the PyTorch community.</p>
<a href="/blog" class="btn btn-lg with-right-arrow" data-cta="join">
Read More
</a>
</div>
</div>
<div class="main-content-wrapper">
<div class="container homepage-box-module">
<div class="row">
<div class="col-md">
<h3>Membership Available</h3>
<p>
Join the Membership that fits your goals.
</p>
<p>
<a href="/join">Join</a>
</p>
</div>
<div class="col-md">
<h3>PyTorch 2.2</h3>
<p>
PyTorch 2.2 offers ~2x performance improvement.
</p>
<p>
<a href="/blog/pytorch2-2/">Learn More</a>
</p>
</div>
<div class="col-md">
<h3>PyTorch Edge</h3>
<p>
Build innovative, privacy-aware experiences with superior productivity, portability, and performance.
</p>
<p>
<a href="/edge">Read More</a>
</p>
</div>
</div>
</div>
<div class="container homepage-feature-module key-features-module">
<div class="row">
<div class="col-md-9">
<div class="row">
<div class="col-md-12">
<h2>Key Features &<br />Capabilities</h2>
<a href="{{ site.baseurl }}/features" class="btn btn-lg with-right-arrow module-button">
See all Features
</a>
</div>
</div>
<div class="row key-features-boxes">
{% assign features = site.features | where: "featured-home", true | sort: 'order' %}
{% for feature in features %}
<div class="col-md-3 key-feature-box">
<h5>{{ feature.title }}</h5>
<p>{{ feature.summary-home }}</p>
</div>
{% endfor %}
</div>
</div>
<div class="col-md-3 ecosystem-row">
<div class="card ecosystem-card">
<div class="card-body">
<div class="card-summary">
<p>Support Ukraine 🇺🇦 <br/><a href="https://opensource.fb.com/support-ukraine" target="_blank" rel="noopener">Help Provide Humanitarian Aid to Ukraine.</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
{% include quick_start_module.html %}
<div class="homepage-feature-module community-module container-fluid">
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Ecosystem </h2>
<h5>Feature Projects</h5>
<a href="{{ site.baseurl }}/ecosystem" class="btn btn-lg with-right-arrow module-button">
See all Projects
</a>
</div>
<div class="col-md-8">
<p class="h2-subheadline">Explore a rich ecosystem of libraries, tools, and more to support development.</p>
</div>
</div>
<div class="row ecosystem-row">
{% assign ecosystems = site.ecosystem | where: "featured-home", true | sort: 'order' %}
{% for item in ecosystems %}
<div class="col-md-4">
<div class="card ecosystem-card">
{% if item.external %}
<a href="{{ item.link }}" target="_blank">
{% else %}
<a href="{{ site.baseurl }}{{ item.url }}">
{% endif %}
<div class="card-body {{ item.logo-class }} {% if item.external %}external{% endif %}">
<h4>{{ item.title }}</h4>
<p class="card-summary">{{ item.summary-home }}</p>
</div>
</a>
</div>
</div>
{% endfor %}
</div>
<div id="community-module" class="row">
<div class="col-md-12 community-heading">
<h2>Community</h2>
</div>
<div class="col-md-8">
<p class="h2-subheadline">Join the PyTorch developer community to contribute, learn, and get your questions answered.</p>
</div>
</div>
<div class="row resources">
{% assign resources = site.resources | where: "featured-home",true | sort: 'order' %}
{% for resource in resources %}
{% assign card_title = resource.title | split: ' ' %}
<div class="col-md-4">
<div class="card resource-card {{ resource.class }}">
<!-- Cards with the pytorch-resource class also have a pytorch-discuss class.
These two classes along with the discuss class allow us to stylize the second word in the card header so that it features orange text.
-->
{% if resource.class == "pytorch-resource" %}
{% if resource.external %}
<a href="{{ resource.link }}" class="pytorch-discuss" target="_blank">
{% else %}
<a href="{{ resource.link }}" class="pytorch-discuss">
{% endif %}
<div class="card-body">
<h4>{{ card_title[0] }}<span class="discuss">{{ card_title[1] }}</span></h4>
{% else %}
{% if resource.external %}
<a href="{{ resource.link }}" target="_blank">
{% else %}
<a href="{{ resource.link }}">
{% endif %}
<div class="card-body">
<h4>{{ card_title }}</h4>
{% endif %}
<p class="card-summary">{{ resource.summary-home }}</p>
</div>
</a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class="homepage-bottom-wrapper">
<div class="homepage-feature-module pytorch-users-module container">
<div class="row">
<div class="col-md-12 university-testimonials">
<h2>Companies & Universities<br />Using PyTorch</h2>
<!-- Temporarily hiding button since there isn't a 'Stories' page
<a href="{{ site.baseurl }}/features" class="btn btn-lg with-right-arrow module-button">
See all Stories
</a> -->
<div class="row university-testimonials-content">
{% assign case_studies = site.case_studies | where: "featured-home", true | sort: "order" %}
{% for case_study in case_studies %}
<div class="col-md-4">
<img src="{{ site.baseurl }}/{{ case_study.logo }}" class="img-fluid" width="180">
<p>{{ case_study.excerpt }}</p>
<a href="{{ case_study.link }}" class="btn btn-lg with-right-arrow">
Learn More
</a>
</div>
{% endfor %}
</div>
</div>
<div class="col-md-12 follow-us-on-twitter">
<h2>Follow Us on Twitter</h2>
<div data-target="twitter-timeline">Loading Twitter timeline...</div>
</div>
</div>
</div>
</div>
</div>
<!-- Start Load Tweets -->
<div id="twitter-widget">
<a class="twitter-timeline"
href="https://twitter.com/pytorch"
data-height="0"
data-chrome="noheader nofooter noborders transparent noscrollbar"
data-link-color="#e44c2c"
data-tweet-limit="3"
data-border-color="#a80000"
data-dnt="true">
</a>
</div>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<script src="{{ site.baseurl }}/assets/load-tweets.js"></script>
<script type="text/javascript">twitter.bind();</script>
<!-- End Load Tweets -->
<!-- Load JS for pagination -->
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script list-id="news-items" display-count="1" pagination="true" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script>