mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
up
This commit is contained in:
@@ -432,7 +432,7 @@ def get_fsdp_kwargs_from_accelerator(accelerator) -> dict:
|
||||
|
||||
def wrap_with_fsdp(
|
||||
model: torch.nn.Module,
|
||||
device: str | torch.Device,
|
||||
device: str | torch.device,
|
||||
offload: bool = True,
|
||||
use_orig_params: bool = True,
|
||||
limit_all_gathers: bool = True,
|
||||
|
||||
Reference in New Issue
Block a user