Skip to content

Commit 954d4ac

Browse files
authored
Merge pull request LykosAI#1528 from NeuralFault/Comfy-miopen-envar-fix
Fix: Change COMFYUI_USE_MIOPEN to COMFYUI_ENABLE_MIOPEN
2 parents 9f842b4 + ce4b8f8 commit 954d4ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StabilityMatrix.Core/Models/Packages/ComfyUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,6 @@ private ImmutableDictionary<string, string> GetEnvVars(ImmutableDictionary<strin
872872
.SetItem("MIOPEN_FIND_MODE", "2")
873873
.SetItem("TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL", "1")
874874
.SetItem("PYTORCH_ALLOC_CONF", "max_split_size_mb:6144,garbage_collection_threshold:0.8") // greatly helps prevent GPU OOM and instability/driver timeouts/OS hard locks and decreases dependency on Tiled VAE at standard res's
875-
.SetItem("COMFYUI_USE_MIOPEN", "1"); // re-enables "cudnn" in ComfyUI as it's needed for MiOpen to function properly
875+
.SetItem("COMFYUI_ENABLE_MIOPEN", "1"); // re-enables "cudnn" in ComfyUI as it's needed for MiOpen to function properly
876876
}
877877
}

0 commit comments

Comments
 (0)