diff --git a/invokeai/app/invocations/constants.py b/invokeai/app/invocations/constants.py index e97275e4fd8..314890a0f8f 100644 --- a/invokeai/app/invocations/constants.py +++ b/invokeai/app/invocations/constants.py @@ -1,7 +1,5 @@ from typing import Literal -from invokeai.backend.util.devices import TorchDevice - LATENT_SCALE_FACTOR = 8 """ HACK: Many nodes are currently hard-coded to use a fixed latent scale factor of 8. This is fragile, and will need to @@ -12,5 +10,3 @@ IMAGE_MODES = Literal["L", "RGB", "RGBA", "CMYK", "YCbCr", "LAB", "HSV", "I", "F"] """A literal type for PIL image modes supported by Invoke""" - -DEFAULT_PRECISION = TorchDevice.choose_torch_dtype()