forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 7
[CUDA graphs] [JIT] Capture-safe RNG in nvfuser #593
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
Merged
jjsjann123
merged 31 commits into
csarofeen:20_12_3_devel
from
mcarilli:graphable_rng_jit_for_csarofeen
Mar 25, 2021
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
d892f7a
nvfuser diffs
823ad0e
Copying in Philox utility definitions
dbbd9a8
give PhiloxCudaState and unpack their own files for nvfuser codegen
6fd3407
try with cuh
7db88ae
forgot executor_utils.cpp
3e58cd0
CMakeLists.txt
82cf408
cargo culting other resource files
2dbbf60
presumably in-kernel usages should look at local namespace?
778a866
CMAKE_CURRENT_SOURCE_DIR
9bae448
fix path
a297eb1
namespaces in raw headers
76f5809
final change
8477146
Struct for seed and offset. Can't put the logic in getters in Philox…
fd0d07e
Comment why no pragma once in raw headers
31f1c78
Remove CUDAGeneratorImpl.h from codegen.cpp and remove ULongArg
8584a92
forgot to remove push ULongArg
efb56b5
Resolving conflict
48d61d8
should have accepted TORCH_CUDA_CPP_API for conflicting diff
ed813dc
Merge remote-tracking branch 'csarofeen/20_12_3_devel' into graphable…
18ad987
Removing eager mode changes
170c26e
Merge remote-tracking branch 'csarofeen/20_12_3_devel' into graphable…
5c3e4e4
Return to original in-kernel api
8699704
Merge remote-tracking branch 'csarofeen/20_12_3_devel' into graphable…
daee448
Test passes, but i don't see fusions in profile
e7345d7
Warmup calls and remove for loop in script??
280b694
Manually unpack philox_args to avoid std::stuff in at::cuda::philox::…
fac66c6
Full test passes!
1333182
Clean up test
fe4f221
remove nvtx
e881d65
Merge remote-tracking branch 'csarofeen/20_12_3_devel' into HEAD
jjsjann123 a934e19
clang-format
jjsjann123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
class Philox { | ||
public: | ||
__device__ Philox( | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this line removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no reason, it was random whitespace at the top of the file.