Skip to content

Commit ec23816

Browse files
shingjanmori360
authored andcommitted
[Easy][Dynamo][TVM] remove unnecessary prints (pytorch#142445)
This PR intends to remove the unnecessary prints in the auto-scheduler of dynamo's TVM backend. Pull Request resolved: pytorch#142445 Approved by: https://github.com/jansel
1 parent eeecc47 commit ec23816

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

torch/_dynamo/backends/tvm.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ def tvm(
6363
tasks, task_weights = auto_scheduler.extract_tasks(
6464
mod["main"], params, target
6565
)
66-
for task in tasks:
67-
print(task.compute_dag)
68-
else:
69-
print("No tasks")
7066
if len(tasks) != 0:
7167
tuner = auto_scheduler.TaskScheduler(tasks, task_weights)
7268
if not os.path.exists(log_file):

0 commit comments

Comments
 (0)