Update app.py
Browse files
app.py
CHANGED
|
@@ -84,8 +84,6 @@ from ltx_pipelines.utils.media_io import decode_audio_from_file, encode_video
|
|
| 84 |
from ltx_core.loader.primitives import LoraPathStrengthAndSDOps
|
| 85 |
from ltx_core.loader.sd_ops import LTXV_LORA_COMFY_RENAMING_MAP
|
| 86 |
|
| 87 |
-
from ltx_pipelines.utils.types import OffloadMode
|
| 88 |
-
|
| 89 |
# xformers attention patch (same as the outpaint app).
|
| 90 |
from ltx_core.model.transformer import attention as _attn_mod
|
| 91 |
print(f"[ATTN] Before patch: memory_efficient_attention={_attn_mod.memory_efficient_attention}")
|
|
|
|
| 84 |
from ltx_core.loader.primitives import LoraPathStrengthAndSDOps
|
| 85 |
from ltx_core.loader.sd_ops import LTXV_LORA_COMFY_RENAMING_MAP
|
| 86 |
|
|
|
|
|
|
|
| 87 |
# xformers attention patch (same as the outpaint app).
|
| 88 |
from ltx_core.model.transformer import attention as _attn_mod
|
| 89 |
print(f"[ATTN] Before patch: memory_efficient_attention={_attn_mod.memory_efficient_attention}")
|