mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-28 08:57:10 +00:00
Support CogVideoX T2V (#165)
* support cog t2v. * generator. * updates * style * fixes * fix padding frames. Co-authored-by: zRzRzRzRzRzRzR <Yuxuan.Zhang2104@student.xjtlu.edu.cn> * revert changes related to generator. * refactor a lot of things. * accept revision and cache_dir. * remove unused var * refactoring fixes. * refactor * update * update --------- Co-authored-by: zRzRzRzRzRzRzR <Yuxuan.Zhang2104@student.xjtlu.edu.cn> Co-authored-by: Aryan <aryan@huggingface.co>
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
from .diffusion_utils import default_flow_shift, resolution_dependant_timestep_flow_shift
|
||||
from .diffusion_utils import (
|
||||
default_flow_shift,
|
||||
get_scheduler_alphas,
|
||||
get_scheduler_sigmas,
|
||||
prepare_loss_weights,
|
||||
prepare_sigmas,
|
||||
prepare_target,
|
||||
resolution_dependant_timestep_flow_shift,
|
||||
)
|
||||
from .file_utils import delete_files, find_files
|
||||
from .memory_utils import bytes_to_gigabytes, free_memory, get_memory_statistics, make_contiguous
|
||||
from .optimizer_utils import get_optimizer, gradient_norm, max_gradient
|
||||
|
||||
Reference in New Issue
Block a user