Skip to content

Set USE_KINETO=1 #49897

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

Closed
wants to merge 6 commits into from
Closed

Set USE_KINETO=1 #49897

wants to merge 6 commits into from

Conversation

ilia-cher
Copy link
Contributor

@ilia-cher ilia-cher commented Dec 28, 2020

Stack from ghstack:

Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: D25717102

Summary:
Resend of #49201

Test Plan:
see 49201

[ghstack-poisoned]
ilia-cher pushed a commit that referenced this pull request Dec 28, 2020
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: de13574
Pull Request resolved: #49897
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Dec 28, 2020

💊 CI failures summary and remediations

As of commit 4aeceac (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@ilia-cher
Copy link
Contributor Author

I reverted earlier 49201 because of some ddp test failures in one of the master builds, will investigate

@ilia-cher ilia-cher mentioned this pull request Dec 28, 2020
@malfet
Copy link
Contributor

malfet commented Dec 29, 2020

@ilia-cher please make sure to check that your PR does not add any direct dependencies against libcuda.so (i.e. PyTorch build with CUDA should be loadable on systems that do not have CUDA driver installed)

@ilia-cher
Copy link
Contributor Author

@ilia-cher please make sure to check that your PR does not add any direct dependencies against libcuda.so (i.e. PyTorch build with CUDA should be loadable on systems that do not have CUDA driver installed)

yes, I think we should be fine - we only compile cupti and kineto statically, and CI has non-CUDA builds as well

@ilia-cher
Copy link
Contributor Author

CI looks good (mod. two unrelated failures)

Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: [D25717102](https://our.internmc.facebook.com/intern/diff/D25717102)

[ghstack-poisoned]
ilia-cher pushed a commit that referenced this pull request Jan 20, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 492652c
Pull Request resolved: #49897
ilia-cher pushed a commit that referenced this pull request Jan 20, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 492652c
Pull Request resolved: #49897
Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: [D25717102](https://our.internmc.facebook.com/intern/diff/D25717102)

[ghstack-poisoned]
@ilia-cher ilia-cher requested a review from albanD as a code owner January 20, 2021 15:38
Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: [D25717102](https://our.internmc.facebook.com/intern/diff/D25717102)

[ghstack-poisoned]
ilia-cher pushed a commit that referenced this pull request Jan 20, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 4a7c94b
Pull Request resolved: #49897
Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: [D25717102](https://our.internmc.facebook.com/intern/diff/D25717102)

[ghstack-poisoned]
ilia-cher pushed a commit that referenced this pull request Jan 20, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 3c05d88
Pull Request resolved: #49897
ilia-cher pushed a commit that referenced this pull request Jan 20, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 3c05d88
Pull Request resolved: #49897
Summary:
Resend of #49201

Test Plan:
see 49201

Differential Revision: [D25717102](https://our.internmc.facebook.com/intern/diff/D25717102)

[ghstack-poisoned]
ilia-cher pushed a commit that referenced this pull request Jan 21, 2021
Summary:
Resend of #49201

Test Plan:
see 49201

ghstack-source-id: 9aee222
Pull Request resolved: #49897
@codecov
Copy link

codecov bot commented Jan 22, 2021

Codecov Report

Merging #49897 (4aeceac) into gh/ilia-cher/94/base (1cce4c5) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##           gh/ilia-cher/94/base   #49897      +/-   ##
========================================================
- Coverage                 81.02%   81.02%   -0.01%     
========================================================
  Files                      1916     1916              
  Lines                    209349   209349              
========================================================
- Hits                     169628   169621       -7     
- Misses                    39721    39728       +7     

@facebook-github-bot
Copy link
Contributor

@ilia-cher merged this pull request in e34992e.

@facebook-github-bot facebook-github-bot deleted the gh/ilia-cher/94/head branch January 25, 2021 15:18
message(STATUS " KINETO_LIBRARY_TYPE = ${KINETO_LIBRARY_TYPE}")
message(STATUS " CUDA_SOURCE_DIR = ${CUDA_SOURCE_DIR}")

if(EXISTS ${CUDA_SOURCE_DIR}/extras/CUPTI/lib64/libcupti_static.a)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible to use CUDA_cupti_LIBRARY found by FindCUDA here? Also, see #51026, USE_CUPTI_SO should be given preference.

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