Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move test_result_analyzer.py to the test directory. #6130

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .circleci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ function run_torch_xla_python_tests() {
# echo "Running MNIST Test"
# python test/test_train_mp_mnist_amp.py --fake_data --num_epochs=1
fi
elif [[ "$RUN_XLA_OP_TESTS1" == "xla_op1" ]]; then
# Benchmark tests.
# Only run on CPU, for xla_op1.
echo "Running Benchmark tests."
./benchmarks/test/run_tests.sh
fi
fi
popd
Expand Down
12 changes: 0 additions & 12 deletions benchmarks/test/run_tests.sh

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions test/benchmarks/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function run_python_tests {
python3 "$CDIR/test_experiment_runner.py"
python3 "$CDIR/test_benchmark_experiment.py"
python3 "$CDIR/test_benchmark_model.py"
python3 "$CDIR/test_result_analyzer.py"
}

function run_tests {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_dirname():
@functools.cache
def get_dataline():
import json
example_json = os.path.join(get_dirname(), "example.json")
example_json = os.path.join(get_dirname(), "output-example.json")
with open(example_json, "r") as f:
return json.load(f)

Expand Down
Loading