Skip to content

Commit

Permalink
Reduce number cpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Schesch committed May 9, 2024
1 parent b34f003 commit 7a480e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ clean-local:
check-merges-reproducibility:
@echo "Running replay_merge for each idx in parallel using GNU Parallel..."
@set -e; \
tail -n +2 $(CSV_RESULTS) | awk -F, '{print $$1}' | parallel -j 75% python3 src/python/replay_merge.py --merges_csv $(CSV_RESULTS) -delete_workdir --idx {}
tail -n +2 $(CSV_RESULTS) | awk -F, '{print $$1}' | parallel -j 50% python3 src/python/replay_merge.py --merges_csv $(CSV_RESULTS) -delete_workdir --idx {}

protect-repos:
find repos -mindepth 1 -type d -exec chmod a-w {} +
Expand Down
1 change: 0 additions & 1 deletion src/python/replay_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from loguru import logger

logger.add("replay_merge.log", mode="a")
logger.add(sys.stdout, colorize=True)


def store_artifacts(result_df: pd.DataFrame) -> None:
Expand Down

0 comments on commit 7a480e1

Please sign in to comment.