Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update cuda.get/set_rng_state doc#14324

Closed
ssnl wants to merge 6 commits into
masterfrom
SsnL-patch-4
Closed

Update cuda.get/set_rng_state doc#14324
ssnl wants to merge 6 commits into
masterfrom
SsnL-patch-4

Conversation

@ssnl
Copy link
Copy Markdown
Collaborator

@ssnl ssnl commented Nov 22, 2018

Now that cuda.get/set_rng_state accept device objects, the default value should be an device object, and doc should mention so.

@vishwakftw
Copy link
Copy Markdown
Contributor

Maybe you could also fix #14322 as a part of this PR? :)

@soumith
Copy link
Copy Markdown
Collaborator

soumith commented Nov 23, 2018

CI is still failing

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ssnl ssnl deleted the SsnL-patch-4 branch December 28, 2018 02:32
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Now that `cuda.get/set_rng_state` accept `device` objects, the default value should be an device object, and doc should mention so.
Pull Request resolved: pytorch#14324

Reviewed By: ezyang

Differential Revision: D13528707

Pulled By: soumith

fbshipit-source-id: 32fdac467dfea6d5b96b7e2a42dc8cfd42ba11ee
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.

5 participants