Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 30, 2024
1 parent af16073 commit a7778da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/model_clay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,6 @@ def forward(self, x):
encoded_unmasked_patches, unmasked_indices, masked_indices
)


return pixels

def shared_step(self, batch, batch_idx):
Expand Down
2 changes: 1 addition & 1 deletion trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def cli_main(
seed_everything_default=42,
trainer_defaults: dict = {
"accelerator": "auto",
"devices": "auto",#"strategy": "ddp_find_unused_parameters_true",
"devices": "auto", # "strategy": "ddp_find_unused_parameters_true",
"precision": "bf16-mixed",
"log_every_n_steps": 1,
"max_epochs": 10000,
Expand Down

0 comments on commit a7778da

Please sign in to comment.