Skip to content

Commit ae30d40

Browse files
xingyousongcopybara-github
authored andcommitted
Disable benchmarks ci for now and incorporate #1250
PiperOrigin-RevId: 776309377
1 parent 9ba22b3 commit ae30d40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
python-version: ["3.12"] # 3.x disabled b/c of 3.13 test failures w/ JAX.
19-
suffix: ["core", "benchmarks", "algorithms", "clients", "pyglove", "raytune"]
19+
suffix: ["core", "algorithms", "clients", "pyglove", "raytune"] # "benchmarks" disabled b/c of Tensorflow-protobuf conflicts.
2020
include:
2121
- suffix: "clients"
2222
python-version: "3.8"

vizier/_src/service/vizier_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def CheckTrialEarlyStoppingState(
713713
if (
714714
output_operation.status
715715
== vizier_oss_pb2.EarlyStoppingOperation.Status.ACTIVE
716-
or datetime.datetime.utcnow()
716+
or datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None)
717717
- output_operation.completion_time.ToDatetime()
718718
< self._early_stop_recycle_period
719719
):

0 commit comments

Comments
 (0)