upcast.add_argument("--force-upcast-attention",action="store_true",help="Force enable attention upcasting, please report if it fixes black images.")
upcast.add_argument("--dont-upcast-attention",action="store_true",help="Disable all upcasting of attention. Should be unnecessary except for debugging.")
vram_group=parser.add_mutually_exclusive_group()
vram_group=parser.add_mutually_exclusive_group()
vram_group.add_argument("--gpu-only",action="store_true",help="Store and run everything (text encoders/CLIP models, etc... on the GPU).")
vram_group.add_argument("--gpu-only",action="store_true",help="Store and run everything (text encoders/CLIP models, etc... on the GPU).")
vram_group.add_argument("--highvram",action="store_true",help="By default models will be unloaded to CPU memory after being used. This option keeps them in GPU memory.")
vram_group.add_argument("--highvram",action="store_true",help="By default models will be unloaded to CPU memory after being used. This option keeps them in GPU memory.")