mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-15 01:07:03 +08:00
t# This is a combination of 2 commits.
d
This commit is contained in:
parent
b8730510db
commit
13ee23042f
53
execution.py
53
execution.py
@ -578,7 +578,58 @@ async def execute(server, dynprompt, caches, current_item, extra_data, executed,
|
||||
|
||||
if isinstance(ex, comfy.model_management.OOM_EXCEPTION):
|
||||
tips = "This error means you ran out of memory on your GPU.\n\nTIPS: If the workflow worked before you might have accidentally set the batch_size to a large number."
|
||||
logging.error("Got an OOM, unloading all loaded models.")
|
||||
logging.error(r"""OOM
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+##=.................::-===-----=++=++++======
|
||||
..:+#%%#*#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#-+=..................::-+++-----===-=+====-====
|
||||
.......:=+.:*%%%%+*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###%%%%%%%%%%%###+....................::--=-+=--------=+==:.-+====
|
||||
...............:+##::#%%%%%%%%%%%%%%%%%%%%%%%%%%%##################**::..................:-----=+-----:::+=:...-+=====-
|
||||
::.....................-*%%*#%%%%%%%%%%%%%%###%##########+-::-=*###=::...............:::::----==----::.......-++====---
|
||||
--::......................:=.-#**%%%%%##%%######*+=--==:::::::....::---:..........::..::-----+----::......:-=+===------
|
||||
+=-::..........................:-.-*%#######=..::------:.::..::::.......-=-:.......::-------+=---:::::::::=+==---------
|
||||
--==----::::......................:::*-+#+...........:-:-..:========:......:=-::::--------=*+=----::::::=+=+=======----
|
||||
-----*=::::.......................::::=:......:=++++-:::..=++::::.:-+=-.......-+---------=+==----:::::::::::...:==-----
|
||||
:------***--::...................:::+......:++*+-::..::..:::::::.......==.......:+------=*===--:::::........-+==-------
|
||||
::::----=+=------:::::...........:+......:++-:......:.....::.............--.......:=---+*==---:::::.....:-==+=---------
|
||||
..::::---==++=----::::::::::::.:=-......==-........:.......:.........::....::.......-+#*==--::::................:::::::
|
||||
:..:::::--==+*+--------:::::::-+......:-::........:.........:..........::....:........**=-::::::....................:-=
|
||||
-::::-----======++-----------==......-.:.........:..........=+++-:.......::...:........==::::..................:::=+---
|
||||
::::::::::---=======--------+=......-.:..........:..........:+=+==++.......-....:.......:+:::.................:-=------
|
||||
-:::::::::---=======+=-----+-......:.:..........:...........:+==++++++:.....-:...:.....:.:=::::::::::......=++===------
|
||||
::::::::::::::---====+*+--*=:.....:.:...........:...........:=:::---=+++:....::...::....:.:=-::::::::::::::..:=====----
|
||||
:.........::------====++*#=:.....:.::..........:..........:.:-.......:-=+=:::::-...::...::::=-::..:::::::::::::--------
|
||||
:...............:----===+*::....::.:......................:.-:..........-=+::::::..:::.::::::+-::.....:-=++++===---==-:
|
||||
-:............:::::--===+-::....:.::.....................:::=.............-+-:::::..:::::::::-+-:::..:=-::==========:::
|
||||
............:.:::::-=-====::::::..=:.........:::...::::::-.--..............:-=:::=::::::-:::::-*--:::..-==========-:::-
|
||||
............::::::-----*=-::::::::-::::::::::::::::::::::=:=.................:=---+:::::::-:::-++=::-::..:-===+=-:----=
|
||||
..:::.....:::::::::---===::::::::-::::::::::--::::::::::#:=:......:+**###**++=--=-==::::::::-::-*++--=+*====+=------==+
|
||||
::::...::::::::.::--::+==::::::::-::::::::::=:::::::-::+:=:.....:**+=:..........:-+==::::::...--=*+++=+++===----=====+#
|
||||
=::..::::::::....:::::+*--:::::::=:::::::::+:::::::=--+:+:....................=.:::=+-:::::::...:=*+++++==========++*#%
|
||||
-:.:::::::::-...::::-=+*--:::::::=:::::::-=:::-::-++=:--...............:::-#:**=-::--*+::-:::::.....==============++*#%
|
||||
:::-+:::--:+...::::--*+=--:::::::=-::::--*#**#+-++++=-...............-+:*@@@@@@@@@#:+=**=::=::::::.......-===+==+#%%%%%
|
||||
+++=-++++:*=..:::----*+-----:::::=-:::=*#=-::=-==--:................-:*@%@@@@%*%@@@%--==+#*::=-::::::-----======+#%%%%%
|
||||
+++++++++++=..::-=---**----::::::=---#+-=:::====-:..................:+%#%::#%%@#-=@@@@@%#+%+++=-=::....=====+*#%%%%%%%%
|
||||
++++++++++++.:-++---=+*---:::::::=-++--=:::+#+-:....................-#-@*..#@@@%#:-%@%==*%%*=++++++-::..:***+=-:=*###%%
|
||||
+=++++++++++:-**+--=+**-=-:::::::=+=--=---*++#-:--:.................-:=%#%@@@#**@:.+#::-%%*#==-=+++*+--:.:*+=---:.:=##%
|
||||
=++++++++++++***=++=*#+-=::::::::==---*++%@@@@@@@%=...................:%+=*@@*==%..+::::%**#=---===*+*=--.-+==--:::..=#
|
||||
=======+++*+*++**+#**=+=-:::::::-=+==*=-%@@@@@%#@@@#:..................:*--....--.:::::-#**#-::-==:**++=--:-==--:::...:
|
||||
===========++++++++*-**--::::::--=+==+*@@@*=@+..+@%#%:...................=-...-=:-:::::+***#:::-=::*+++*----::-=-:.....
|
||||
***+++++++++++++++---%=-:::::::-:+#*#%@@@+-%%+#*%@%#%=...................:::::-----::::*+**=.::-:::*#++++-=--::::::--::
|
||||
*++++++++++++++=--+**=-:::::::--=+#*+#@@#--%%%*#@@%=*+..................:::::------:::-*-=+.::::::-*+*+++=++---::::::..
|
||||
%%%%%#****+*********+-:::::-:---+++%%@@@#-:.%#=---::--..................::::::----::::=#*=.:::::::*+++*+*+=++---::::::.
|
||||
%%%%%%%%%##********=::::::-----+=+%@@%@@@=..:#+:....-.:.......:-:........::::::::----=+:..:::::--*+++++*++=====:-=:....
|
||||
%%%%%%%%%%##%%%###=:::::-----+*==-=*#%-:=#*.....=-::::::..................:::::::::==:...:::=+-*+===++=++++===+=::-=:::
|
||||
%%%%%%%%%%%####+*-:::::----*#*+=---=**%=::::------:::::::........:-==###:...:::::::::#%###*++++=--=====+++======-::-=+=
|
||||
%%%%%%%%%%%%%#=*=-:::--==***#**+=----**##:::--------:::::....--:..-**##+...........:#%%#*+#++==-:-====+-:-=======::::--
|
||||
%%%%%%%%%%%#+-+=-::::-+******#+-=--::-=**#-::------::::::.:+%%%##*****#-..........-%@%##+##=+=-:::--++=-:::.:-===::--::
|
||||
%%%%%%###*=:-=*=-::::##*****+**+=--:::..-=+=---==+::::::....:*#**+===+=.........:*%%@%#%*##*==::::++===--:::....:----::
|
||||
####**=:..:-==*==:::=#*****+*+***+--::::......:-+::::::........======-.........+%***--*#%*##*=::-**+===-::::::.....:-=-
|
||||
-........::===*==:::+*********++**+*==-::::-=*#::::::...........::::::.......=@%%%%#*%+:.*%###***+++*+----:::::::......
|
||||
.:.....::=====+#=---=*******+**+=++++*+**####%%%%*:........................=%%%%####%%%@@+.:%%*#@@##+***=--:::::.......
|
||||
:::::--=====+**+*=-----=****#+--++===++++*####%%+#%%%#+:.................+***@%%%%%##%@@@@@*..*@@%%%%#=#%%#****+-:.....
|
||||
:---=+++==+++==+++*=-----:::::=**=======++#*#%*=#%#%@%%%%%%%*+-:......-+**+++%%%%***#%@@@@@@%=.:%%%%%%%##+#********-...
|
||||
*##+++*=++*-:-==++++**+=---=+*****------=+#*%+=%#%@##%@%%%%%@#*****#*****++++#%*****##%@@%%@@@*:=@%%%%%%%#*+=*#*****+::
|
||||
##*==+=++:::---===++***++******##%#=----=**#+-###@@@####%%%%%%*********++++********##@@%###@%@#@@%#@%%%%%%%%#+*******+:
|
||||
##*===-.::::--=--=+****++****#%@@@@#++++=*#*-*##@@@@%%@#***#%@#*******++#*******####%@%%#*%##+-+-%*%@@%%%#%%%%%+******-""")
|
||||
comfy.model_management.unload_all_models()
|
||||
|
||||
error_details = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user