mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-10 06:54:17 +00:00
#
This commit is contained in:
@@ -1004,8 +1004,7 @@ class Flux(nn.Module):
|
||||
if self.blocks_to_swap is None or self.blocks_to_swap == 0:
|
||||
return
|
||||
self.offloader_double.prepare_block_devices_before_forward(self.double_blocks)
|
||||
self.offloader_single.prepare_block_devices_before_forward(self.single_blocks)
|
||||
|
||||
self.offloader_single.prepare_block_devices_before_forward(self.single_blocks)
|
||||
def forward(
|
||||
self,
|
||||
img: Tensor,
|
||||
|
||||
Reference in New Issue
Block a user