Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
07872996
Unverified
Commit
07872996
authored
Feb 16, 2023
by
pythongosssss
Committed by
GitHub
Feb 16, 2023
Browse files
Hide Triton warning on Windows
Triton doesnt work on Windows so hide the error
parent
56498d50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
main.py
main.py
+4
-0
No files found.
main.py
View file @
07872996
...
@@ -7,6 +7,10 @@ import heapq
...
@@ -7,6 +7,10 @@ import heapq
import
traceback
import
traceback
import
asyncio
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
:
try
:
import
aiohttp
import
aiohttp
from
aiohttp
import
web
from
aiohttp
import
web
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment