Skip to content

Commit 1fd56f7

Browse files
Merge branch 'site' into test-for-sofia
2 parents a888c1b + ea19caa commit 1fd56f7

File tree

12,162 files changed

+3943273
-99529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,162 files changed

+3943273
-99529
lines changed

.github/scale-config.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/check-quickstartmodule.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,14 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
rel_type: [ "latest_stable", "latest_lts" ]
58-
acc_type: [ "cuda11.x", "cuda10.2", "accnone" ]
59-
py_vers: [ "3.7", "3.8", "3.9" ]
60-
os: ["ubuntu-18.04", "macos-latest", "windows.4xlarge"]
61-
# We don't actively build for CUDA 10.2 on windows so we should
62-
# skip it in our test matrix for pip install
57+
rel_type: ["latest_stable", "latest_lts"]
58+
acc_type: ["cuda.x", "cuda.y", "accnone"]
59+
py_vers: ["3.7", "3.8", "3.9", "3.10"]
60+
os: ["ubuntu-18.04", "macos-latest", "windows.2022.small"]
6361
exclude:
64-
- os: "windows.4xlarge"
65-
acc_type: "cuda10.2"
62+
- rel_type: "latest_lts"
63+
py_vers: "3.10"
64+
6665
env:
6766
TEST_ACC: ${{ matrix.acc_type }}
6867
TEST_VER: ${{ matrix.rel_type }}
@@ -90,9 +89,9 @@ jobs:
9089
strategy:
9190
fail-fast: false
9291
matrix:
93-
rel_type: [ "latest_stable" ]
94-
acc_type: [ "cuda11.x", "cuda10.2", "accnone" ]
95-
py_vers: [ "3.7", "3.8", "3.9" ]
92+
rel_type: ["latest_stable"]
93+
acc_type: ["cuda.x", "cuda.y", "accnone"]
94+
py_vers: ["3.7", "3.8", "3.9", "3.10"]
9695
os: ["ubuntu-18.04", "macos-latest"]
9796
env:
9897
TEST_ACC: ${{ matrix.acc_type }}

404.html

Lines changed: 76 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,79 @@
55
layout: general
66
---
77

