Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Relative imports to test something.

comfyanonymous19415c3ace6e
diff --git a/comfy/sd.py b/comfy/sd.py
index e19b2a35a..9864ef0af 100644
--- a/comfy/sd.py
+++ b/comfy/sd.py
@@ -4,8 +4,8 @@ import contextlib
import sd1_clip
import sd2_clip
import model_management
-from ldm.util import instantiate_from_config
-from ldm.models.autoencoder import AutoencoderKL
+from .ldm.util import instantiate_from_config
+from .ldm.models.autoencoder import AutoencoderKL
from omegaconf import OmegaConf
from .cldm import cldm
from .t2i_adapter import adapter