mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-18 01:30:02 +00:00
Merge branch 'dev/xy/align_dtype_using_mixed_precision' of github.com:saibit-tech/sd-scripts into dev/xy/align_dtype_using_mixed_precision
This commit is contained in:
@@ -1005,7 +1005,7 @@ class Flux(nn.Module):
|
|||||||
return
|
return
|
||||||
self.offloader_double.prepare_block_devices_before_forward(self.double_blocks)
|
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(
|
def forward(
|
||||||
self,
|
self,
|
||||||
img: Tensor,
|
img: Tensor,
|
||||||
|
|||||||
Reference in New Issue
Block a user