Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion physicsnemo/models/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def _save_process(module, args, metadata, mod_prefix="") -> None:
with tempfile.NamedTemporaryFile(suffix=".zip", delete=False) as tmp:
tmp_path = tmp.name

with zipfile.ZipFile(tmp_path, "w", zipfile.ZIP_DEFLATED) as archive:
with zipfile.ZipFile(tmp_path, "w", zipfile.ZIP_STORED) as archive:
# Save model state dict
state_dict_buffer = io.BytesIO()
torch.save(self.state_dict(), state_dict_buffer)
Expand Down