Skip to content

Commit

Permalink
Merge pull request #64 from Bluefog-Lib/optimizer_test
Browse files Browse the repository at this point in the history
Optimizer test
  • Loading branch information
Hanbin Hu committed Dec 29, 2020
2 parents e8380bb + b172a7c commit 1779321
Show file tree
Hide file tree
Showing 2 changed files with 536 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build:
python setup.py build_ext -i

test: test_torch
test_torch: test_torch_basic test_torch_ops test_torch_win_ops
test_torch: test_torch_basic test_torch_ops test_torch_win_ops test_torch_optimizer
test_tensorflow: test_tensorflow_basic test_tensorflow_ops
test_all: test_torch test_tensorflow

Expand All @@ -33,6 +33,10 @@ test_torch_ops:
test_timeline:
${MPIRUN} ${PYTEST} ./test/timeline_test.py

.PHONY: test_torch_optimizer
test_torch_optimizer:
${MPIRUN} ${PYTEST} ./test/torch_optimizer_test.py

.PHONY: test_torch_win_ops
test_torch_win_ops:
${MPIRUN} ${PYTEST} ./test/torch_win_ops_test.py
Expand Down

0 comments on commit 1779321

Please sign in to comment.