forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 7
Test rand
in a fusion with zero tensor input
#1932
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
Merged
Changes from all commits
Commits
Show all changes
150 commits
Select commit
Hold shift + click to select a range
ef1360e
Added api for query kernel argument
jjsjann123 d4acec1
updating kernel arg
jjsjann123 d7b6d16
adding size() in kernel arg
jjsjann123 d3e1707
adding getPointer in TensorArgAbstract
jjsjann123 1e4f9f5
SchedulerRuntimeInfo to take KernelArgumentHolder
jjsjann123 9242048
fixing build issues
jjsjann123 4c01ba7
missing ;
jjsjann123 b094b5d
fixing more compiler errors
jjsjann123 e8ea2e4
remove unwanted changes; adding const qualifier to arg()
jjsjann123 49fdffe
fixing return for const func arg()
jjsjann123 8e51482
overloading arg() for constness correctness
jjsjann123 91359bd
multiple definition error
jjsjann123 d4ebb04
exposing kernel argument holder for test access
jjsjann123 21a8323
moving index mode computation to KernelArgumentHolder
jjsjann123 e962fa6
fixing name for function; adding const for getIndexMode()
jjsjann123 7412fd1
fixing const for static function
jjsjann123 2fc2606
switching scheduling from ArrayRef<at::Tensor> to KernelArgumentHolder
jjsjann123 0d2d1a0
fixing compile issues
jjsjann123 b4b3c6e
fixing more renames
jjsjann123 9135a52
Converting PrecomputedIntegersBase::FusionPrecomputedIntegers to use
jjsjann123 850ca93
fixing more KernelArgumentHolder in tests
jjsjann123 1b9a6b5
refactor device_index & index_mode to KernelArgumentHolder
jjsjann123 d3674f5
missing type
jjsjann123 5d40c18
switch KernelArgumentHolder creation in benchmakrs
jjsjann123 d99dde5
fixing return types
jjsjann123 f7ceabd
removing duplicated definition
jjsjann123 f4740e1
fixing pushing inputs to KernelArgumentHolder
jjsjann123 a1144a0
fixing args construction with permuted tensor
jjsjann123 0f899ab
updating push to duplicate entries in KernelArgumentHolder
jjsjann123 e1d2a9a
fixing string name in macro
jjsjann123 fa0525f
fixing return type in macro
jjsjann123 320bea9
fixing make_unique with derived
jjsjann123 5b01066
removing entries in RuntimeWorkSpace
jjsjann123 d3e9984
prototyping isCompiled query
jjsjann123 156dce7
fixing build issue
jjsjann123 5800c01
fixing typo
jjsjann123 68d534e
missing braces
jjsjann123 64ad30a
Merge remote-tracking branch 'origin/devel' into jiej_wip
jjsjann123 9c6ce2f
fixing permutation in the old code path
jjsjann123 9436104
probably broken: initial commit for compilation API
jjsjann123 60facbd
fixing compiler errors
jjsjann123 b74bc68
fixing build
jjsjann123 7dabbf4
fixing build
jjsjann123 8b0cc3c
fixing build
jjsjann123 3173c19
fixing build
jjsjann123 54477ce
fixing build
jjsjann123 0e34b78
fixing build
jjsjann123 e327773
debug print
jjsjann123 7adccec
debug print
jjsjann123 3673e38
updating KernelArgumentHolder update for segmented fusion
jjsjann123 4e84338
updating KernelArgumentHolder debugPrint
jjsjann123 c20422e
updating KernelArgumentHolder debugPrint const iterator
jjsjann123 52d60dd
updating KernelArgumentHolder debugPrint accessor
jjsjann123 e3316df
updating KernelArgumentHolder debugPrint rename print
jjsjann123 d44cc06
debug test
jjsjann123 1f45c09
shrink test size
jjsjann123 4f15d51
with new AIP
jjsjann123 fba2c72
add compute launch param in infer outputs
jjsjann123 ea51ad9
fixing header
jjsjann123 5e2e159
fixing empty function
jjsjann123 824dfd9
fixing empty function
jjsjann123 30bf361
removing dumb assert
jjsjann123 25f4ada
async compilation in cpp example
jjsjann123 d2838dc
capture this in lambda
jjsjann123 ea8f51d
fix mutex double lock
jjsjann123 401a64b
debug print
jjsjann123 98730c0
typo
jjsjann123 146e51f
debug print
jjsjann123 cd246d5
try to move captures in generalized lambda
jjsjann123 bad15e8
fixing move
jjsjann123 cd4b689
fixing lambda capture again
jjsjann123 56783aa
init list order warning/error
jjsjann123 243582c
compileAsync by copy
jjsjann123 0de1e40
compileAsync by copy
jjsjann123 d0ffec9
mutable lambda
jjsjann123 5bc9883
removing lambda capture of unique_lock
jjsjann123 bc7db01
lambda capture of unique_lock
jjsjann123 0138b76
lambda capture of unique_lock
jjsjann123 30e750e
fixing mutex release
jjsjann123 50f8799
remove print; add back while loop query compilation
jjsjann123 15233c2
update
jjsjann123 4092de8
update
jjsjann123 72fe6e0
remove debug print
jjsjann123 0ce0750
remove debug print
jjsjann123 effc6a0
further refactor use of pytorch values to KernelArgumentHolder in run…
jjsjann123 ee6fc44
fix removing type
jjsjann123 367bcdc
fixing various build issue
jjsjann123 dd177c5
more build issues
jjsjann123 687f294
build issues
jjsjann123 3c720b3
build issues
jjsjann123 11afe76
build issues
jjsjann123 b4aa6b6
build issues
jjsjann123 307bd15
build issues
jjsjann123 d9df56a
fix test for updated API
jjsjann123 ba5ee82
fix test for updated API
jjsjann123 6a663be
debug print
jjsjann123 7db08f4
debug print
jjsjann123 774a24b
fixing output puhs in runFusion
jjsjann123 7505db0
fixing output wiring in FusionKernelRuntime::runWithInput
jjsjann123 5f40eae
fixing output wiring in FusionKernelRuntime::runWithInput
jjsjann123 7cc751b
debug print
jjsjann123 16afaaa
remove empty tensor allocation for alias
jjsjann123 644e5a2
few more prints
jjsjann123 bb18cfc
try to fix
jjsjann123 6e4c760
try to fix
jjsjann123 5d7998d
update default device on kernel argument holder
jjsjann123 571c3d6
debug print for device
jjsjann123 b6849b3
default device/index for empty inputs
jjsjann123 5076aee
fix return of kernel argument holder
jjsjann123 b49db18
fix runtime output mapping with aliased outputs
jjsjann123 d94a1d8
fix typo
jjsjann123 0a9860b
refactor to keep aliased outputs in runFusion and added a reference o…
jjsjann123 c074324
update executor to include aliased outputs
jjsjann123 c8f8657
fixing build
jjsjann123 cd34a2e
enabling vectorized check
jjsjann123 ef25798
fixing build
jjsjann123 5fe3910
fixing build
jjsjann123 1a1cfd8
fixing header signature
jjsjann123 b07feeb
fixing tensor type check for binding fusion/kernel inputs
jjsjann123 a115456
fixing tensor type check and skip binding for cpu tensor
jjsjann123 b8be76b
remove prints
jjsjann123 6b97539
Merge remote-tracking branch 'origin/devel' into jiej_wip
jjsjann123 a47e5a1
fixing conflict resolution
jjsjann123 26eab71
fixing conflict resolution attempt 2
jjsjann123 93bde13
code cleaning
jjsjann123 f66a76f
clang-format
jjsjann123 8343073
removing prints
jjsjann123 073b22a
adding validate kernel inputs
jjsjann123 ba6ac91
fixing build
jjsjann123 8e32779
fixing build
jjsjann123 f2a925a
Merge remote-tracking branch 'origin/devel' into async_compilation
jjsjann123 4596bdd
code cleaning with comments
jjsjann123 adbdef3
build issues
jjsjann123 524c7e6
avoid async failure on input check
jjsjann123 92c2265
rename tests
jjsjann123 8b591ea
Merge remote-tracking branch 'origin/devel' into HEAD
jjsjann123 f3bc13a
address review comments
jjsjann123 9710da7
fixing build
jjsjann123 a7c1bf5
fixing build
jjsjann123 ad0ccbf
typo
jjsjann123 08f7d3b
Merge remote-tracking branch 'origin/devel' into HEAD
jjsjann123 309d12c
clangformat
jjsjann123 9f8bc95
more clean up from review comments
jjsjann123 26fafe6
lintrunner
jjsjann123 58f1daf
fixing build
jjsjann123 8bc1110
Add support for zero-input fusions
zasdfgbnm 6d09cf7
Merge branch 'async_compilation' of github.com:csarofeen/pytorch into…
zasdfgbnm e8e9fe2
lintrunner
jjsjann123 1a01ea2
Merge branch 'async_compilation' of github.com:csarofeen/pytorch into…
zasdfgbnm 37986c8
Merge branch 'devel' of github.com:csarofeen/pytorch into standalone-…
zasdfgbnm 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
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.
Modified this test to use the nullary rand