mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Document --highvram and enable it in colab.
This commit is contained in:
parent
2326ff1263
commit
a38a30cb87
1
main.py
1
main.py
@ -29,6 +29,7 @@ if __name__ == "__main__":
|
|||||||
print("\t--dont-upcast-attention\t\tDisable upcasting of attention \n\t\t\t\t\tcan boost speed but increase the chances of black images.\n")
|
print("\t--dont-upcast-attention\t\tDisable upcasting of attention \n\t\t\t\t\tcan boost speed but increase the chances of black images.\n")
|
||||||
print("\t--use-split-cross-attention\tUse the split cross attention optimization instead of the sub-quadratic one.\n\t\t\t\t\tIgnored when xformers is used.")
|
print("\t--use-split-cross-attention\tUse the split cross attention optimization instead of the sub-quadratic one.\n\t\t\t\t\tIgnored when xformers is used.")
|
||||||
print()
|
print()
|
||||||
|
print("\t--highvram\t\t\tBy default models will be unloaded to CPU memory after being used.\n\t\t\t\t\tThis option keeps them in GPU memory.\n")
|
||||||
print("\t--normalvram\t\t\tUsed to force normal vram use if lowvram gets automatically enabled.")
|
print("\t--normalvram\t\t\tUsed to force normal vram use if lowvram gets automatically enabled.")
|
||||||
print("\t--lowvram\t\t\tSplit the unet in parts to use less vram.")
|
print("\t--lowvram\t\t\tSplit the unet in parts to use less vram.")
|
||||||
print("\t--novram\t\t\tWhen lowvram isn't enough.")
|
print("\t--novram\t\t\tWhen lowvram isn't enough.")
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"source": [
|
"source": [
|
||||||
"Run ComfyUI:"
|
"Run ComfyUI (use the fp16 model configs for more speed):"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "gggggggggg"
|
"id": "gggggggggg"
|
||||||
@ -112,7 +112,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
|
||||||
"\n",
|
"\n",
|
||||||
"!python main.py"
|
"!python main.py --highvram"
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "hhhhhhhhhh"
|
"id": "hhhhhhhhhh"
|
||||||
|
Loading…
Reference in New Issue
Block a user