Skip to content

Commit e5c0587

Browse files
committed
fixup 3.8
1 parent bcf34bf commit e5c0587

File tree

1 file changed

+5
-3
lines changed
  • .github/triage/jax_toolbox_triage

1 file changed

+5
-3
lines changed

.github/triage/jax_toolbox_triage/main.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55
import logging
66
import time
7-
from typing import Tuple
7+
import typing
88

99
from .args import parse_args
1010
from .docker import DockerContainer
@@ -54,7 +54,7 @@ def add_summary_record(section, record, scalar=False):
5454
with open(summary_filename, "w") as ofile:
5555
json.dump(data, ofile)
5656

57-
def get_commit(container: DockerContainer, repo: str) -> Tuple[str, str]:
57+
def get_commit(container: DockerContainer, repo: str) -> typing.Tuple[str, str]:
5858
"""
5959
Get the commit of the given repository that was used in the given nightly container
6060
@@ -167,7 +167,9 @@ def commits(start, end, dir):
167167
assert end_jax_commit == jax_commits[-1][0]
168168
assert end_xla_commit == xla_commits[-1][0]
169169

170-
def build_and_test(jax_commit: str, xla_commit: str) -> tuple[bool, str, str]:
170+
def build_and_test(
171+
jax_commit: str, xla_commit: str
172+
) -> typing.Tuple[bool, str, str]:
171173
"""
172174
The main body of the bisection loop. Update the JAX/XLA commits, build XLA and
173175
jaxlib, and run the test command. Throws on error when checking out or

0 commit comments

Comments
 (0)