Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FX][1/2] Make docstrings pretty when rendered #48738

Closed
wants to merge 9 commits into from

Conversation

jamesr66a
Copy link
Collaborator

@jamesr66a jamesr66a commented Dec 2, 2020

Stack from ghstack:

This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the Node and Tracer classes, but cutting this PR now.

Differential Revision: D25280867

jamesr66a pushed a commit that referenced this pull request Dec 2, 2020
ghstack-source-id: 8e92ce5211ea2c709a06679188a06cbb9ef65746
Pull Request resolved: #48738
@dr-ci
Copy link

dr-ci bot commented Dec 2, 2020

💊 CI failures summary and remediations

As of commit a782908 (more details on the Dr. CI page):


  • 1/2 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)
  • 1/2 broken upstream at merge base 251398a since Dec 04

🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet:


ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 37 times.

This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Rendered: [fx docs.pdf](https://github.com/pytorch/pytorch/files/5631885/fx.docs.pdf)


Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
jamesr66a pushed a commit that referenced this pull request Dec 3, 2020
ghstack-source-id: b5dd38772175ea35a42bc16fdc386a6bddd7b9e9
Pull Request resolved: #48738
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Rendered: [fx docs.pdf](https://github.com/pytorch/pytorch/files/5631885/fx.docs.pdf)


Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
jamesr66a pushed a commit that referenced this pull request Dec 3, 2020
ghstack-source-id: ed63675e1df90a7b70c276a3c9f8582011c22c15
Pull Request resolved: #48738
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Rendered: [fx docs.pdf](https://github.com/pytorch/pytorch/files/5631885/fx.docs.pdf)


Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Rendered: [fx docs.pdf](https://github.com/pytorch/pytorch/files/5631885/fx.docs.pdf)


Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
jamesr66a pushed a commit that referenced this pull request Dec 4, 2020
ghstack-source-id: a199e04befa9e69b2b939817fe64e39ee9e9e747
Pull Request resolved: #48738
James Reed added 2 commits December 4, 2020 13:02
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
@codecov
Copy link

codecov bot commented Dec 5, 2020

Codecov Report

Merging #48738 (1646d40) into gh/jamesr66a/326/base (251398a) will increase coverage by 47.74%.
The diff coverage is 84.21%.

@@                    Coverage Diff                     @@
##           gh/jamesr66a/326/base   #48738       +/-   ##
==========================================================
+ Coverage                  32.93%   80.68%   +47.74%     
==========================================================
  Files                        492     1866     +1374     
  Lines                      66523   201431   +134908     
==========================================================
+ Hits                       21912   162520   +140608     
+ Misses                     44611    38911     -5700     

This adds an FX page to the docs and fixes up a bunch of the docstrings to conform to the RST/sphinx style.

Still need to do this to the `Node` and `Tracer` classes, but cutting this PR now.

Differential Revision: [D25280867](https://our.internmc.facebook.com/intern/diff/D25280867)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

@jamesr66a merged this pull request in ae9f39e.

@facebook-github-bot facebook-github-bot deleted the gh/jamesr66a/326/head branch December 9, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants