Skip to content

[Profiler] Add computation for idle time#80065

Closed
davidchencsl wants to merge 4 commits intogh/davidchencsl/7/basefrom
gh/davidchencsl/7/head
Closed

[Profiler] Add computation for idle time#80065
davidchencsl wants to merge 4 commits intogh/davidchencsl/7/basefrom
gh/davidchencsl/7/head

Conversation

[ghstack-poisoned]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jun 22, 2022

🔗 Helpful links

❌ 2 New Failures

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

Expand to see more
  • 2/2 failures introduced in this PR

🕵️ 2 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages

See GitHub Actions build Lint / lintrunner (1/2)

Step: "Run lintrunner on all files" (full log | diagnosis details | 🔁 rerun)

2022-06-23T18:56:00.0574342Z ##[error]"_KinetoEvent" has no attribute "end_time_ns"
2022-06-23T18:55:59.7934386Z   pythonLocation: /opt/hostedtoolcache/Python/3.8.12/x64
2022-06-23T18:55:59.7934709Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.12/x64/lib
2022-06-23T18:55:59.7935009Z ##[endgroup]
2022-06-23T18:56:00.0565335Z ##[warning]'time' imported but unused
See https://www.flake8rules.com/rules/F401.html
2022-06-23T18:56:00.0568119Z ##[warning]continuation line unaligned for hanging indent
See https://www.flake8rules.com/rules/E131.html
2022-06-23T18:56:00.0570198Z ##[warning]'torch.autograd._ProfilerEvent' imported but unused
See https://www.flake8rules.com/rules/F401.html
2022-06-23T18:56:00.0572406Z ##[error]"_KinetoEvent" has no attribute "start_time_ns" 
2022-06-23T18:56:00.0574342Z ##[error]"_KinetoEvent" has no attribute "end_time_ns" 
2022-06-23T18:56:00.0664764Z Post job cleanup.
2022-06-23T18:56:00.0696974Z Post job cleanup.
2022-06-23T18:56:00.1847016Z [command]/usr/bin/git version
2022-06-23T18:56:00.1894835Z git version 2.36.1
2022-06-23T18:56:00.1940219Z Temporarily overriding HOME='/home/runner/actions-runner/_work/_temp/f882db7e-fc1e-4935-acf3-e9c6e1ff2b27' before making global git config changes
2022-06-23T18:56:00.1940834Z Adding repository directory to the temporary git global config as a safe directory
2022-06-23T18:56:00.1945344Z [command]/usr/bin/git config --global --add safe.directory /home/runner/actions-runner/_work/pytorch/pytorch
2022-06-23T18:56:00.1993738Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-06-23T18:56:00.2034731Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-06-23T18:56:00.2292932Z Entering 'android/libs/fbjni'

See GitHub Actions build pull / linux-focal-py3.7-clang10-onnx / test (default, 1, 2, linux.2xlarge) (2/2)

Step: "Setup SSH (Click me for login details)" (full log | diagnosis details | 🔁 rerun)

2022-06-23T19:03:12.4901712Z ##[error]Server Error
2022-06-23T19:03:02.2311531Z ##[endgroup]
2022-06-23T19:03:02.2396085Z ##[group]Run seemethere/add-github-ssh-key@v1
2022-06-23T19:03:02.2396295Z with:
2022-06-23T19:03:02.2396629Z   GITHUB_TOKEN: ***
2022-06-23T19:03:02.2396837Z   activate-with-label: false
2022-06-23T19:03:02.2397028Z   label: with-ssh
2022-06-23T19:03:02.2397215Z   remove-existing-keys: true
2022-06-23T19:03:02.2397382Z env:
2022-06-23T19:03:02.2397550Z   GIT_DEFAULT_BRANCH: master
2022-06-23T19:03:02.2397738Z ##[endgroup]
2022-06-23T19:03:12.4901712Z ##[error]Server Error
2022-06-23T19:03:12.5007800Z Prepare all required actions
2022-06-23T19:03:12.5008159Z Getting action download info
2022-06-23T19:03:12.6627829Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-06-23T19:03:12.6628044Z with:
2022-06-23T19:03:12.6628340Z   github-token: ***
2022-06-23T19:03:12.6628492Z env:
2022-06-23T19:03:12.6628751Z   GIT_DEFAULT_BRANCH: master
2022-06-23T19:03:12.6628936Z ##[endgroup]
2022-06-23T19:03:12.6652858Z ##[group]Run nick-fields/retry@71062288b76e2b6214ebde0e673ce0de1755740a
2022-06-23T19:03:12.6653080Z with:

This comment was automatically generated by Dr. CI (expand for details).

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

Click here to manually regenerate this comment.

davidchencsl added a commit that referenced this pull request Jun 22, 2022
ghstack-source-id: 9717972
Pull Request resolved: #80065
@davidchencsl davidchencsl requested a review from robieta June 22, 2022 22:41
@davidchencsl davidchencsl changed the title Add computation for idle time [Profiler] Add computation for idle time Jun 22, 2022
Test Plan:
Add test in test_profiler.py

[ghstack-poisoned]
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.

2 participants