Skip to content

Commit 363f41c

Browse files
committed
Cleanup JAX/XLA directories before checking out new commits
1 parent e5c0587 commit 363f41c

File tree

1 file changed

+2
-0
lines changed
  • .github/triage/jax_toolbox_triage

1 file changed

+2
-0
lines changed

.github/triage/jax_toolbox_triage/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ def build_and_test(
175175
jaxlib, and run the test command. Throws on error when checking out or
176176
building, and returns the status of the test command.
177177
"""
178+
worker.check_exec(["git", "stash"], workdir=xla_dir)
179+
worker.check_exec(["git", "stash"], workdir=jax_dir)
178180
worker.check_exec(["git", "checkout", xla_commit], workdir=xla_dir)
179181
worker.check_exec(["git", "checkout", jax_commit], workdir=jax_dir)
180182
logger.info(f"Checking out XLA {xla_commit} JAX {jax_commit}")

0 commit comments

Comments
 (0)