Skip to content

Commit

Permalink
continue to fix Benchmark CI issue #968 (#979)
Browse files Browse the repository at this point in the history
# Pull Request

## What problem does this PR solve?

Issue Number: Fixed #968

## Possible side effects?

- Performance:

- Backward compatibility:
  • Loading branch information
w-gc authored Feb 17, 2025
1 parent ab4dbad commit 57b6cf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .circleci/benchmark-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ jobs:
mv spu .spu
# TODO: run all stax_nn models with different optimizers
docker run --rm --mount type=bind,source="$(pwd)",target=/home/admin/dev/ --network nn-benchmark secretflow/ubuntu-base-ci:latest \
"python3 -m pip install -U pip && \
"python3 -m pip install --upgrade pip && \
python3 -m pip install spu && \
cd /home/admin/dev/ && \
python3 -m pip install -r requirements-dev.txt && \
python3 -m pip install -r requirements.txt && \
python3 -m pip install scikit-learn tensorflow keras tensorflow_datasets && \
python3 -m pip install protobuf==5.27.3 && \
export PYTHONPATH="${PWD}:$PYTHONPATH" && \
bash .circleci/run-nn.sh" | tee benchmark_results.log
- run:
Expand Down
2 changes: 1 addition & 1 deletion examples/python/ml/stax_nn/stax_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from keras.datasets import cifar10
from sklearn.metrics import accuracy_score

import examples.python.ml.stax_nn.models as models
import models
import spu.utils.distributed as ppd

parser = argparse.ArgumentParser(description='distributed driver.')
Expand Down

0 comments on commit 57b6cf8

Please # to comment.