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

Benchmarks: Code Revision - Revise CMake files for microbenchmarks. #196

Merged
merged 5 commits into from
Sep 14, 2021

Conversation

guoshzhao
Copy link
Contributor

@guoshzhao guoshzhao commented Sep 10, 2021

Description

  1. Do enable_language(CUDA) before using CMAKE_CUDA_COMPILER_VERSION
  2. use cmake --install to install target which will call cmake -P cmake_install.cmake instead of make Makefile to avoid issue make: *** No rule to make target 'install'. Stop.

@guoshzhao guoshzhao added bug Something isn't working benchmarks SuperBench Benchmarks labels Sep 10, 2021
@guoshzhao guoshzhao requested a review from a team as a code owner September 10, 2021 10:10
@codecov
Copy link

codecov bot commented Sep 10, 2021

Codecov Report

Merging #196 (54fc854) into release/0.3 (7656f32) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           release/0.3     #196   +/-   ##
============================================
  Coverage        88.49%   88.49%           
============================================
  Files               57       57           
  Lines             2808     2808           
============================================
  Hits              2485     2485           
  Misses             323      323           
Flag Coverage Δ
cpu-unit-test 74.13% <ø> (ø)
cuda-unit-test 88.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7656f32...54fc854. Read the comment docs.

Copy link
Contributor

@yukirora yukirora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to move 'include(../cuda_common.cmake)' into if(CUDAToolkit_FOUND) in cmake of cublas_function and cudnn_function

Copy link
Contributor

@yukirora yukirora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please replace 'cmake --build $BUILD_ROOT --target install' in build.sh to

    cmake --build $BUILD_ROOT
    cmake --install $BUILD_ROOT

it can address cublas/cudnn build error on rocm environment

@cp5555 cp5555 enabled auto-merge (squash) September 14, 2021 13:09
@cp5555 cp5555 merged commit ff48738 into release/0.3 Sep 14, 2021
@cp5555 cp5555 deleted the guzhao/fix_build branch September 14, 2021 13:17
abuccts pushed a commit that referenced this pull request Sep 24, 2021
…196)

**Description**
1. Do `enable_language(CUDA)` before using `CMAKE_CUDA_COMPILER_VERSION`
2. use `cmake --install` to install target which will call `cmake -P cmake_install.cmake` instead of `make Makefile` to avoid issue `make: *** No rule to make target 'install'.  Stop.`
cp5555 pushed a commit that referenced this pull request Sep 26, 2021
**Description**

Cherry-pick  bug fixes from v0.3.0 to main.

**Major Revisions**
* Docs - Upgrade version and release note (#209)
* Benchmarks: Build Pipeline - Update rccl-test git submodule to dc1ad48 (#210)
* Benchmarks: Update - Update benchmarks in configuration file (#208)
* CI/CD - Update GitHub Action VM (#211)
* Benchmarks: Fix Bug - Fix wrong parameters for gpu-sm-copy-bw in configuration examples (#203)
* CI/CD - Fix bug in build image for push event (#205)
* Benchmark: Fix Bug - fix error message of communication-computation-overlap (#204)
* Tool: Fix bug - Fix function naming issue in system info  (#200)
* CI/CD - Push images in GitHub Action (#202)
* Bug - Fix torch.distributed command for single node (#201)
* CLI - Integrate system info for node (#199)
* Benchmarks: Code Revision - Revise CMake files for microbenchmarks. (#196)
* CI/CD - Add ROCm image build in GitHub Actions (#194)
* Bug: Fix bug - fix bug of hipBusBandwidth build (#193)
* Benchmarks: Build Pipeline - Restore rocblas build logic (#197)
* Bug: Fix Bug - Add barrier before 'destroy_process_group' in model benchmarks (#198)
* Bug - Revise 'docker run' in sb deploy (#195)
* Bug - Fix Bug : fix bug of error param operations to operation in rccl-bw of hpe config (#190)

Co-authored-by: Yuting Jiang <v-yujiang@microsoft.com>
Co-authored-by: Guoshuai Zhao <guzhao@microsoft.com>
Co-authored-by: Ziyue Yang <ziyyang@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks SuperBench Benchmarks bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants