Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2023
1 parent 81e8a2a commit b1bbbf5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/jax_benchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,12 @@ def run_single_benchmark(
shape_str = "x".join(map(str, shape))
filename.parent.mkdir(exist_ok=True, parents=True)
subprocess.call(
(
f"taskset -c 0-{n_cpus-1}"
" benchmark-jax-dot-product"
f" --output={filename}"
f" --number={number}"
f" --repeat={repeat}"
f" --shape={shape_str}"
),
f"taskset -c 0-{n_cpus-1}"
" benchmark-jax-dot-product"
f" --output={filename}"
f" --number={number}"
f" --repeat={repeat}"
f" --shape={shape_str}",
shell=True,
)
with open(filename) as f:
Expand Down

0 comments on commit b1bbbf5

Please sign in to comment.