mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
relax type checks
This commit is contained in:
@@ -72,7 +72,7 @@ def log_vram(txt=""):
|
||||
|
||||
|
||||
def load_thetas(
|
||||
models: Dict[str, os.PathLike | str],
|
||||
models: Dict[str, os.PathLike],
|
||||
prune: bool,
|
||||
device: torch.device,
|
||||
precision: str,
|
||||
@@ -94,7 +94,7 @@ def load_thetas(
|
||||
|
||||
|
||||
def merge_models(
|
||||
models: Dict[str, os.PathLike | str],
|
||||
models: Dict[str, os.PathLike],
|
||||
merge_mode: str,
|
||||
precision: str = "fp16",
|
||||
weights_clip: bool = False,
|
||||
|
||||
Reference in New Issue
Block a user