Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions backends/arm/tosa_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# JIT compiler flows.
#
import logging
import os
from typing import cast, final, List

import serializer.tosa_serializer as ts # type: ignore
Expand All @@ -34,10 +33,6 @@

# TOSA backend debug functionality
logger = logging.getLogger(__name__)
TOSA_DBG_VERBOSE = os.environ.get("TOSA_DBG_VERBOSE") == "1"
if TOSA_DBG_VERBOSE:
logging.basicConfig(level=logging.INFO)
logger.setLevel(logging.INFO)


def _get_first_delegation_tag(graph_module) -> str | None:
Expand Down
6 changes: 0 additions & 6 deletions backends/arm/tosa_partitioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# pyre-unsafe

import logging
import os
from typing import Callable, List, Optional, Sequence, Tuple

import torch
Expand All @@ -33,11 +32,6 @@


logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
TOSA_DBG_VERBOSE = os.environ.get("TOSA_DBG_VERBOSE") == "1"
if TOSA_DBG_VERBOSE:
logging.basicConfig(level=logging.INFO)
logger.setLevel(logging.INFO)


def is_quant_node(node: torch.fx.node.Node) -> bool:
Expand Down
4 changes: 0 additions & 4 deletions backends/arm/tosa_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
from torch.fx import Node

logger = logging.getLogger(__name__)
TOSA_DBG_VERBOSE = os.environ.get("TOSA_DBG_VERBOSE") == "1"
if TOSA_DBG_VERBOSE:
logging.basicConfig(level=logging.INFO)
logger.setLevel(logging.INFO)


def dbg_node(node: torch.fx.Node, graph_module: torch.fx.GraphModule):
Expand Down
Loading