Skip to content

Commit e61db12

Browse files
authored
Merge pull request pytorch#678 from shiftlab/contributors-data-model
Contributors data model
2 parents aea64b6 + 85a546d commit e61db12

File tree

5 files changed

+83
-16
lines changed

5 files changed

+83
-16
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ collections:
6565
output: true
6666
news:
6767
output: true
68+
past_issues:
69+
output: true
6870

6971
pagination:
7072
enabled: true

_includes/contributor_side_nav.html

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
<div class="col-md-3 get-started-cloud-sidebar">
22
<div class="sticky-top">
33
<ul id="get-started-contributor-sidebar-list">
4-
<li>
5-
<a href="#pytorch-1">Issue 1 - March 2021</a>
6-
</li>
7-
<li>
8-
<span></span>
9-
</li>
4+
{% assign past_issues = site.past_issues | sort_natural: "date" %}
5+
6+
{% for item in past_issues %}
7+
{% assign currentdate = item.date | date: "%B %Y" %}
8+
{% if currentdate != date %}
9+
<li>{{ currentdate }}</li>
10+
{% assign date = currentdate %}
11+
{% endif %}
12+
13+
<ul>
14+
<li><a href="#issue-{{ item.issue }}">{{ item.title }}</a></li>
15+
</ul>
16+
{% endfor %}
1017
</ul>
1118
</div>
1219
</div>

_includes/past_issues.html

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<div class="hidden">
22
<div class="row" id="past-issues">
33
<div class="past-issue-container container">
4-
<div class="container">
4+
{% include contributor_side_nav.html %}
5+
<div class="col-md-8 offset-md-1 container">
56
<div class="row main-content blog-detail-content contributor-sidebar">
6-
{% include contributor_side_nav.html %}
7-
<div class="col-md-8 offset-md-1">
7+
{% assign past_issues = site.past_issues | sort: "title" %}
8+
{% for item in past_issues %}
89
<article class="pytorch-article">
9-
{% capture march %}
10-
{% include march_2021.md %}
11-
{% endcapture %}
12-
{{ march | markdownify }}
10+
{{ item | markdownify }}
1311
</article>
14-
</div>
12+
{% endfor %}
1513
</div>
1614
</div>
1715
</div>

_past_issues/2021-03-11-issue-1.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "Issue #1"
3+
issue: 1
4+
date: 2021-03-11
5+
---
6+
7+
8+
# Issue \#1
9+
10+
Welcome to the first issue of the PyTorch Contributors newsletter! Keeping track of everything that’s happening in the PyTorch developer world is a big task; here you will find curated news including RFCs, feature roadmaps, notable PRs, editorials from developers, and more. If you have questions or suggestions for the newsletter, just reply back to this email.
11+
12+
## PyTorch 1.8.0
13+
14+
PyTorch 1.8 was released on March 4th with support for functional transformations using `torch.fx`, stabilized frontend APIs for scientific computing (`torch.fft`, `torch.linalg`, Autograd for complex tensors) and significant improvements to distributed training. Read the full [Release Notes](https://github.com/pytorch/pytorch/releases/tag/v1.8.0){:target="_blank"}.
15+
16+
## PyTorch Ecosystem Day
17+
18+
On April 21, we’re hosting a virtual event for our ecosystem and industry communities to showcase their work and discover new opportunities to collaborate. The day will be filled with discussion on new developments, trends, challenges and best practices through posters, breakout sessions and networking. [Register here.](https://pytorchecosystemday.fbreg.com/)
19+
20+
## [The PyTorch open source process](http://blog.ezyang.com/2021/01/pytorch-open-source-process/){:target="_blank"}
21+
22+
[@ezyang](https://github.com/ezyang){:target="_blank"} describes the challenges of maintaining a PyTorch-scale project, and the current open source processes (triaging and CI oncalls, RFC discussions) to help PyTorch operate effectively.
23+
24+
## Developers forum
25+
26+
We launched https://dev-discuss.pytorch.org/ a low-traffic high-signal forum for long-form discussions about PyTorch internals.
27+
28+
## [RFC] [Dataloader v2](https://github.com/pytorch/pytorch/issues/49440)
29+
30+
[@VitalyFedyunin](https://github.com/VitalyFedyunin) proposes redesigning the DataLoader to support lazy loading, sharding, pipelining data operations (including async) and shuffling & sampling in a more modular way. Join the discussion [here](https://github.com/pytorch/pytorch/issues/49440).
31+
32+
## [RFC] [Improving TorchScript Usability](https://dev-discuss.pytorch.org/t/torchscript-usability/55)
33+
34+
In a series of 3 blog posts ([1](https://lernapparat.de/scripttorch/), [2](https://lernapparat.de/jit-python-graphops/), [3](https://lernapparat.de/jit-fallback/)) [@t-vi](https://github.com/t-vi) explores ideas to improve the user and developer experience of TorchScript.
35+
36+
## [RFC] [CSR and DM storage formats for sparse tensors](https://github.com/pytorch/rfcs/pull/13)
37+
38+
[@pearu](https://github.com/pearu) proposes an [RFC](https://github.com/pytorch/rfcs/pull/13) to make linear algebra operations more performant by
39+
40+
- implementing the CSR storage format, where a 2D array is defined by shape and 1D tensors for compressed row indices, column indices, and values (PyTorch 1D tensor)
41+
- introducing the Dimension Mapping storage format that generalizes a 2D CSR to multidimensional arrays using a bijective mapping between the storage and wrapper elements.
42+
43+
## [RFC] [Forward Mode AD](https://github.com/pytorch/rfcs/pull/11)
44+
45+
[@albanD](https://github.com/albanD) proposes an [RFC](https://github.com/pytorch/rfcs/pull/11) to implement forward mode autodiff using Tensor-based [dual numbers](https://blog.demofox.org/2014/12/30/dual-numbers-automatic-differentiation/), where the real part represents the tensor and the *dual* part stores the forward gradient of the tensor. The core of the feature has landed [(PR)](https://github.com/pytorch/pytorch/pull/49734), with more formulas in WIP. Complete forward mode AD is expected to land by July 2021.

_sass/contributors.scss

+17-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,14 @@
124124
}
125125
}
126126

127-
.contributor-sidebar {
127+
.past-issue-container {
128+
display: flex;
129+
@media (max-width: 767px) {
130+
display: block;
131+
}
132+
}
133+
134+
.past-issue-container .get-started-cloud-sidebar{
128135
.sticky-top {
129136
position: sticky;
130137
top: 15%;
@@ -181,6 +188,14 @@
181188

182189
#get-started-contributor-sidebar-list {
183190
padding-left: 0;
191+
.active {
192+
color: $orange;
193+
}
194+
li {
195+
a {
196+
color: #8c8c8c;
197+
}
198+
}
184199
}
185200

186201
.two-column-row {
@@ -289,4 +304,4 @@
289304

290305
@include animated_border_hover_state;
291306
}
292-
}
307+
}

0 commit comments

Comments
 (0)