From 3ab8ed29899ef0ee47aaeed1f3b2be942eddc2b0 Mon Sep 17 00:00:00 2001 From: limiteinductive Date: Thu, 11 Jan 2024 10:53:39 +0100 Subject: [PATCH] remove unused script field from training BaseConfig --- configs/finetune-ldm.toml | 2 -- configs/finetune-lora.toml | 2 -- configs/finetune-textual-inversion.toml | 2 -- src/refiners/training_utils/config.py | 1 - 4 files changed, 7 deletions(-) diff --git a/configs/finetune-ldm.toml b/configs/finetune-ldm.toml index 88e0ddd..22ff820 100644 --- a/configs/finetune-ldm.toml +++ b/configs/finetune-ldm.toml @@ -1,5 +1,3 @@ -script = "finetune-ldm.py" # not used for now - [wandb] mode = "offline" entity = "acme" diff --git a/configs/finetune-lora.toml b/configs/finetune-lora.toml index bbac80d..4d4409c 100644 --- a/configs/finetune-lora.toml +++ b/configs/finetune-lora.toml @@ -1,5 +1,3 @@ -script = "finetune-ldm-lora.py" # not used for now - [wandb] mode = "offline" # "online", "offline", "disabled" entity = "acme" diff --git a/configs/finetune-textual-inversion.toml b/configs/finetune-textual-inversion.toml index b45853b..b82c34c 100644 --- a/configs/finetune-textual-inversion.toml +++ b/configs/finetune-textual-inversion.toml @@ -1,5 +1,3 @@ -script = "finetune-ldm-textual_inversion.py" # not used for now - [wandb] mode = "offline" # "online", "offline", "disabled" entity = "acme" diff --git a/src/refiners/training_utils/config.py b/src/refiners/training_utils/config.py index d84750f..6b61c1a 100644 --- a/src/refiners/training_utils/config.py +++ b/src/refiners/training_utils/config.py @@ -219,7 +219,6 @@ T = TypeVar("T", bound="BaseConfig") class BaseConfig(BaseModel): - script: Path # TODO not used for now, but will be used by the cli models: dict[str, ModelConfig] wandb: WandbConfig training: TrainingConfig