Update LTX-Video/ltx_video/pipelines/pipeline_ltx_video.py
Browse files
LTX-Video/ltx_video/pipelines/pipeline_ltx_video.py
CHANGED
|
@@ -44,6 +44,18 @@ from ltx_video.models.autoencoders.vae_encode import (
|
|
| 44 |
normalize_latents,
|
| 45 |
)
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
| 49 |
|
|
|
|
| 44 |
normalize_latents,
|
| 45 |
)
|
| 46 |
|
| 47 |
+
import warnings
|
| 48 |
+
warnings.filterwarnings("ignore", category=UserWarning)
|
| 49 |
+
warnings.filterwarnings("ignore", category=FutureWarning)
|
| 50 |
+
warnings.filterwarnings("ignore", message=".*")
|
| 51 |
+
|
| 52 |
+
from huggingface_hub import logging
|
| 53 |
+
|
| 54 |
+
logging.set_verbosity_error()
|
| 55 |
+
logging.set_verbosity_warning()
|
| 56 |
+
logging.set_verbosity_info()
|
| 57 |
+
logging.set_verbosity_debug()
|
| 58 |
+
|
| 59 |
|
| 60 |
logger = logging.get_logger(__name__) # pylint: disable=invalid-name
|
| 61 |
|