Unverified Commit 07872996 authored by pythongosssss's avatar pythongosssss Committed by GitHub
Browse files

Hide Triton warning on Windows

Triton doesnt work on Windows so hide the error
parent 56498d50
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment