mirror of
https://github.com/storytold/FineTrainers-Conditioning.git
synced 2026-10-22 08:05:17 +00:00
Full finetuning memory requirements (#9)
* update * update * model cpu offloading
This commit is contained in:
@@ -140,6 +140,12 @@ def _get_validation_args(parser: argparse.ArgumentParser) -> None:
|
||||
default=False,
|
||||
help="Whether or not to use the default cosine dynamic guidance schedule when sampling validation videos.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--enable_model_cpu_offloading",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Whether or not to enable model-wise CPU offloading when performing validation/testing to save memory."
|
||||
)
|
||||
|
||||
|
||||
def _get_training_args(parser: argparse.ArgumentParser) -> None:
|
||||
|
||||
Reference in New Issue
Block a user