Merge pull request #107 from HannesStark/training-fixes

training fixes
This commit is contained in:
Tim O'Donnell
2025-12-03 21:11:01 -05:00
committed by GitHub
3 changed files with 2 additions and 2 deletions

View File

@@ -111,6 +111,7 @@ class RefoldingValidator(design.DesignValidator):
strict=False,
map_location=model.device,
predict_args=self.folding_args,
weights_only=False,
**self.folding_model_args,
)
model_module.eval()

View File

@@ -428,7 +428,6 @@ model:
num_workers: 4
pin_memory: true
return_native: true
predict_task: null
folding_checkpoint: ./training_data/boltz2_fold.ckpt

View File

@@ -140,7 +140,7 @@ class Training(Task):
print(f"Loading model from {file_path}")
model_module = type(model_module).load_from_checkpoint(
file_path, map_location="cpu", strict=False, **(model_module.hparams)
file_path, map_location="cpu", strict=False, weights_only=False, **(model_module.hparams)
)
# Create checkpoint callback