fix typos

This commit is contained in:
Kohya S
2024-08-09 23:02:51 +09:00
parent 36b2e6fc28
commit 808d2d1f48
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ MODEL_VERSION_FLUX_V1 = "flux1"
def load_flow_model(name: str, ckpt_path: str, dtype: torch.dtype, device: Union[str, torch.device]) -> flux_models.Flux:
logger.info(f"Bulding Flux model {name}")
logger.info(f"Building Flux model {name}")
with torch.device("meta"):
model = flux_models.Flux(flux_models.configs[name].params).to(dtype)