8000 open source engine_layer_visualize.py by jerryzh168 · Pull Request #66301 · pytorch/pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

open source engine_layer_visualize.py #66301

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 1 commit into from

Conversation

jerryzh168
Copy link
Contributor

Test Plan: testinprod

Differential Revision: D31495086

@pytorch-probot
8000 Copy link
pytorch-probot bot commented Oct 8, 2021
CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/jerryzh168/pytorch/blob/b9f3d09da42caa392c1245df66f84bc843a9cb28/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/default

Workflows Labels (bold enabled) Status
Triggered Workflows
linux-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/xla ✅ triggered
linux-vulkan-bionic-py3.6-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/vulkan ✅ triggered
linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-clang7-asan ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/sanitizers ✅ triggered
linux-xenial-py3.6-clang7-onnx ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/onnx ✅ triggered
linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
linux-xenial-py3.6-gcc7-bazel-test ciflow/all, ciflow/bazel, ciflow/cpu, ciflow/default, ciflow/linux ✅ triggered
win-vs2019-cpu-py3 ciflow/all, ciflow/cpu, ciflow/default, ciflow/win ✅ triggered
win-vs2019-cuda11.3-py3 ciflow/all, ciflow/cuda, ciflow/default, ciflow/win ✅ triggered
Skipped Workflows
libtorch-linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
libtorch-linux-xenial-cuda11.3-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux 🚫 skipped
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
linux-xenial-cuda10.2-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow 🚫 skipped
parallelnative-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped
periodic-libtorch-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled, ciflow/slow, ciflow/slow-gradcheck 🚫 skipped
periodic-linux-xenial-cuda11.1-py3.6-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped
puretorch-linux-xenial-py3.6-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux 🚫 skipped

You can add a comment to the PR and tag @pytorchbot with the following commands:
# ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun

# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow

For more information, please take a look at the CI Flow Wiki.

@facebook-github-bot
Copy link
Contributor
facebook-github-bot commented Oct 8, 2021

🔗 Helpful links

💊 CI failures summary and remediations

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


  • 16/16 failures introduced in this PR

16 failures not recognized by patterns:

Job Step Action
GitHub Actions Lint / mypy Run mypy 🔁 rerun
CircleCI pytorch_ios_12_5_1_arm64_custom_build Unknown 🔁 rerun
CircleCI docker-pytorch-linux-xenial-py3-clang5-asan Unknown 🔁 rerun
CircleCI docker-pytorch-linux-xenial-py3.6-gcc7 Unknown 🔁 rerun
CircleCI docker-pytorch-linux-bionic-py3.6-clang9 Unknown 🔁 rerun
CircleCI pytorch_ios_12_5_1_arm64_full_jit_build Unknown 🔁 rerun
CircleCI pytorch_ios_12_5_1_arm64_metal_build Unknown 🔁 rerun
CircleCI docker-pytorch-linux-bionic-rocm4.1-py3.6 Unknown 🔁 rerun
CircleCI docker-pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7 Unknown 🔁 rerun
CircleCI pytorch_ios_12_5_1_arm64_coreml_build Unknown 🔁 rerun
CircleCI docker-pytorch-linux-bionic-rocm4.2-py3.6 Unknown 🔁 rerun
CircleCI pytorch_ios_12_5_1_arm64_build Unknown 🔁 rerun
CircleCI binary_linux_libtorch_3_7m_cpu_gcc5_4_cxx11-abi_shared-with-deps_build Unknown 🔁 rerun
CircleCI docker-pytorch-linux-xenial-py3.6-gcc5.4 Unknown 🔁 rerun
CircleCI docker-pytorch-linux-bionic-rocm4.3.1-py3.6 Unknown 🔁 rerun
CircleCI docker-pytorch-linux-xenial-py3-clang5-android-ndk-r19c Unknown 🔁 rerun

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.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31495086

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31495086

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31495086

Summary: Pull Request resolved: pytorch#66301

Test Plan: testinprod

Reviewed By: 842974287

Differential Revision: D31495086

fbshipit-source-id: 057fee973e996a6c2ad4d9eaa3fe5ae9f463f8df
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31495086

@mruberry
Copy link
Collaborator

Unlanding as this appears to have broken the Lint/mypy job. Relevant snippet:

torch/fx/experimental/fx2trt/tools/engine_layer_visualize.py:69:13: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")  [assignment]
torch/fx/experimental/fx2trt/tools/engine_layer_visualize.py:133:13: error: Incompatible types in assignment (expression has type "List[str]", variable has type "str")  [assignment]
torch/fx/experimental/fx2trt/tools/engine_layer_visualize.py:136:19: error: Incompatible types in assignment (expression has type "None", variable has type "Dict[str, str]")  [assignment]
torch/fx/experimental/fx2trt/
8000
tools/engine_layer_visualize.py:144:5: error: Need type annotation for 'reformat_layers' (hint: "reformat_layers: Dict[<type>, <type>] = ...")  [var-annotated]
torch/fx/experimental/fx2trt/tools/engine_layer_visualize.py:145:5: error: Need type annotation for 'tactic_names' (hint: "tactic_names: Dict[<type>, <type>] = ...")  [var-annotated]
torch/fx/experimental/fx2trt/tools/engine_layer_visualize.py:189:5: error: Need type annotation for 'dot_graphs' (hint: "dot_graphs: List[<type>] = ...")  [var-annotated]
Found 6 errors in 1 file (checked 1506 source files)
+ STATUS=fail
Please fix the above mypy warnings.
+ '[' -n fail ']'
+ echo 'Please fix the above mypy warnings.'
+ false
Error: Process completed with exit code 1.

see https://github.com/pytorch/pytorch/runs/3847509868

@mruberry mruberry reopened this Oct 10, 2021
@suo suo mentioned this pull request Oct 10, 2021
@jerryzh168
Copy link
Contributor Author

relanded in #66431

@jerryzh168 jerryzh168 closed this Oct 12, 2021
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
0