-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
238 lines (202 loc) · 7.61 KB
/
index.html
File metadata and controls
238 lines (202 loc) · 7.61 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
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
---
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 />开始使用</h1>
<p class="lead">选择您的路径:在本地安装 PyTorch <br />或立即在云平台上试用</p>
<a href="{{ site.baseurl }}/get-started/" class="btn btn-lg with-right-arrow" data-cta="join">
开始使用
</a>
</div>
</div>
<div class="main-content-wrapper">
<div class="container homepage-box-module">
<div class="row">
<div class="col-md">
<h3>博客</h3>
<p>
随时了解 PyTorch 基金会的最新新闻和技术内容。
</p>
<p>
<a href="https://pytorch.org/community-blog">了解更多</a>
</p>
</div>
<div class="col-md">
<h3>PyTorch 2.6</h3>
<p>
包括对 torch.compile 的 Python 3.13 支持、多项 AOTInductor 增强功能、X86 CPU 上 FP16 的支持等。
</p>
<p>
<a href="/blog/pytorch2-6/">了解更多</a>
</p>
</div>
<div class="col-md">
<h3>会员征集</h3>
<p>
成为 PyTorch 基金会的重要组成部分,共同建设和塑造人工智能的未来。
</p>
<p>
<a href="{{ site.baseurl }}/join/">加入</a>
</p>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<a href="{{ site.baseurl }}/get-started/" class="btn btn-lg with-right-arrow module-button">
开始使用
</a>
</div>
</div>
</div>
<div class="container homepage-feature-module key-features-module">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<h2>关键特性 &<br />能力</h2>
<a href="{{ site.baseurl }}/features" class="btn btn-lg with-right-arrow module-button">
查看全部特性
</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>
</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>软件生态</h2>
<h5>特性项目</h5>
<a href="{{ site.baseurl }}/ecosystem" class="btn btn-lg with-right-arrow module-button">
查看全部项目
</a>
</div>
<div class="col-md-8">
<p class="h2-subheadline">探索丰富的库、工具和更多支持高效开发的生态系统。</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>开发者社区</h2>
</div>
<div class="col-md-8">
<p class="h2-subheadline">加入 PyTorch 开发者社区,贡献代码、学习知识,并获取问题的解答。</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>使用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">
了解更多
</a>
</div>
{% endfor %}
</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>