We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d828f91 commit 2885dcaCopy full SHA for 2885dca
torchao/__init__.py
@@ -20,6 +20,8 @@
20
except PackageNotFoundError:
21
__version__ = "unknown" # In case this logic breaks don't break the build
22
23
+logger = logging.getLogger(__name__)
24
+
25
try:
26
from pathlib import Path
27
@@ -36,7 +38,7 @@
36
38
# For more information, see https://github.com/pytorch/ao/blob/main/torchao/experimental/docs/readme.md
37
39
from torchao.experimental.op_lib import * # noqa: F403
40
except Exception as e:
- logging.debug(f"Skipping import of cpp extensions: {e}")
41
+ logger.debug(f"Skipping import of cpp extensions: {e}")
42
43
from torchao.quantization import (
44
autoquant,
0 commit comments