8-
<!DOCTYPE html>
9-
<html>
10-
<body>
11-
<div style="text-align: center;">
12-
<img src="{{ site.baseurl }}/assets/images/404_sign.png" />
13-
14-
<h1>Oops!</h1>
15-
16-
<h4>You've reached a dead end.</h4>
17-
18-
<h4>
19-
If you feel like something should be here, you can <a href="https://github.com/pytorch/pytorch.github.io/issues">open an issue</a> on GitHub.
20-
</h4>
21-
22-
<h4>
23-
Click <a href="/">here</a> to go back to the main page.
24-
</h4>
25-
</div>
26-
</body>
27-
</html>
8+
<script type="text/javascript" charset="utf-8">
9+
const FALLBACK_URL = '';
10+
const REDIRECT_STYLE = {
11+
// Redirect completely, appending the path to the newly specified location.
12+
// This is useful for project renames or moving to a different org.
13+
FULL: 0,
14+
// Redirect to the specific location, losing path information
15+
// This is useful when you just want to capture the audience to known working page.
16+
SIMPLE: 1,
17+
// Redirect to the project's 404 page, injecting the original URL.
18+
FOUROHFOUR_DEFAULT: 2,
19+
// Redirect to the specified path, replacing ${from} with the original URL.
20+
FOUROHFOUR_CUSTOM: 3,
21+
};
22+
23+
const PROJECTS = {
24+
live: {
25+
location: 'https://playtorch.dev/',
26+
style: REDIRECT_STYLE.FULL,
27+
},
28+
};
29+
30+
// eg "https://facebook.github.io/flux/docs/overview/"
31+
const ORIGINAL_URL = window.location.href;
32+
// eg [ "", "flux", "docs", "overview", "" ]
33+
const PATH_PARTS = window.location.pathname.split('/');
34+
// eg "flux"
35+
const PROJECT = PATH_PARTS[1];
36+
// eg "docs/overview/"
37+
const SUBPATH = PATH_PARTS.slice(2).join('/');
38+
39+
40+
// Perform the redirect only for explicitly defined projects.
41+
// Otherwise show the 404 page below
42+
if (PROJECTS.hasOwnProperty(PROJECT)) {
43+
let newUrl = '';
44+
let project = PROJECTS[PROJECT];
45+
switch (project.style) {
46+
case REDIRECT_STYLE.FULL:
47+
newUrl = project.location + SUBPATH;
48+
break;
49+
case REDIRECT_STYLE.SIMPLE:
50+
newUrl = project.location;
51+
break;
52+
case REDIRECT_STYLE.FOUROHFOUR_DEFAULT:
53+
newUrl = project.location + '404.html?from=' + ORIGINAL_URL;
54+
break;
55+
case REDIRECT_STYLE.FOUROHFOUR_CUSTOM:
56+
newUrl = project.location.replace('${from}', ORIGINAL_URL);
57+
break;
58+
default:
59+
newUrl = FALLBACK_URL;
60+
}
61+
62+
if (newUrl !== '') {
63+
window.location.href = newUrl;
64+
}
65+
}
66+
67+
</script>
68+
69+
<div style="text-align: center;">
70+
<img src="{{ site.baseurl }}/assets/images/404_sign.png" />
71+
72+
<h1>Oops!</h1>
73+
74+
<h4>You've reached a dead end.</h4>
75+
76+
<h4>
77+
If you feel like something should be here, you can <a href="https://github.com/pytorch/pytorch.github.io/issues">open an issue</a> on GitHub.
78+
</h4>
79+
80+
<h4>
81+
Click <a href="/">here</a> to go back to the main page.
82+
</h4>
83+
</div>

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ GEM
218218
jekyll-seo-tag (~> 2.1)
219219
minitest (5.14.4)
220220
multipart-post (2.1.1)
221-
nokogiri (1.13.6)
221+
nokogiri (1.13.9)
222222
mini_portile2 (~> 2.8.0)
223223
racc (~> 1.4)
224224
octokit (4.20.0)
@@ -253,7 +253,7 @@ GEM
253253
thread_safe (0.3.6)
254254
typhoeus (1.4.0)
255255
ethon (>= 0.9.0)
256-
tzinfo (1.2.9)
256+
tzinfo (1.2.10)
257257
thread_safe (~> 0.1)
258258
unf (0.1.4)
259259
unf_ext
@@ -273,4 +273,5 @@ DEPENDENCIES
273273
RUBY VERSION
274274
ruby 2.6.10p210
275275

276-
276+
BUNDLED WITH
277+
1.17.2

_board_info/advanced-micro-devices.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: AMD
3+
summary: ''
4+
link: https://amd.com
5+
image: /assets/images/announcement-logo-amd.jpg
6+
class: pytorch-resource
7+
order: 1
8+
featured-home: true
9+
---

_board_info/amazon-web-services.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Amazon
3+
summary: ''
4+
link: https://aws.amazon.com
5+
image: /assets/images/announcement-logo-aws.jpg
6+
class: pytorch-resource
7+
order: 2
8+
featured-home: true
9+
---

_board_info/google-cloud.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Google Cloud
3+
summary: ''
4+
link: https://cloud.google.com/gcp
5+
image: /assets/images/announcement-logo-google.png
6+
class: pytorch-resource
7+
order: 3
8+
featured-home: true
9+
---

_board_info/meta.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Meta
3+
summary: ''
4+
link: https://meta.com
5+
image: /assets/images/announcement-logo-meta.jpg
6+
class: pytorch-resource
7+
order: 4
8+
featured-home: true
9+
---

