diff --git a/main.py b/main.py index c5f04aa9..f5aec442 100644 --- a/main.py +++ b/main.py @@ -7,6 +7,10 @@ import heapq import traceback import asyncio +if os.name == "nt": + import logging + logging.getLogger("xformers").addFilter(lambda record: 'A matching Triton is not available' not in record.getMessage()) + try: import aiohttp from aiohttp import web