Skip to content

Commit 54b8a01

Browse files
authored
Merge branch 'site' into enterprise-blog-post
2 parents 66495b6 + f54f16e commit 54b8a01

File tree

1,684 files changed

+18942
-24925
lines changed

Some content is hidden

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

1,684 files changed

+18942
-24925
lines changed

_get_started/installation/azure.md

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ 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+
1219
## Azure Primer
1320
{: #microsoft-azure-primer}
1421

_includes/contributor_side_nav.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<div class="col-md-3 get-started-cloud-sidebar">
22
<div class="sticky-top">
33
<ul id="get-started-contributor-sidebar-list">
4-
{% assign past_issues = site.past_issues | sort_natural: "date" %}
4+
{% assign past_issues = site.past_issues | sort_natural: "date" | reverse %}
55

66
{% for item in past_issues %}
77
{% assign currentdate = item.date | date: "%B %Y" %}
88
{% if currentdate != date %}
9-
<li>{{ currentdate }}</li>
109
{% assign date = currentdate %}
1110
{% endif %}
1211

1312
<ul>
14-
<li><a href="#issue-{{ item.issue }}">{{ item.title }}</a></li>
13+
<li><a href="#issue-{{ item.issue }}">{{ date }}</a></li>
1514
</ul>
1615
{% endfor %}
1716
</ul>

_includes/past_issues.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% include contributor_side_nav.html %}
55
<div class="col-md-8 offset-md-1 container">
66
<div class="row main-content blog-detail-content contributor-sidebar">
7-
{% assign past_issues = site.past_issues | sort: "title" %}
7+
{% assign past_issues = site.past_issues | sort: "title" | reverse %}
88
{% for item in past_issues %}
99
<article class="pytorch-article">
1010
{{ item | markdownify }}

_includes/quick_start_cloud_options.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
<div class="cloud-option-row">
4646
<div class="cloud-option" data-toggle="cloud-dropdown">
4747
<div class="cloud-option-body microsoft-azure" id="microsoft-azure">
48-
Microsoft Azure
48+
<p>Microsoft Azure -</p>
49+
<span>PyTorch Enterprise Support Program Participant</span>
4950
</div>
5051

5152
<ul>

_includes/quick_start_local.html

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
package manager since it installs all dependencies. You can also
55
<a href="{{ site.baseurl }}/get-started/previous-versions">install previous versions of PyTorch</a>. Note that LibTorch is only available for C++.
66
</p>
7+
<p>Additional support or warranty for some PyTorch Stable and LTS binaries are are available through the PyTorch Enterprise Support Program.
8+
Learn more <a href="/enterprise-support-program">here</a>.
9+
</p>
710

811
<div class="row">
912
<div class="col-md-3 headings">
@@ -32,12 +35,15 @@
3235
<div class="col-md-12 title-block mobile-heading">
3336
<div class="option-text">PyTorch Build</div>
3437
</div>
35-
<div class="col-md-6 option block version selected" id="stable">
38+
<div class="col-md-4 option block version selected" id="stable">
3639
<div class="option-text">Stable (1.8.1)</div>
3740
</div>
38-
<div class="col-md-6 option block version" id="preview">
41+
<div class="col-md-4 option block version" id="preview">
3942
<div class="option-text">Preview (Nightly)</div>
4043
</div>
44+
<div class="col-md-4 option block version" id="lts">
45+
<div class="option-text">LTS (1.8.1)</div>
46+
</div>
4147
</div>
4248
<div class="row os">
4349
<div class="col-md-12 title-block mobile-heading">

