Update LTX-Video/ltx_video/pipelines/pipeline_ltx_video.py
Browse files
LTX-Video/ltx_video/pipelines/pipeline_ltx_video.py
CHANGED
|
@@ -13,7 +13,7 @@ from diffusers.image_processor import VaeImageProcessor
|
|
| 13 |
from diffusers.models import AutoencoderKL
|
| 14 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline, ImagePipelineOutput
|
| 15 |
from diffusers.schedulers import DPMSolverMultistepScheduler
|
| 16 |
-
from diffusers.utils import deprecate, logging
|
| 17 |
from diffusers.utils.torch_utils import randn_tensor
|
| 18 |
from einops import rearrange
|
| 19 |
from transformers import (
|
|
@@ -362,7 +362,7 @@ class LTXVideoPipeline(DiffusionPipeline):
|
|
| 362 |
|
| 363 |
if "mask_feature" in kwargs:
|
| 364 |
deprecation_message = "The use of `mask_feature` is deprecated. It is no longer used in any computation and that doesn't affect the end results. It will be removed in a future version."
|
| 365 |
-
deprecate("mask_feature", "1.0.0", deprecation_message, standard_warn=False)
|
| 366 |
|
| 367 |
if device is None:
|
| 368 |
device = self._execution_device
|
|
@@ -908,7 +908,7 @@ class LTXVideoPipeline(DiffusionPipeline):
|
|
| 908 |
|
| 909 |
if "mask_feature" in kwargs:
|
| 910 |
deprecation_message = "The use of `mask_feature` is deprecated. It is no longer used in any computation and that doesn't affect the end results. It will be removed in a future version."
|
| 911 |
-
deprecate("mask_feature", "1.0.0", deprecation_message, standard_warn=False)
|
| 912 |
|
| 913 |
is_video = kwargs.get("is_video", False)
|
| 914 |
self.check_inputs(
|
|
|
|
| 13 |
from diffusers.models import AutoencoderKL
|
| 14 |
from diffusers.pipelines.pipeline_utils import DiffusionPipeline, ImagePipelineOutput
|
| 15 |
from diffusers.schedulers import DPMSolverMultistepScheduler
|
| 16 |
+
#from diffusers.utils import deprecate, logging
|
| 17 |
from diffusers.utils.torch_utils import randn_tensor
|
| 18 |
from einops import rearrange
|
| 19 |
from transformers import (
|
|
|
|
| 362 |
|
| 363 |
if "mask_feature" in kwargs:
|
| 364 |
deprecation_message = "The use of `mask_feature` is deprecated. It is no longer used in any computation and that doesn't affect the end results. It will be removed in a future version."
|
| 365 |
+
#deprecate("mask_feature", "1.0.0", deprecation_message, standard_warn=False)
|
| 366 |
|
| 367 |
if device is None:
|
| 368 |
device = self._execution_device
|
|
|
|
| 908 |
|
| 909 |
if "mask_feature" in kwargs:
|
| 910 |
deprecation_message = "The use of `mask_feature` is deprecated. It is no longer used in any computation and that doesn't affect the end results. It will be removed in a future version."
|
| 911 |
+
#deprecate("mask_feature", "1.0.0", deprecation_message, standard_warn=False)
|
| 912 |
|
| 913 |
is_video = kwargs.get("is_video", False)
|
| 914 |
self.check_inputs(
|