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

use copy_all_files_in_dir to replace copy_files #6033

Merged
merged 3 commits into from
Aug 25, 2021
Merged

Conversation

daquexian
Copy link
Contributor

@daquexian daquexian commented Aug 25, 2021

将拷贝文件的逻辑从 “在 cmake 阶段获取文件夹里的所有文件,在 make 阶段拷贝文件” 改为 “在 make 阶段拷贝文件夹里的所有文件”

…l.py

Signed-off-by: daquexian <daquexian566@gmail.com>
Signed-off-by: daquexian <daquexian566@gmail.com>
@daquexian daquexian changed the title use copy_all_files_in_dir to replace copy_files, rm .so in build_wheel.py use copy_all_files_in_dir to replace copy_files Aug 25, 2021
@daquexian daquexian requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 03:17
@daquexian daquexian requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 04:05
Signed-off-by: daquexian <daquexian566@gmail.com>
@daquexian daquexian requested review from oneflow-ci-bot and removed request for oneflow-ci-bot August 25, 2021 04:16
@github-actions
Copy link
Contributor

Speed stats:
GPU Name: GeForce GTX 1080 

PyTorch resnet50 time: 141.7ms (= 7084.8ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 128.9ms (= 6445.1ms / 50, input_shape=[16, 3, 224, 224], backward is enabled)
Relative speed: 1.10 (= 141.7ms / 128.9ms)

PyTorch resnet50 time: 85.2ms (= 4261.8ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 74.6ms (= 3730.4ms / 50, input_shape=[8, 3, 224, 224], backward is enabled)
Relative speed: 1.14 (= 85.2ms / 74.6ms)

PyTorch resnet50 time: 56.9ms (= 2843.9ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 50.9ms (= 2544.1ms / 50, input_shape=[4, 3, 224, 224], backward is enabled)
Relative speed: 1.12 (= 56.9ms / 50.9ms)

PyTorch resnet50 time: 44.5ms (= 2227.1ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
OneFlow resnet50 time: 41.7ms (= 2085.8ms / 50, input_shape=[2, 3, 224, 224], backward is enabled)
Relative speed: 1.07 (= 44.5ms / 41.7ms)

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

@oneflow-ci-bot oneflow-ci-bot merged commit 7f8d88d into master Aug 25, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the fix_ci branch August 25, 2021 05:15
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.

4 participants