Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e173eda

Browse filesBrowse files
surlystackpytorchmergebot
authored andcommitted
Update_internal.py to remove unnecessary help message
1 parent 80f6058 commit e173eda
Copy full SHA for e173eda

File tree

Expand file treeCollapse file tree

1 file changed

+1
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-7
lines changed

‎torch/_logging/_internal.py

Copy file name to clipboardExpand all lines: torch/_logging/_internal.py
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -644,13 +644,7 @@ def pad_to(s, length=30):
644644
printed_artifacts = log_registry.artifact_names
645645
else:
646646
printed_artifacts = log_registry.visible_artifacts
647-
648-
# Ensure graph_code_verbose is always listed with a description
649-
if verbose and "graph_code_verbose" not in printed_artifacts:
650-
printed_artifacts = set(printed_artifacts)
651-
printed_artifacts.add("graph_code_verbose")
652-
log_registry.artifact_descriptions["graph_code_verbose"] = "Verbose FX pass logs for graph code."
653-
647+
654648
if verbose:
655649
heading = "All registered names"
656650
else:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.