_board_info/microsoft-corporation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Microsoft
3+
summary: ''
4+
link: https://azure.microsoft.com
5+
image: /assets/images/announcement-logo-microsoft.jpg
6+
class: pytorch-resource
7+
order: 5
8+
featured-home: true
9+
---

_board_info/nvidia-corporation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Nvidia
3+
summary: ''
4+
link: https://www.nvidia.com/en-us/ai-data-science/
5+
image: /assets/images/announcement-logo-nvidia.jpg
6+
class: pytorch-resource
7+
order: 5
8+
featured-home: true
9+
---

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ collections:
103103
future: true
104104
case_studies:
105105
output: true
106+
board_info:
107+
output: true
106108

107109
pagination:
108110
enabled: true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
category: event
3+
title: PyTorch Conference – Dec 2nd 2022
4+
date: December 2, 2022
5+
header-image: assets/images/pytorch_conference–dec_2nd_2022.gif
6+
---
7+
8+
Join us for our flagship conference experience. Apply Now to attend in person.
9+
10+
We are excited to announce that the PyTorch Conference returns in-person as a satellite event to [NeurlPS](https://nips.cc/) (<font size="3">Neural Information Processing Systems</font>) in New Orleans on Dec. 2nd. This is an opportunity to be part of the biggest PyTorch event of the year!
11+
12+
**When**: Dec 2nd, 2022
13+
14+
**Where**: New Orleans, Louisiana (USA) at Generations Hall &#124; _Virtual option as well_
15+
16+
**What**: The PyTorch Conference brings together leading academics, researchers and developers from the Machine Learning community to learn more about software releases on PyTorch, ways PyTorch is being used in academia and industry, development in trends, and more.
17+
18+
Join us for technical talks, project deep dives, and a poster exhibition with the opportunity to meet the authors to learn more about their PyTorch projects and network with the machine learning community. There will also be a virtual option for those who can’t join in-person. More information will be shared soon.
19+
20+
For more information please visit our [Facebook Event page](https://fb.me/e/29RoWnqBX) for virtual livestream information or [https://pytorchconference22.splashthat.com](https://pytorchconference22.splashthat.com) for full details.
21+
22+
**FAQs**
23+
24+
Q: Is there a fee to attend the PyTorch Conference?
25+
26+
A: There is no registration fee to attend the conference, however attendees are responsible for their own travel, and accommodations.
27+
28+
Q: Is The PyTorch Conference affiliated with NeurIPS?
29+
30+
A: As a satellite event, we have to use NeurlPS's hotel portal for reservations, however aside from that our events are independent of one another, meaning registration to our event does not grant you access to NeurlPS and vice versa.
31+
32+
Q: When will I find out if I have been confirmed for the in-person conference?
33+
34+
A: The PyTorch Team will be following up with applicants in the next few weeks.
35+
36+
**Questions**: Contact pytorch-marketing@fb.com

_events/pytorch_foundation.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
category: event
3+
title: 'Webinar: PyTorch, a Foundation for Open Source AI/ML'
4+
date: September 28, 2022
5+
header-image: assets/images/Event-Webinar-PyTorch-a-foundation-for-open-source.png
6+
---
7+
**Date:** Thursday, September 28, 2022 at 7:30am PT
8+
9+
Join us for a conversation between Soumith Chintala and Ibrahim Haddad about the creation of PyTorch Foundation. Over 150,000 developers and 18,000 organizations work with PyTorch today. In this conversation you will learn about:
10+
11+
- PyTorch’s evolution as an open source project
12+
13+
- Where PyTorch is used in production environments and in academic settings
14+
15+
- Next steps for the project under the PyTorch Foundation
16+
17+
[Register here](https://www.linuxfoundation.org/webinars/pytorch-a-foundation-for-open-source-ai-ml?hsLang=en)

_get_started/installation/aws.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ Once you decided upon your instance type, you will need to create, optionally co
9494
* [Windows](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/EC2_GetStarted.html){:target="_blank"}
9595
* [Command-line](https://docs.aws.amazon.com/cli/latest/userguide/cli-using-ec2.html){:target="_blank"}
9696

97-
## AWS SageMaker
98-
{: #aws-sagemaker}
97+
## Amazon SageMaker
98+
{: #amazon-sagemaker}
9999

100100
With [SageMaker](https://aws.amazon.com/sagemaker) service AWS provides a fully-managed service that allows developers and data scientists to build, train, and deploy machine learning models.
101101

102-
See AWS documentation to learn [how to configure Amazon SageMaker with PyTorch]((https://docs.aws.amazon.com/sagemaker/latest/dg/pytorch.html)).
102+
See AWS documentation to learn [how to configure Amazon SageMaker with PyTorch](https://docs.aws.amazon.com/sagemaker/latest/dg/pytorch.html).
103103

104104
## Pre-Built AMIs
105105
{: #aws-amis}

_get_started/installation/azure.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ Azure [provides](https://azure.microsoft.com/en-us/services/machine-learning-ser
99
* dedicated, pre-built [machine learning virtual machines](https://azure.microsoft.com/en-us/services/virtual-machines/data-science-virtual-machines/){:target="_blank"}, complete with PyTorch.
1010
* bare Linux and Windows virtual machines for you to do a custom install of PyTorch.
1111

12-
## PyTorch Enterprise on Azure
13-
{: #pytorch-enterprise-on-azure}
14-
15-
Microsoft is one of the founding members and also the inaugural participant of the [PyTorch Enterprise Support Program](https://pytorch.org/enterprise-support-program). Microsoft offers PyTorch Enterprise on Azure as a part of Microsoft [Premier](https://www.microsoft.com/en-us/msservices/premier-support) and [Unified](https://www.microsoft.com/en-us/msservices/unified-support-solutions?activetab=pivot1:primaryr4) Support. The PyTorch Enterprise support service includes long-term support to selected versions of PyTorch for up to 2 years, prioritized troubleshooting, and the latest integration with [Azure Machine Learning](https://azure.microsoft.com/en-us/services/machine-learning/) and other PyTorch add-ons including ONNX Runtime for faster inference. 
16-
17-
To learn more and get started with PyTorch Enterprise on Microsoft Azure, [visit here](https://azure.microsoft.com/en-us/develop/pytorch/).
18-
19-
For documentation, [visit here](https://docs.microsoft.com/en-us/azure/pytorch-enterprise/).
20-
2112
## Azure Primer
2213
{: #microsoft-azure-primer}
2314

_get_started/installation/google-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Google Cloud [provides](https://cloud.google.com/products/){:target="_blank"} bo
1111
## Google Cloud Primer
1212
{: #google-cloud-primer}
1313

14-
In order to use Google Cloud, you need to set up an [Google account](https://accounts.google.com/){:target="_blank"}, if you do not have one already. You will create a username (typically an `@gmail.com` email address) and password. After words, you will be able to [try Google Cloud](https://console.cloud.google.com/freetrial){:target="_blank"}. You will also provide contact and billing information. The billing information is initially used to prove you are a real person. And then, after your trial, you can choose to upgrade to a paid account.
14+
In order to use Google Cloud, you need to set up an [Google account](https://accounts.google.com/){:target="_blank"}, if you do not have one already. You will create a username (typically an `@gmail.com` email address) and password. Afterwards, you will be able to [try Google Cloud](https://console.cloud.google.com/freetrial){:target="_blank"}. You will also provide contact and billing information. The billing information is initially used to prove you are a real person. And then, after your trial, you can choose to upgrade to a paid account.
1515

1616
Once you are logged in, you will be brought to your [Google Cloud console](https://console.cloud.google.com/){:target="_blank"}. You can even learn more about Google Cloud through a set of [simple tutorials](https://console.cloud.google.com/getting-started){:target="_blank"}.
1717

0 commit comments

Comments
 (0)