Skip to content

Commit c5a0e42

Browse files
authored
Redirect to new docs url (#2019)
Signed-off-by: Chris Abraham <[email protected]>
1 parent 58b23ff commit c5a0e42

File tree

1 file changed

+12
-225
lines changed

1 file changed

+12
-225
lines changed

index.html

+12-225
Original file line numberDiff line numberDiff line change
@@ -1,225 +1,12 @@
1-
---
2-
layout: default
3-
background-class: home-page-background
4-
body-class: homepage
5-
display-news-banner: true
6-
---
7-
8-
<div class="jumbotron jumbotron-fluid on-dark-background">
9-
<div class="container">
10-
<h1><img src="{{ site.baseurl }}/assets/images/logo-white.svg" width="275px" alt="PyTorch logo"/><br />Get Started</h1>
11-
12-
<p class="lead">Choose Your Path: Install PyTorch Locally or Launch Instantly on Supported Cloud Platforms</p>
13-
14-
<a href="/get-started" class="btn btn-lg with-right-arrow" data-cta="join">
15-
Get started
16-
</a>
17-
</div>
18-
</div>
19-
20-
<div class="main-content-wrapper">
21-
22-
<div class="container homepage-box-module">
23-
<div class="row">
24-
<div class="col-md">
25-
<h3>Blog</h3>
26-
<p>
27-
Stay up-to-date on the latest news and technical topics from the PyTorch Foundation.
28-
</p>
29-
<p>
30-
<a href="/blog/">Read more</a>
31-
</p>
32-
</div>
33-
<div class="col-md">
34-
<h3>PyTorch 2.7</h3>
35-
<p>
36-
Includes support for NVIDIA Blackwell GPUs, CUDA 12.8 wheels for Linux x86 and arm64, Torch Function Modes in <code>torch.compile</code>, Mega Cache for portable compilation artifacts, and new FlexAttention features for LLM inference.
37-
<p>
38-
<a href="/blog/pytorch-2-7/">Learn more</a>
39-
</p>
40-
</div>
41-
<div class="col-md">
42-
<h3>Membership Available</h3>
43-
<p>
44-
Become an integral part of the PyTorch Foundation, to build and shape the future of AI.
45-
</p>
46-
<p>
47-
<a href="/join">Join</a>
48-
</p>
49-
</div>
50-
</div>
51-
</div>
52-
53-
54-
<div class="container homepage-feature-module key-features-module">
55-
56-
<div class="row">
57-
<div class="col-md-12">
58-
<div class="row">
59-
<div class="col-md-12">
60-
<h2>Key Features &amp;<br />Capabilities</h2>
61-
62-
<a href="{{ site.baseurl }}/features" class="btn btn-lg with-right-arrow module-button">
63-
See all Features
64-
</a>
65-
</div>
66-
</div>
67-
68-
<div class="row key-features-boxes">
69-
{% assign features = site.features | where: "featured-home", true | sort: 'order' %}
70-
71-
{% for feature in features %}
72-
<div class="col-md-3 key-feature-box">
73-
<h5>{{ feature.title }}</h5>
74-
<p>{{ feature.summary-home }}</p>
75-
</div>
76-
{% endfor %}
77-
</div>
78-
</div>
79-
</div>
80-
</div>
81-
82-
{% include quick_start_module.html %}
83-
84-
<div class="homepage-feature-module community-module container-fluid">
85-
<div class="container">
86-
<div class="row">
87-
<div class="col-md-12">
88-
<h2>Ecosystem </h2>
89-
<h5>Feature Projects</h5>
90-
91-
<a href="https://landscape.pytorch.org/" target="_blank" class="btn btn-lg with-right-arrow module-button">
92-
See all Projects
93-
</a>
94-
95-
</div>
96-
<div class="col-md-8">
97-
<p class="h2-subheadline">Explore a rich ecosystem of libraries, tools, and more to support development.</p>
98-
</div>
99-
</div>
100-
101-
<div class="row ecosystem-row">
102-
{% assign ecosystems = site.ecosystem | where: "featured-home", true | sort: 'order' %}
103-
{% for item in ecosystems %}
104-
<div class="col-md-4">
105-
<div class="card ecosystem-card">
106-
{% if item.external %}
107-
<a href="{{ item.link }}" target="_blank">
108-
{% else %}
109-
<a href="{{ site.baseurl }}{{ item.url }}">
110-
{% endif %}
111-
<div class="card-body {{ item.logo-class }} {% if item.external %}external{% endif %}">
112-
<h4>{{ item.title }}</h4>
113-
<p class="card-summary">{{ item.summary-home }}</p>
114-
</div>
115-
</a>
116-
</div>
117-
</div>
118-
{% endfor %}
119-
</div>
120-
121-
<div id="community-module" class="row">
122-
<div class="col-md-12 community-heading">
123-
<h2>Community</h2>
124-
125-
</div>
126-
<div class="col-md-8">
127-
<p class="h2-subheadline">Join the PyTorch developer community to contribute, learn, and get your questions answered.</p>
128-
</div>
129-
</div>
130-
131-
<div class="row resources">
132-
{% assign resources = site.resources | where: "featured-home",true | sort: 'order' %}
133-
134-
{% for resource in resources %}
135-
{% assign card_title = resource.title | split: ' ' %}
136-
<div class="col-md-4">
137-
<div class="card resource-card {{ resource.class }}">
138-
<!-- Cards with the pytorch-resource class also have a pytorch-discuss class.
139-
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.
140-
-->
141-
{% if resource.class == "pytorch-resource" %}
142-
{% if resource.external %}
143-
<a href="{{ resource.link }}" class="pytorch-discuss" target="_blank">
144-
{% else %}
145-
<a href="{{ resource.link }}" class="pytorch-discuss">
146-
{% endif %}
147-
<div class="card-body">
148-
<h4>{{ card_title[0] }}<span class="discuss">{{ card_title[1] }}</span></h4>
149-
{% else %}
150-
{% if resource.external %}
151-
<a href="{{ resource.link }}" target="_blank">
152-
{% else %}
153-
<a href="{{ resource.link }}">
154-
{% endif %}
155-
<div class="card-body">
156-
<h4>{{ card_title }}</h4>
157-
{% endif %}
158-
<p class="card-summary">{{ resource.summary-home }}</p>
159-
</div>
160-
</a>
161-
</div>
162-
</div>
163-
{% endfor %}
164-
</div>
165-
166-
167-
</div>
168-
</div>
169-
</div>
170-
171-
<div class="homepage-bottom-wrapper">
172-
<div class="homepage-feature-module pytorch-users-module container">
173-
<div class="row">
174-
<div class="col-md-12 university-testimonials">
175-
<h2>Companies &amp; Universities<br />Using PyTorch</h2>
176-
177-
<!-- Temporarily hiding button since there isn't a 'Stories' page
178-
<a href="{{ site.baseurl }}/features" class="btn btn-lg with-right-arrow module-button">
179-
See all Stories
180-
</a> -->
181-
182-
<div class="row university-testimonials-content">
183-
{% assign case_studies = site.case_studies | where: "featured-home", true | sort: "order" %}
184-
185-
{% for case_study in case_studies %}
186-
<div class="col-md-4">
187-
<img src="{{ site.baseurl }}/{{ case_study.logo }}" class="img-fluid" width="180">
188-
<p>{{ case_study.excerpt }}</p>
189-
<a href="{{ case_study.link }}" class="btn btn-lg with-right-arrow">
190-
Learn More
191-
</a>
192-
</div>
193-
{% endfor %}
194-
</div>
195-
</div>
196-
</div>
197-
</div>
198-
</div>
199-
</div>
200-
201-
202-
<!-- Start Load Tweets -->
203-
204-
<div id="twitter-widget">
205-
<a class="twitter-timeline"
206-
href="https://twitter.com/pytorch"
207-
data-height="0"
208-
data-chrome="noheader nofooter noborders transparent noscrollbar"
209-
data-link-color="#e44c2c"
210-
data-tweet-limit="3"
211-
data-border-color="#a80000"
212-
data-dnt="true">
213-
</a>
214-
</div>
215-
216-
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
217-
<script src="{{ site.baseurl }}/assets/load-tweets.js"></script>
218-
<script type="text/javascript">twitter.bind();</script>
219-
220-
<!-- End Load Tweets -->
221-
222-
<!-- Load JS for pagination -->
223-
224-
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
225-
<script list-id="news-items" display-count="1" pagination="true" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Redirecting...</title>
6+
<link rel="canonical" href="https://docs.pytorch.org/docs"/>
7+
<meta http-equiv="refresh" content="0; URL=https://docs.pytorch.org/docs">
8+
</head>
9+
<body>
10+
<p>If you are not redirected automatically, follow this <a href="https://docs.pytorch.org/docs">link to the documentation</a>.</p>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)