Skip to content
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

fix bundle .so of other python version #6034

Merged
merged 4 commits into from
Aug 25, 2021

Conversation

jackalcooper
Copy link
Collaborator

No description provided.

@oneflow-ci-bot oneflow-ci-bot self-requested a review August 25, 2021 05:16
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 140.4ms (= 7019.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.7ms (= 6434.7ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.09 (= 140.4ms / 128.7ms)

PyTorch resnet50 time: 84.2ms (= 4208.5ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.9ms (= 3744.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 84.2ms / 74.9ms)

PyTorch resnet50 time: 56.9ms (= 2843.4ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 49.1ms (= 2454.3ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.16 (= 56.9ms / 49.1ms)

PyTorch resnet50 time: 51.5ms (= 2577.2ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 42.4ms (= 2120.6ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.22 (= 51.5ms / 42.4ms)

PyTorch resnet50 time: 41.0ms (= 2047.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 39.8ms (= 1987.9ms / 50, input_shape=[1, 3, 224, 224], backward is enabled)
Relative speed: 1.03 (= 41.0ms / 39.8ms)

@jackalcooper
Copy link
Collaborator Author

Note:从 log 看,so 被移除

2021-08-25T05:30:06.7930768Z + git clean -nXd -e '!oneflow/include' -e '!oneflow/include/**'
2021-08-25T05:30:06.8039338Z Would remove build/
2021-08-25T05:30:06.8040226Z Would remove oneflow.egg-info/
2021-08-25T05:30:06.8040850Z + cd -
2021-08-25T05:30:06.8041269Z Would remove oneflow/__pycache__/
2021-08-25T05:30:06.8042118Z Would remove oneflow/_oneflow_internal.cpython-36m-x86_64-linux-gnu.so
2021-08-25T05:30:06.8042805Z Would remove oneflow/core
2021-08-25T05:30:06.8043292Z Would remove oneflow/version.py

@oneflow-ci-bot oneflow-ci-bot removed their request for review August 25, 2021 06:24
@oneflow-ci-bot oneflow-ci-bot merged commit 2acfd5f into master Aug 25, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the clean_dir_exclude_include_ branch August 25, 2021 06:26
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.

3 participants