Skip to content

Conversation

@pritamdamania87
Copy link
Contributor

@pritamdamania87 pritamdamania87 commented Nov 19, 2019

Stack from ghstack:

  1. Fix rpc docstrings
  2. Fix some links

Differential Revision: D18588231

1) Fix rpc docstrings
2) Fix some links

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

[ghstack-poisoned]
pritamdamania87 pushed a commit that referenced this pull request Nov 19, 2019
1) Fix rpc docstrings
2) Fix some links

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

ghstack-source-id: 94176354
Pull Request resolved: #30069
Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please post a snapshot of the result?

pritamdamania87 pushed a commit that referenced this pull request Nov 19, 2019
Pull Request resolved: #30069

1) Fix rpc docstrings
2) Fix some links
ghstack-source-id: 94200205

Differential Revision: [D18588231](https://our.internmc.facebook.com/intern/diff/D18588231/)
@pritamdamania87
Copy link
Contributor Author

I've uploaded screenshots although it might be easier to patch the PR locally and view it in your browser.

Screen Shot 2019-11-19 at 10 01 12 AM

Screen Shot 2019-11-19 at 10 01 18 AM

Screen Shot 2019-11-19 at 10 01 24 AM

Screen Shot 2019-11-19 at 10 01 31 AM

Screen Shot 2019-11-19 at 10 01 36 AM

Screen Shot 2019-11-19 at 10 01 42 AM

Screen Shot 2019-11-19 at 10 01 48 AM

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API change looks good to me. Thanks!

One test failure is irrelevant:

Nov 19 19:31:52 ======================================================================
Nov 19 19:31:52 FAIL: test_mnist_cuda (jit.test_models.TestModels)
Nov 19 19:31:52 ----------------------------------------------------------------------
Nov 19 19:31:52 Traceback (most recent call last):
Nov 19 19:31:52   File "/var/lib/jenkins/workspace/test/common_utils.py", line 610, in wrapper
Nov 19 19:31:52     method(*args, **kwargs)
Nov 19 19:31:52   File "/var/lib/jenkins/workspace/test/common_utils.py", line 494, in __exit__
Nov 19 19:31:52     self.name, after - before, i))
Nov 19 19:31:52   File "/var/lib/jenkins/workspace/test/common_utils.py", line 815, in assertEqual
Nov 19 19:31:52     super(TestCase, self).assertLessEqual(abs(x - y), prec, message)
Nov 19 19:31:52 AssertionError: 63488 not less than or equal to 1e-05 : jit.test_models.TestModels.test_mnist_cuda leaked 63488 bytes CUDA memory on device 0

Another test failure will disappear after a rebase:

19:26:47 ======================================================================
19:26:47 ERROR: test_rpc_return_rref (__main__.RpcTestWithFork)
19:26:47 ----------------------------------------------------------------------
19:26:47 Traceback (most recent call last):
19:26:47   File "/var/lib/jenkins/workspace/test/common_distributed.py", line 130, in wrapper
19:26:47     self._join_processes(fn)
19:26:47   File "/var/lib/jenkins/workspace/test/common_distributed.py", line 211, in _join_processes
19:26:47     self._check_return_codes(elapsed_time)
19:26:47   File "/var/lib/jenkins/workspace/test/common_distributed.py", line 230, in _check_return_codes
19:26:47     raise RuntimeError('Process {} terminated or timed out after {} seconds'.format(i, elapsed_time))
19:26:47 RuntimeError: Process 0 terminated or timed out after 300.2686879634857 seconds

BTW, I use chrome plugin to take snapshot of the entire webpage (e.g)


.. _distributed-autograd-design:

.. warning::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this because it is already mentioned in the API doc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is actually repeated two lines above (probably was repeated while merging conflicts).

pritamdamania87 pushed a commit that referenced this pull request Nov 19, 2019
Pull Request resolved: #30069

1) Fix rpc docstrings
2) Fix some links
ghstack-source-id: 94225628

Differential Revision: [D18588231](https://our.internmc.facebook.com/intern/diff/D18588231/)
pritamdamania87 pushed a commit that referenced this pull request Nov 20, 2019
Pull Request resolved: #30069

1) Fix rpc docstrings
2) Fix some links
ghstack-source-id: 94250890

Differential Revision: [D18588231](https://our.internmc.facebook.com/intern/diff/D18588231/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c06f902.

@facebook-github-bot facebook-github-bot deleted the gh/pritamdamania87/33/head branch November 23, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants