1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Add ipex optimize and other enhancements for Intel GPUs based on recent memory changes.

This commit is contained in:
Simon Lui
2023-08-17 03:12:17 -07:00
committed by comfyanonymous
parent 8ee0473687
commit 2c096e4260
2 changed files with 21 additions and 5 deletions

View File

@@ -58,6 +58,8 @@ fpvae_group.add_argument("--bf16-vae", action="store_true", help="Run the VAE in
parser.add_argument("--directml", type=int, nargs="?", metavar="DIRECTML_DEVICE", const=-1, help="Use torch-directml.")
parser.add_argument("--disable-ipex-optimize", action="store_true", help="Disables ipex.optimize when loading models with Intel GPUs.")
class LatentPreviewMethod(enum.Enum):
NoPreviews = "none"
Auto = "auto"