Skip to content

Commit 776c7be

Browse files
committed
update
1 parent ca14223 commit 776c7be

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/ci-integrations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
strategy:
7979
fail-fast: false
8080
matrix:
81-
lightning-source: ["pypi", "github"]
81+
lightning-source: ["github"] # ["pypi", "github"] # Add once new lightning release was done
8282

8383
timeout-minutes: 30
8484
env:

tests/integrations/lightning_logger_cases.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import uuid
55
import warnings
66
from contextlib import redirect_stdout
7-
from datetime import datetime, timezone
87
from io import StringIO
98
from pathlib import Path
109
from time import sleep
@@ -24,12 +23,6 @@ def _unique_name(prefix: str) -> str:
2423
return f"{prefix}-{uuid.uuid4().hex}"
2524

2625

27-
# TODO: Remove after next lightning release
28-
def _patched_version() -> str:
29-
timestamp = datetime.now(timezone.utc).isoformat(timespec="milliseconds")
30-
return timestamp.replace(":", "-").replace("+00:00", "Z")
31-
32-
3326
def _project_and_stream_ids(logger: Any) -> tuple[str, str]:
3427
experiment = logger.experiment
3528
return experiment._teamspace.id, experiment._metrics_store.id
@@ -148,10 +141,6 @@ def run_end_to_end_smoke(logger_cls: type, *, name_prefix: str, tmpdir: Any) ->
148141
save_logs=False,
149142
checkpoint_name=checkpoint_name,
150143
)
151-
if hasattr(logger, "_version"):
152-
logger._version = _patched_version()
153-
if logger.__class__.__module__ == "lightning.pytorch.loggers.litlogger":
154-
logger._name = f"{run_id}-{_patched_version()}"
155144

156145
class LitAutoEncoder(LightningModule):
157146
def __init__(self) -> None:

0 commit comments

Comments
 (0)