Skip to content

Commit aaeca67

Browse files
committed
Update
[ghstack-poisoned]
1 parent 5091b12 commit aaeca67

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

backends/vulkan/partitioner/vulkan_partitioner.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def is_in_local_scalar_dense_chain(self, node: torch.fx.Node) -> Tuple[bool, boo
219219

220220
def log_skip(self, node: torch.fx.Node, reason: str) -> None:
221221
if node.op == "call_function":
222-
print(
222+
logger.info(
223223
f"[Vulkan Partitioner] Due to [{reason}], skipping {node.format_node()}"
224224
)
225225

@@ -230,7 +230,6 @@ def is_node_supported(
230230
return r
231231

232232
def _is_node_supported(self, node: torch.fx.Node) -> bool:
233-
print("is_node_supported")
234233
target = node.target
235234
if node.target == torch.ops.higher_order.auto_functionalized:
236235
first_arg = node.args[0]
@@ -340,10 +339,6 @@ def partition(self, exported_program: ExportedProgram) -> PartitionResult:
340339
# subgraphs containing the nodes with the tags
341340
partition_tags = {}
342341

343-
logger.setLevel(logging.INFO)
344-
print("partition")
345-
print("set level but no logging...")
346-
347342
texture_limits: utils.ImageExtents = self.options.get(
348343
"texture_limits", utils.DEFAULT_TEXTURE_LIMITS
349344
)

0 commit comments

Comments
 (0)