Skip to content

Commit

Permalink
Cleanup JAX/XLA directories before checking out new commits
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton committed Oct 10, 2024
1 parent e5c0587 commit 363f41c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/triage/jax_toolbox_triage/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def build_and_test(
jaxlib, and run the test command. Throws on error when checking out or
building, and returns the status of the test command.
"""
worker.check_exec(["git", "stash"], workdir=xla_dir)
worker.check_exec(["git", "stash"], workdir=jax_dir)
worker.check_exec(["git", "checkout", xla_commit], workdir=xla_dir)
worker.check_exec(["git", "checkout", jax_commit], workdir=jax_dir)
logger.info(f"Checking out XLA {xla_commit} JAX {jax_commit}")
Expand Down

0 comments on commit 363f41c

Please sign in to comment.