Skip to content

Commit

Permalink
Merge pull request #733 from SwanHubX/fix-lightning-settings
Browse files Browse the repository at this point in the history
fix: lightning settings to public
  • Loading branch information
SAKURA-CAT authored Nov 11, 2024
2 parents 189760a + 796e77e commit 20500e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swanlab/integration/pytorch_lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ def finalize(self, status: str) -> None:
@property
def version(self) -> Optional[str]:
# don't create an experiment if we don't have one
return self.experiment.settings.run_id if self._experiment is not None else None
return self.experiment.public.run_id if self._experiment is not None else None

0 comments on commit 20500e9

Please sign in to comment.