Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre.delaunay committed Jun 17, 2024
1 parent 5ba296f commit 39e7cce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions milabench/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def augment(group, query=tuple([])):


@error_guard(None)
def _summarize(group, query):
def _summarize(group, query=tuple([])):
agg = group["data"]
gpudata = defaultdict(lambda: defaultdict(list))

Expand Down Expand Up @@ -198,7 +198,7 @@ def _summarize(group, query):
}


def make_summary(runs, query=None):
def make_summary(runs, query=tuple([])):
aggs = [agg for run in runs if (agg := aggregate(run))]
classified = _classify(aggs)
merged = {name: _merge(runs) for name, runs in classified.items()}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hrepr = "^0.4.0"
blessed = "^1.19.1"
pathspec = "^0.9.0"
cp-template = "^0.3.0"
pandas = "^1.4.2"
pandas = ">=1.4.2"
numpy = ">=1.23.0"
pynvml = "^11.4.1"
tqdm = "^4.64.1"
Expand Down
6 changes: 0 additions & 6 deletions scripts/article/run_batch_x_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,8 @@ module load cuda/12.3.2
if [ "$DRY" -eq 0 ]; then
export MILABENCH_PREPARE=1
source $SCRIPT_DIR/run_cuda.sh

#
# Activate
#
source $MILABENCH_WORDIR/env/bin/activate
fi


source $MILABENCH_WORDIR/env/bin/activate

maybe_run() {
Expand Down
5 changes: 4 additions & 1 deletion scripts/article/run_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export MILABENCH_BASE="$MILABENCH_WORDIR/results"
export MILABENCH_CONFIG="$MILABENCH_WORDIR/milabench/config/standard.yaml"
export MILABENCH_VENV="$MILABENCH_WORDIR/env"
export BENCHMARK_VENV="$MILABENCH_WORDIR/results/venv/torch"
export MILABENCH_PREPARE=0

if [ -z "${MILABENCH_PREPARE}" ]; then
export MILABENCH_PREPARE=0
fi

install_prepare() {
mkdir -p $MILABENCH_WORDIR
Expand Down

0 comments on commit 39e7cce

Please sign in to comment.