Spaces:
Paused
Paused
release
Browse files- HoloCine_inference_full_attention.py +1 -1
- HoloCine_inference_sparse_attention.py +1 -1
- requirements.txt +1 -0
- setup.py +1 -0
- teaser.png +2 -2
HoloCine_inference_full_attention.py
CHANGED
|
@@ -5,7 +5,7 @@ from diffsynth.pipelines.wan_video_holocine import WanVideoHoloCinePipeline, Mod
|
|
| 5 |
|
| 6 |
# ---------------------------------------------------
|
| 7 |
# Helper Functions
|
| 8 |
-
# ---------------------------------------------------
|
| 9 |
|
| 10 |
def enforce_4t_plus_1(n: int) -> int:
|
| 11 |
"""Forces an integer 'n' to the closest 4t+1 form."""
|
|
|
|
| 5 |
|
| 6 |
# ---------------------------------------------------
|
| 7 |
# Helper Functions
|
| 8 |
+
# ---------------------------------------------------
|
| 9 |
|
| 10 |
def enforce_4t_plus_1(n: int) -> int:
|
| 11 |
"""Forces an integer 'n' to the closest 4t+1 form."""
|
HoloCine_inference_sparse_attention.py
CHANGED
|
@@ -5,7 +5,7 @@ from diffsynth.pipelines.wan_video_holocine import WanVideoHoloCinePipeline, Mod
|
|
| 5 |
|
| 6 |
# ---------------------------------------------------
|
| 7 |
# Helper Functions
|
| 8 |
-
# ---------------------------------------------------
|
| 9 |
|
| 10 |
def enforce_4t_plus_1(n: int) -> int:
|
| 11 |
"""Forces an integer 'n' to the closest 4t+1 form."""
|
|
|
|
| 5 |
|
| 6 |
# ---------------------------------------------------
|
| 7 |
# Helper Functions
|
| 8 |
+
# ---------------------------------------------------
|
| 9 |
|
| 10 |
def enforce_4t_plus_1(n: int) -> int:
|
| 11 |
"""Forces an integer 'n' to the closest 4t+1 form."""
|
requirements.txt
CHANGED
|
@@ -14,3 +14,4 @@ ftfy
|
|
| 14 |
pynvml
|
| 15 |
pandas
|
| 16 |
accelerate
|
|
|
|
|
|
| 14 |
pynvml
|
| 15 |
pandas
|
| 16 |
accelerate
|
| 17 |
+
|
setup.py
CHANGED
|
@@ -2,6 +2,7 @@ import os
|
|
| 2 |
from setuptools import setup, find_packages
|
| 3 |
import pkg_resources
|
| 4 |
|
|
|
|
| 5 |
# Path to the requirements file
|
| 6 |
requirements_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
|
| 7 |
|
|
|
|
| 2 |
from setuptools import setup, find_packages
|
| 3 |
import pkg_resources
|
| 4 |
|
| 5 |
+
|
| 6 |
# Path to the requirements file
|
| 7 |
requirements_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
|
| 8 |
|
teaser.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|