Skip to content

Commit 58fe805

Browse files
Make sure to register adversarial module with Fabric.
1 parent 85af0b5 commit 58fe805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/eir/train_utils/adversarial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def hook_add_adversarial_losses(
155155
adv_config.projection_lcl_residual_blocks
156156
),
157157
)
158-
module = module.to(device=device)
158+
module = experiment.fabric.setup_module(module)
159159
adversarial_modules[adv_config.name] = module
160160

161161
logger.debug(

0 commit comments

Comments
 (0)