_past_issues/2021-05-11-issue-2.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Issue #2"
3+
issue: 2
4+
date: 2021-05-20
5+
---
6+
7+
8+
# Issue \#2
9+
10+
Welcome to the second edition of the PyTorch newsletter! In this issue, read about how we celebrated the PyTorch community at the first-ever PyTorch Ecosystem Day (PTED), discover a new podcast for PyTorch developers, and learn about important updates to the PyTorch frontend.
11+
12+
## PyTorch Ecosystem Day
13+
14+
**Piotr Bialecki (Sr. Software Engineer, NVIDIA)** spoke about his journey of using PyTorch and what he sees in the future for PyTorch. **Miquel Farré (Sr. Technology Manager, Disney)** spoke about the Creative Genome project that uses the PyTorch ecosystem to annotate all Disney content. **Ritchie Ng (CEO, Hessian Matrix)** spoke about the growth of AI in the Asia Pacific region, and how to get started with PyTorch for production AI use cases. Members of the community showcased how they were using PyTorch via 71 posters and pop-up breakout sessions. See all of the [posters](https://pytorch.org/ecosystem/pted/2021) and listen to the opening [keynote talks](https://www.youtube.com/playlist?list=PL_lsbAsL_o2At9NcX1mR9d12KYUWqxOx9) here!
15+
16+
## PyTorch Developer Podcast
17+
18+
**Edward Yang (Research Engineer, Facebook AI)** talks about internal development concepts like binding C++ in Python, the dispatcher, PyTorch’s library structure and more. Check out this new series; each episode is around 15 minutes long. [Listen to it](https://pytorch-dev-podcast.simplecast.com/) wherever you get your podcasts.
19+
20+
## Forward Mode AD
21+
The core logic for Forward Mode AD (based on “dual tensors”) is now in PyTorch. All the APIs to manipulate such Tensors, codegen and view handling are in `master (1.9.0a0)` already. Gradcheck and a first set of formulas will be added in the following month; full support for all PyTorch functions, custom Autograd functions and higher order gradients will happen later this year. Read more about this or share your feedback with [@albanD](https://github.com/albanD) on the corresponding [RFC](https://github.com/pytorch/rfcs/pull/11).
22+
23+
## Make complex conjugation lazy
24+
25+
[PR #54987](https://github.com/pytorch/pytorch/pull/54987) makes the conjugate operation on complex tensors return a view that has a special `is_conj()` bit flipped. Aside from saving memory by not creating a full tensor, this grants a potential speedup if the following operation can handle conjugated inputs directly. For such operations (like `gemm`), a flag is passed to the low-level API; for others the conjugate is materialized before passing to the operation.
26+
27+
## torch.use_deterministic_algorithms is stable
28+
29+
`torch.use_deterministic_algorithms()` ([docs](https://pytorch.org/docs/master/generated/torch.use_deterministic_algorithms.html)) is stable in `master (1.9.0a0)`. If True, the flag switches non-deterministic operations to their deterministic implementation if available, and throws a `RuntimeError` if not.
30+
31+
## torch.linalg and torch.special
32+
33+
`torch.linalg` is now stable; the module maintains fidelity with NumPy’s np.linalg linear algebra functions.
34+
`torch.special` (beta) contains functions in scipy.special. Here’s the [tracking issue](https://github.com/pytorch/pytorch/issues/50345) if you’d like to contribute functions to torch.special. If you want a function not already on the list, let us know on the tracking issue about your use case and why it should be added.
35+
36+
## Generalizing AMP to work on CPU
37+
38+
> [@ezyang](https://dev-discuss.pytorch.org/t/generalizing-amp-to-work-on-cpu/201): Intel is interested in bringing automatic mixed precision to CPU in [[RFC] Extend Autocast to CPU/CUDA with BF16 data type · Issue #55374 · pytorch/pytorch ·](https://github.com/pytorch/pytorch/issues/55374) One big question is what the API for autocasting should be for CPU; should we provide a single, generalized API torch.autocast (keep in mind that CPU autocasting would be through bfloat16, while the existing GPU autocasting is via float16), or provide separate APIs for CPU/CUDA? If you have any thoughts or opinions on the subject, please chime in on the issue.
39+
40+
<br>
41+
<br>
42+
43+
Are you enjoying reading this newsletter? What would you like to know more about? All feedback is welcome and appreciated! To share your suggestions, use this [form](https://forms.gle/K75ELciLJxnabKKH9) or simply reply to this email.

_resources/enterprise.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Enterprise Program
3+
summary: Learn about PyTorch Enterprise Support Program
4+
link: https://pytorch.org/enterprise-support-program
5+
class: pytorch-resource
6+
order: 14
7+
---

_sass/article.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
article.pytorch-article {
22
max-width: 920px;
33
margin: 0 auto;
4+
padding-bottom: 90px;
45

56
h2,
67
h3,

_sass/enterprise.scss

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.mobile .enterprise-jumbotron {
2+
height: 210px;
3+
@include desktop {
4+
height: 280px;
5+
}
6+
}
7+
.enterprise {
8+
padding-bottom: 0;
9+
p, li {
10+
color: $content_text_color;
11+
font-size: 18px;
12+
}
13+
h2 {
14+
padding-bottom: 1.5rem;
15+
}
16+
.container {
17+
padding: 48px 30px 48px 30px;
18+
}
19+
.enterprise-gray-container {
20+
background-color: $light_grey;
21+
}
22+
.pyt-enterprise-logo {
23+
background-image: url($baseurl + "/assets/images/PTE_lockup_PRIMARY.svg");
24+
background-repeat: no-repeat;
25+
height: 60px;
26+
}
27+
.container {
28+
max-width: 940px;
29+
}
30+
.enterprise-landing-azure-logo-container {
31+
float: left;
32+
padding: 0;
33+
}
34+
}
35+

_sass/quick-start-module.scss

+18
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,24 @@
349349
line-height: rem(30px);
350350
color: $not_quite_black;
351351

352+
#microsoft-azure {
353+
p{
354+
color: $not_quite_black;
355+
margin: 0;
356+
padding: 0;
357+
font-size: inherit;
358+
line-height: 1.3rem;
359+
}
360+
span {
361+
margin-bottom: 0;
362+
padding-bottom: 0;
363+
color: $orange;
364+
padding: 0px 35px 0px 8px;
365+
font-style: italic;
366+
line-height: 1.3rem;
367+
}
368+
}
369+
352370
@include small-desktop {
353371
font-size: rem(16px);
354372
}

assets/images/MS-Azure_logo.png

29.3 KB
Loading

assets/main.scss

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ $baseurl:"{{ site.baseurl }}";
3333
@import "mobile";
3434
@import "deep-learning";
3535
@import "contributors";
36+
@import "enterprise";
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)