Skip to content

Commit

Permalink
remove deepfloyd if
Browse files Browse the repository at this point in the history
  • Loading branch information
ddPn08 committed Jul 7, 2023
1 parent 8c4c847 commit 5c1280e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 450 deletions.
1 change: 0 additions & 1 deletion modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

parser.add_argument("--xformers", action="store_true")
parser.add_argument("--tensorrt", action="store_true")
parser.add_argument("--deepfloyd_if", action="store_true")

cmd_opts, _ = parser.parse_known_args(
os.environ["COMMANDLINE_ARGS"].split(" ")
Expand Down
255 changes: 0 additions & 255 deletions modules/diffusion/pipelines/deepfloyd_if.py

This file was deleted.

4 changes: 1 addition & 3 deletions modules/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@

sd_models: List[DiffusersModel] = []
sd_model: Optional[DiffusersModel] = None
mode: Literal["stable-diffusion", "deepfloyd_if"] = (
"deepfloyd_if" if config.get("deepfloyd_if") else "stable-diffusion"
)
mode: Literal["stable-diffusion"] = "stable-diffusion"


def get_model(model_id: str):
Expand Down
Loading

0 comments on commit 5c1280e

Please sign in to comment.