-
Notifications
You must be signed in to change notification settings - Fork 656
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
Control Graph / Session / Env's python c++ object destruction #5845
Merged
Merged
Changes from 19 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
64ec102
ref count del of session and env
strint 38206e3
Merge branch 'master' into fea/destruct_session_and_graph
strint 834cc77
auto format by CI
oneflow-ci-bot 40e13c1
merge master
strint 6093d85
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint c2e1452
add test
strint 4a9b1bb
pass graph in global test
strint ba191c9
Merge branch 'master' of https://github.com/Oneflow-Inc/oneflow into …
strint 7ace8ee
Merge branch 'master' into fea/destruct_session_and_graph
strint b9af0b7
auto format by CI
oneflow-ci-bot 061badd
rm cuda
strint 17f5cc3
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint ba84109
rm debug lof
strint 93b7698
rm debug info
strint d41bdcd
Merge branch 'master' into fea/destruct_session_and_graph
strint 9322958
move graph del sync from c to python
strint 86cdff9
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint b39de50
rm log
strint bd1fa84
auto format by CI
oneflow-ci-bot f3517da
refine test to pass ci
strint 711fa24
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint cfe2975
Merge branch 'master' of https://github.com/Oneflow-Inc/oneflow into …
strint 802bac6
fix env sync call
strint b7dd0a3
auto format by CI
oneflow-ci-bot 3a20855
deal with graph destruction when graph not compiled
strint 03be911
Merge branch 'master' of https://github.com/Oneflow-Inc/oneflow into …
strint 381c29f
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint cb79eb7
deal with not compiled graph destruction
strint f017c2b
print log
strint 94f6f35
deal with single client sync
strint 142b9c2
Merge branch 'master' into fea/destruct_session_and_graph
strint dcafd9c
auto format by CI
oneflow-ci-bot f5ed490
rm py object ref
strint 411ddbf
Merge branch 'fea/destruct_session_and_graph' of https://github.com/O…
strint 7dd0209
rm python obj ref count
strint 15316b5
add log of env
strint 7c063f0
Merge branch 'master' of https://github.com/Oneflow-Inc/oneflow into …
strint af9e2af
address comment
strint 52db422
Merge branch 'master' into fea/destruct_session_and_graph
strint ea05697
auto format by CI
oneflow-ci-bot 543a4f9
Merge branch 'master' into fea/destruct_session_and_graph
oneflow-ci-bot File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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 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 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.
这个 gil 锁是必须要加的么
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.
试了下,现在不必要了,已经去掉