Skip to content

Commit

Permalink
fix: Incorrect URI Prefix Stripping in MLFlowLogger (#20365)
Browse files Browse the repository at this point in the history
  • Loading branch information
awindmann authored Nov 13, 2024
1 parent 875cfbd commit cae3335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning/pytorch/loggers/mlflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def save_dir(self) -> Optional[str]:
"""
if self._tracking_uri.startswith(LOCAL_FILE_URI_PREFIX):
return self._tracking_uri.lstrip(LOCAL_FILE_URI_PREFIX)
return self._tracking_uri[len(LOCAL_FILE_URI_PREFIX) :]
return None

@property
Expand Down

0 comments on commit cae3335

Please sign in to comment.