-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[PTen] Add variable transform to/from ptenTensor and add cast kernel #36916
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
MingMingShangTian
merged 63 commits into
PaddlePaddle:develop
from
MingMingShangTian:cast_kernel
Nov 22, 2021
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
0ee0d15
add cast kernel
MingMingShangTian 1ae3fe2
add cast cuda kernel
MingMingShangTian dc81e06
Merge branch 'develop' into cast_kernel
MingMingShangTian 7cd7966
add cast kernel
MingMingShangTian a244a0f
merge develop branch
MingMingShangTian 0eaf913
make cast kernel output dtype undefined
MingMingShangTian dc9b42a
Merge branch 'develop' into cast_kernel
MingMingShangTian 83415da
get cast dtype from vardesc
MingMingShangTian 62cfb21
merge develop branch
MingMingShangTian b6c3c05
move cast to manipulation and add test case
MingMingShangTian 17913da
add castinfershape
MingMingShangTian 6fbd94d
avoid reinitilaze variable
MingMingShangTian 70d4069
InitializeVariable support datatype
MingMingShangTian c434610
merge develop branch
MingMingShangTian a5c234e
merge develop branch
MingMingShangTian 821b6e0
fix merge bug
MingMingShangTian 4538134
revert modify initializeVariable
MingMingShangTian bbc83c4
revert modify on InitializeVariable
MingMingShangTian 1feb022
revert modify on InitializeVariable
MingMingShangTian 6d55883
mutable support reset dtype
MingMingShangTian 7eea4dd
enable make pten tensor from variable when def_arg.type is undefined
MingMingShangTian 51dc272
fix build pten ctx start_idx error
MingMingShangTian a927e6f
copy pten out tensor to variable
MingMingShangTian f893438
merge develop branch
MingMingShangTian 9ba67db
merge develop branch
MingMingShangTian d8ce4c3
fix non pten kernel cast failed
chenwhql dce29b1
add reset allocation place for remake tensor
chenwhql b567179
Merge pull request #1 from chenwhql/tianyu_cast_kernel
MingMingShangTian 4b70d76
fix inplace realloc error
chenwhql 38a4e46
Merge pull request #2 from chenwhql/tianyu_cast_kernel
MingMingShangTian dedd03e
add mutable on pten kernles and remove unused cast files
MingMingShangTian ca9a284
rename function names
MingMingShangTian 620960b
fix output type error
MingMingShangTian f4d6cc6
fix conflict with develop branch
MingMingShangTian acd5649
fix conflict with develop branch
MingMingShangTian a12a3a1
set data type to variable with pten's dtype
MingMingShangTian e22707e
merge develop branch
MingMingShangTian 6adacbe
fix test_cast_api type mismatch
MingMingShangTian 9276daa
densorTensro mutable_data support 0 bytes value
MingMingShangTian 4427386
merge branch develop
MingMingShangTian dcaa367
fix the inplace bug of reshape kernel
MingMingShangTian 0f6dd13
fix pten.backend != variable.place when moving storage, palce mismatc…
MingMingShangTian a07cda0
Merge branch 'develop' into cast_kernel
MingMingShangTian 90b05d9
fix conflict with develop branch
MingMingShangTian b71b964
Fix bug of paddle::experimental::MovesStorage
YuanRisheng 8633603
fix ReMakePtenDenseTensor place mismatch bug
MingMingShangTian 3410498
Revert "fix ReMakePtenDenseTensor place mismatch bug"
MingMingShangTian 6199455
fix ReMakePtenDenseTensor place mismatch bug
MingMingShangTian c469ffd
reverts the set_lod interface, test=develop
Shixiaowei02 6d712d0
Merge branch 'xiaowei fix code' into cast_kernel
MingMingShangTian 539ce20
Merge branch 'develop' into cast_kernel
MingMingShangTian 30e057a
modify by the review options
MingMingShangTian 8ca880b
modify error message
MingMingShangTian 55f7cb6
add & for const input arguments
MingMingShangTian d8873ff
add reference in params
YuanRisheng 7860e78
elementwise_sub add mutable_data
MingMingShangTian 9df1dc4
fix ResetHolderWithType check size bug
MingMingShangTian 37a805d
Merge branch 'develop' into cast_kernel
MingMingShangTian 9a49c51
add dependence pten_tensor to test_cast_api object
MingMingShangTian 9dbfbee
merge develop branch to fix conflict
MingMingShangTian 2a27ce3
remove unused code to pass ci coverage
MingMingShangTian 68aa002
merge pr:37293 Fix bug of paddle::experimental::MovesStorageOD
MingMingShangTian a112c6d
Merge branch 'develop' into cast_kernel
MingMingShangTian 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
Oops, something went wrong.
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.
如果是无用的注释,建议在下个PR移除
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.
好的